diff options
author | Vivien Didelot <[email protected]> | 2016-07-18 20:45:38 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-07-19 19:42:01 -0700 |
commit | 34a79f63bbe49c888f95e75dd759685a238556b6 (patch) | |
tree | 1ca00fd6bc27ee95e40434e2c3a6e0d5b33daf4d /lib/mpi/mpi-bit.c | |
parent | 8ec61c7f7c6c75943e8c785729bd8de3440d158c (diff) |
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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions