aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_stp_timer.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-12-10 13:44:27 -0500
committerDavid S. Miller <davem@davemloft.net>2016-12-10 21:27:23 -0500
commit82dd4332aa07843f7444c55bc17fee9bd76aa0f7 (patch)
treeb84e1515b58c33c76e6ea452a955e28e43da6736 /net/bridge/br_stp_timer.c
parentnet: nicvf: use new api ethtool_{get|set}_link_ksettings (diff)
downloadlinux-dev-82dd4332aa07843f7444c55bc17fee9bd76aa0f7.tar.xz
linux-dev-82dd4332aa07843f7444c55bc17fee9bd76aa0f7.zip
net: bridge: add helper to offload ageing time
The SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME switchdev attr is actually set when initializing a bridge port, and when configuring the bridge ageing time from ioctl/netlink/sysfs. Add a __set_ageing_time helper to offload the ageing time to physical switches, and add the SWITCHDEV_F_DEFER flag since it can be called under bridge lock. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions