]> Git Repo - linux.git/commit - net/bridge/br_stp.c
bridge: call netdev_sw_port_stp_update when bridge port STP status changes
authorScott Feldman <[email protected]>
Fri, 28 Nov 2014 13:34:20 +0000 (14:34 +0100)
committerDavid S. Miller <[email protected]>
Wed, 3 Dec 2014 04:01:22 +0000 (20:01 -0800)
commit38dcf357aed299186ecb090cc2f5290cc17d637d
treea5fa0ef8464099c4aad79bd67d1e23759ad8e6c4
parentaecbe01e7410ad2de022796472f531ae6941f15e
bridge: call netdev_sw_port_stp_update when bridge port STP status changes

To notify switch driver of change in STP state of bridge port, add new
.ndo op and provide switchdev wrapper func to call ndo op. Use it in bridge
code then.

Signed-off-by: Scott Feldman <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: Andy Gospodarek <[email protected]>
Acked-by: Thomas Graf <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/netdevice.h
include/net/switchdev.h
net/bridge/br_stp.c
net/switchdev/switchdev.c
This page took 0.056845 seconds and 4 git commands to generate.