summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mscc/ocelot_vcap.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-02-16 16:30:09 +0200
committerDavid S. Miller <davem@davemloft.net>2022-02-17 14:06:51 +0000
commit2960bb14ea27e8ce48e05534eb6737de1176fe22 (patch)
tree4bc568b481ff49ea897f33ea2eda60d3d8a906e5 /drivers/net/ethernet/mscc/ocelot_vcap.c
parent85ea0daabe5abc6add440f86565b7b9f6aff5535 (diff)
net: dsa: felix: use DSA port iteration helpers
Use the helpers that avoid the quadratic complexity associated with calling dsa_to_port() indirectly: dsa_is_unused_port(), dsa_is_cpu_port(). Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_vcap.c')
0 files changed, 0 insertions, 0 deletions