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
102102 filter->action.mask_mode = OCELOT_MASK_MODE_PERMIT_DENY;
103103 filter->action.port_mask = 0x0;
104104 filter->action.cpu_copy_ena = true;
105− filter->action.cpu_qu_num = OCELOT_MRP_CPUQ;
106105
107106 err = ocelot_vcap_filter_add(ocelot, filter, NULL);
108107 if (err)
include/soc/mscc/ocelot.h+0−2
@@ -105,8 +105,6 @@ · 104 unmodified lines
105105 #define REG_RESERVED_ADDR 0xffffffff
106106 #define REG_RESERVED(reg) REG(reg, REG_RESERVED_ADDR)
107107
108−#define OCELOT_MRP_CPUQ 7
109−
110108 enum ocelot_target {
111109 ANA = 1,
112110 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