]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: lantiq: Add fast age function
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 May 2019 22:25:09 +0000 (00:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 May 2019 17:34:45 +0000 (10:34 -0700)
commit270978ae8e8023fa3b531c7835d3657f4997a716
tree9ccc05d6eb8ce54019a31d6766bf9c426654ebd1
parent8a8d3136f1da103cff9f32151d2369ed4af44952
net: dsa: lantiq: Add fast age function

Fast aging per port is not supported directly by the hardware, it is
only possible to configure a global aging time.

Do the fast aging by iterating over the MAC forwarding table and remove
all dynamic entries for a given port.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lantiq_gswip.c