mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
net: mscc: ocelot: delete OCELOT_MRP_CPUQ
MRP frames are configured to be trapped to the CPU queue 7, and this number is reflected in the extraction header. However, the information isn't used anywhere, so just leave MRP frames to go to CPU queue 0 unless needed otherwise. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c518afec28
commit
36fac35b29
2 changed files with 0 additions and 3 deletions
|
@ -102,7 +102,6 @@ static int ocelot_mrp_copy_add_vcap(struct ocelot *ocelot, int port, int prio)
|
|||
filter->action.mask_mode = OCELOT_MASK_MODE_PERMIT_DENY;
|
||||
filter->action.port_mask = 0x0;
|
||||
filter->action.cpu_copy_ena = true;
|
||||
filter->action.cpu_qu_num = OCELOT_MRP_CPUQ;
|
||||
|
||||
err = ocelot_vcap_filter_add(ocelot, filter, NULL);
|
||||
if (err)
|
||||
|
|
|
@ -105,8 +105,6 @@
|
|||
#define REG_RESERVED_ADDR 0xffffffff
|
||||
#define REG_RESERVED(reg) REG(reg, REG_RESERVED_ADDR)
|
||||
|
||||
#define OCELOT_MRP_CPUQ 7
|
||||
|
||||
enum ocelot_target {
|
||||
ANA = 1,
|
||||
QS,
|
||||
|
|
Loading…
Reference in a new issue