diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-02-16 17:30:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-17 17:06:50 +0300 |
commit | e3c02b7c655cdfff240a7b8bfeff5ea06c006e12 (patch) | |
tree | 5cf064bc0afe5fae317c9cf247af531367ba2045 /include | |
parent | c8b441d2fbd0e005541c7363fd5346971b6febcb (diff) | |
download | linux-e3c02b7c655cdfff240a7b8bfeff5ea06c006e12.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions