diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-07-19 03:45:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-20 05:42:01 +0300 |
commit | 34a79f63bbe49c888f95e75dd759685a238556b6 (patch) | |
tree | 1ca00fd6bc27ee95e40434e2c3a6e0d5b33daf4d /mm | |
parent | 8ec61c7f7c6c75943e8c785729bd8de3440d158c (diff) | |
download | linux-34a79f63bbe49c888f95e75dd759685a238556b6.tar.xz |
net: dsa: support switchdev ageing time attr
Add a new function for DSA drivers to handle the switchdev
SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME attribute.
The ageing time is passed as milliseconds.
Also because we can have multiple logical bridges on top of a physical
switch and ageing time are switch-wide, call the driver function with
the fastest ageing time in use on the chip instead of the requested one.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions