net: dsa: rzn1-a5psw: add FDB support
authorClément Léger <clement.leger@bootlin.com>
Fri, 24 Jun 2022 14:39:54 +0000 (16:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2022 10:37:55 +0000 (11:37 +0100)
commit5edf246c686986e0e19fa839b5f52bc51ccb51fd
tree5c0c1c87f496bcfa9a6d69961f32b2cd1ae07ffe
parentc7243fd4a62f2f891811d3d1cd4f9e8e93acd41c
net: dsa: rzn1-a5psw: add FDB support

This commits add forwarding database support to the driver. It
implements fdb_add(), fdb_del() and fdb_dump().

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/rzn1_a5psw.c
drivers/net/dsa/rzn1_a5psw.h