diff options
| author | Tobias Waldekranz <[email protected]> | 2022-03-16 16:08:49 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-17 16:49:58 -0700 |
| commit | cceac97afa090284b3ceecd93ea6b7b527116767 (patch) | |
| tree | 4e9f098f59d678bff0828c7db417d67e84cc7d7a /tools/perf/scripts/python | |
| parent | 7ae9147f4312903b97eae231c48571bbd95dc63f (diff) | |
net: bridge: mst: Add helper to map an MSTI to a VID set
br_mst_get_info answers the question: "On this bridge, which VIDs are
mapped to the given MSTI?"
This is useful in switchdev drivers, which might have to fan-out
operations, relating to an MSTI, per VLAN.
An example: When a port's MST state changes from forwarding to
blocking, a driver may choose to flush the dynamic FDB entries on that
port to get faster reconvergence of the network, but this should only
be done in the VLANs that are managed by the MSTI in question.
Signed-off-by: Tobias Waldekranz <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions