]> git.karo-electronics.de Git - linux-beck.git/commit
rocker: track when FDB entry is touched.
authorScott Feldman <sfeldma@gmail.com>
Wed, 23 Sep 2015 15:39:14 +0000 (08:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Sep 2015 21:35:57 +0000 (14:35 -0700)
commita471be41f2bfe4ee3a4b38b0e5af17d0abfd3aa6
tree24601cdfae08ccbb004bb99aac32f9806c9ae08e
parent34ea90ef725405a0b431843b775fb9f4021da6ae
rocker: track when FDB entry is touched.

The entry is touched once when created, and touched again for each update.
The touched time is used to calculate FDB entry age.

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