bridge: call netdev_sw_port_stp_update when bridge port STP status changes
authorScott Feldman <sfeldma@gmail.com>
Fri, 28 Nov 2014 13:34:20 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
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 <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/switchdev.h
net/bridge/br_stp.c
net/switchdev/switchdev.c