rocker: set FDB cleanup timer according to lowest ageing time
authorIdo Schimmel <idosch@mellanox.com>
Tue, 8 Mar 2016 20:59:34 +0000 (12:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Mar 2016 19:58:58 +0000 (14:58 -0500)
commit88de1cd457e5cb664d6d437e2ea4750d089165f5
treeefaeb842d27a8662d07e854037f0aa70100e6490
parent869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10
rocker: set FDB cleanup timer according to lowest ageing time

In rocker, ageing time is a per-port attribute, so the next time the FDB
cleanup timer fires should be set according to the lowest ageing time.

This will later allow us to delete the BR_MIN_AGEING_TIME macro, which was
added to guarantee minimum ageing time in the bridge layer, thereby breaking
existing behavior.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.h
drivers/net/ethernet/rocker/rocker_main.c
drivers/net/ethernet/rocker/rocker_ofdpa.c