mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 10:25:36 +07:00
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: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9c90eea310
commit
3c83654f24
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
@ -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…
Reference in New Issue
Block a user