diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-03-08 12:59:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-11 14:47:58 -0500 |
commit | 869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10 (patch) | |
tree | 31c59e1e25152de938722304ff781819c32fbcde /drivers/net/ethernet/rocker | |
parent | 8e2ad4113ce4671686740f808ff2795395c39eef (diff) | |
download | blackbird-obmc-linux-869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10.tar.gz blackbird-obmc-linux-869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10.zip |
mlxsw: spectrum: Check requested ageing time is valid
Commit c62987bbd8a1 ("bridge: push bridge setting ageing_time down to
switchdev") added a check for minimum and maximum ageing time, but this
breaks existing behaviour where one can set ageing time to 0 for a
non-learning bridge.
Push this check down to the driver and allow the check in the bridge
layer to be removed. Currently ageing time 0 is refused by the driver,
but we can later add support for this functionality.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/rocker')
0 files changed, 0 insertions, 0 deletions