diff options
author | Pawel Dembicki <[email protected]> | 2024-07-13 23:16:18 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-07-15 06:55:16 -0700 |
commit | 259a7061c2f14bbf5845598f69ac63cdb77d6346 (patch) | |
tree | d10707048f34caa3105018b973e4dae679877ade /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6dfaaa27633711ba52c418d578b3a13b0c8bfd8d (diff) |
net: dsa: vsc73xx: start treating the BR_LEARNING flag
This patch implements .port_pre_bridge_flags() and .port_bridge_flags(),
which are required for properly treating the BR_LEARNING flag. Also,
.port_stp_state_set() is tweaked and now disables learning for standalone
ports.
Disabling learning for standalone ports is required to avoid situations
where one port sees traffic originating from another, which could cause
packet drops.
Signed-off-by: Pawel Dembicki <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions