diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-12-10 19:44:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-11 03:27:23 +0100 |
commit | 82dd4332aa07843f7444c55bc17fee9bd76aa0f7 (patch) | |
tree | b84e1515b58c33c76e6ea452a955e28e43da6736 /net/lapb | |
parent | net: nicvf: use new api ethtool_{get|set}_link_ksettings (diff) | |
download | linux-82dd4332aa07843f7444c55bc17fee9bd76aa0f7.tar.xz linux-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 'net/lapb')
0 files changed, 0 insertions, 0 deletions