Vladimir Oltean e3c02b7c65 net: mscc: ocelot: use a consistent cookie for MRP traps
The driver uses an identifier equal to (ocelot->num_phys_ports + port)
for MRP traps installed when the system is in the role of an MRC, and an
identifier equal to (port) otherwise.

Use the same identifier in both cases as a consolidation for the various
cookie values spread throughout the driver.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-17 14:06:50 +00:00
..
2022-02-07 19:53:38 -08:00
2022-01-09 16:52:18 -08:00
2022-01-09 16:52:18 -08:00
2022-02-11 14:39:08 -08:00
2022-01-09 16:52:18 -08:00
2021-11-12 20:13:28 -08:00