]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit806de611099f80453db20b1c3f03bb8fda8ad93e
treea5fa0ef8464099c4aad79bd67d1e23759ad8e6c4
parent30760e9e55d8bf5a5a7e348f3de6280c59459251
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