diff options
author | Frank Wunderlich <[email protected]> | 2022-06-10 19:05:37 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-14 22:35:15 -0700 |
commit | a9c317417c27f28e10031133c6cba2441c670ebc (patch) | |
tree | d6fd3160c44059ae6ba283a25de8878c601cfe16 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e0dda311974114c283a52ebacf5e75683c07f89a (diff) |
net: dsa: mt7530: rework mt7530_hw_vlan_{add,del}
Rework vlan_add/vlan_del functions in preparation for dynamic cpu port.
Currently BIT(MT7530_CPU_PORT) is added to new_members, even though
mt7530_port_vlan_add() will be called on the CPU port too.
Let DSA core decide when to call port_vlan_add for the CPU port, rather
than doing it implicitly.
We can do autonomous forwarding in a certain VLAN, but not add br0 to that
VLAN and avoid flooding the CPU with those packets, if software knows it
doesn't need to process them.
Suggested-by: Vladimir Oltean <[email protected]>
Signed-off-by: Frank Wunderlich <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions