History

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.

Vladimir Oltean committed 4 years ago

Commit 36fac351 parent c518afe2 files · +0 −3Browse files

Unified · Split

2 files
  1. drivers/net/ethernet/mscc/ocelot_mrp.c +0 −1
  2. include/soc/mscc/ocelot.h +0 −2
drivers/net/ethernet/mscc/ocelot_mrp.c+0−1
@@ -102,7 +102,6 @@ static int ocelot_mrp_copy_add_vcap(struct ocelot *ocelot, int port, int prio) · 101 unmodified lines
102 filter->action.mask_mode = OCELOT_MASK_MODE_PERMIT_DENY;102 filter->action.mask_mode = OCELOT_MASK_MODE_PERMIT_DENY;
103 filter->action.port_mask = 0x0;103 filter->action.port_mask = 0x0;
104 filter->action.cpu_copy_ena = true;104 filter->action.cpu_copy_ena = true;
105 filter->action.cpu_qu_num = OCELOT_MRP_CPUQ;
106 105
107 err = ocelot_vcap_filter_add(ocelot, filter, NULL);106 err = ocelot_vcap_filter_add(ocelot, filter, NULL);
108 if (err)107 if (err)
include/soc/mscc/ocelot.h+0−2
@@ -105,8 +105,6 @@ · 104 unmodified lines
105#define REG_RESERVED_ADDR 0xffffffff105#define REG_RESERVED_ADDR 0xffffffff
106#define REG_RESERVED(reg) REG(reg, REG_RESERVED_ADDR)106#define REG_RESERVED(reg) REG(reg, REG_RESERVED_ADDR)
107 107
108#define OCELOT_MRP_CPUQ 7
109
110enum ocelot_target {108enum ocelot_target {
111 ANA = 1,109 ANA = 1,
112 QS,110 QS,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t