]> git.karo-electronics.de Git - linux-beck.git/commit
rocker: add FDB cleanup timer
authorScott Feldman <sfeldma@gmail.com>
Wed, 23 Sep 2015 15:39:18 +0000 (08:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2015 21:35:58 +0000 (14:35 -0700)
commit52fe3e2d51d27c0e68b2bea29dea0b64af2c665e
tree45cd4d3e65377b630e022a9d6de0eaa28e806cb5
parente7335703e33e7787333872a31e0f4491f9d76cac
rocker: add FDB cleanup timer

Add a timer to each rocker switch to do FDB entry cleanup by ageing out
expired entries.  The timer scheduling algo is copied from the bridge
driver, for the most part, to keep the firing of the timer to a minimum.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c