net: bridge: mst: Notify switchdev drivers of MST state changes
authorTobias Waldekranz <tobias@waldekranz.com>
Wed, 16 Mar 2022 15:08:48 +0000 (16:08 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Mar 2022 23:49:58 +0000 (16:49 -0700)
commit7ae9147f4312903b97eae231c48571bbd95dc63f
treefb9de8088ce277d63ab836a2a7905e28dea2dd05
parent6284c723d9b9995cc27ab3c6368a9d95d67111ff
net: bridge: mst: Notify switchdev drivers of MST state changes

Generate a switchdev notification whenever an MST state changes. This
notification is keyed by the VLANs MSTI rather than the VID, since
multiple VLANs may share the same MST instance.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/switchdev.h
net/bridge/br_mst.c