]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35dbd53d7c2e250fe43c42193b68a21c242ea64d
treefb9de8088ce277d63ab836a2a7905e28dea2dd05
parentbb1ca20da57f2933691392e8fed7bb2ce40e02d2
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