Commit 3c83654f authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller
Browse files

net: mscc: ocelot: rename ocelot_ace.{c, h} to ocelot_vcap.{c,h}



Access Control Lists (and their respective Access Control Entries) are
specifically entries in the VCAP IS2, the security enforcement block,
according to the documentation.

Let's rename the files that deal with generic operations on the VCAP
TCAM, so that VCAP IS1 and ES0 can reuse the same code without
confusion.

Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c90eea3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ mscc_ocelot_switch_lib-y := \
	ocelot.o \
	ocelot_io.o \
	ocelot_police.o \
	ocelot_ace.o \
	ocelot_vcap.o \
	ocelot_flower.o \
	ocelot_ptp.o
obj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
 */
#include <linux/if_bridge.h>
#include "ocelot.h"
#include "ocelot_ace.h"
#include "ocelot_vcap.h"

#define TABLE_UPDATE_SLEEP_US 10
#define TABLE_UPDATE_TIMEOUT_US 100000
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
#include <net/pkt_cls.h>
#include <net/tc_act/tc_gact.h>

#include "ocelot_ace.h"
#include "ocelot_vcap.h"

static int ocelot_flower_parse_action(struct flow_cls_offload *f,
				      struct ocelot_ace_rule *ace)
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@

#include <linux/if_bridge.h>
#include "ocelot.h"
#include "ocelot_ace.h"
#include "ocelot_vcap.h"

int ocelot_setup_tc_cls_flower(struct ocelot_port_private *priv,
			       struct flow_cls_offload *f,
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@

#include <soc/mscc/ocelot_vcap.h>
#include "ocelot_police.h"
#include "ocelot_ace.h"
#include "ocelot_vcap.h"
#include "ocelot_s2.h"

#define OCELOT_POLICER_DISCARD 0x17f
Loading