summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/rocker/rocker.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-03-08 23:59:33 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-11 22:47:58 +0300
commit869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10 (patch)
tree31c59e1e25152de938722304ff781819c32fbcde /drivers/net/ethernet/rocker/rocker.h
parent8e2ad4113ce4671686740f808ff2795395c39eef (diff)
downloadlinux-869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10.tar.xz
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/rocker.h')
0 files changed, 0 insertions, 0 deletions