net: bridge: mst: Notify switchdev drivers of MST mode changes
authorTobias Waldekranz <tobias@waldekranz.com>
Wed, 16 Mar 2022 15:08:46 +0000 (16:08 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Mar 2022 23:49:57 +0000 (16:49 -0700)
commit87c167bb94ee3fd49569d4aa2038b9b8840d906f
treef492b6a5f6b63cff7c66b52cd3ceaf69ba8d5022
parent122c29486e1ff78033c45d0d31c710e7dc8945a5
net: bridge: mst: Notify switchdev drivers of MST mode changes

Trigger a switchdev event whenever the bridge's MST mode is
enabled/disabled. This allows constituent ports to either perform any
required hardware config, or refuse the change if it not supported.

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