diff options
author | Vladimir Oltean <[email protected]> | 2020-05-12 20:20:31 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-12 13:08:08 -0700 |
commit | cfa36b1fff422660fe7fc3a10c17a618d0371796 (patch) | |
tree | e2d2ed1d597ea566ddbfe75693dc0c2770baa528 /tools/perf/scripts/python/syscall-counts.py | |
parent | fa83e5d9183fd9bc5f94f937b069c5e15162e974 (diff) |
net: dsa: sja1105: exit sja1105_vlan_filtering when called multiple times
VLAN filtering is a global property for sja1105, and that means that we
rely on the DSA core to not call us more than once.
But we need to introduce some per-port state for the tagger, namely the
xmit_tpid, and the best place to do that is where the xmit_tpid changes,
namely in sja1105_vlan_filtering. So at the moment, exit early from the
function to avoid unnecessarily resetting the switch for each port call.
Then we'll change the xmit_tpid prior to the early exit in the next
patch.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions