]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: dsa: b53: Implement ARL add/del/dump operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 10 Jun 2016 01:23:55 +0000 (18:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:21:29 +0000 (22:21 -0700)
commit1da6df85c6fbed8f39c56eadcae7fa75a7a0c635
tree8f21c5b0f21b58b0b9ea27ffa3b8613ce6d9d9aa
parent0830c9802e33d8c94b9b2f89b3db4aae92e55bf6
net: dsa: b53: Implement ARL add/del/dump operations

Adds support for FDB add/delete/dump using the ARL read/write logic and
the ARL search logic for faster dumps. The code is made flexible enough
it could support devices with a different register layout like BCM5325
and BCM5365 which have fewer number of entries or pack values into a
single 64 bits register.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h
drivers/net/dsa/b53/b53_regs.h