net: dsa: b53: Add support for MDB
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 24 Oct 2019 19:45:07 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 20:58:20 +0000 (13:58 -0700)
commit5d65b64a3d97011796b225ce315b3ce0011551e7
tree7da9f0d1f8356d7f10dafc67224bea7c9d78f51c
parent7a9eff98a55d814e46932b67a4f3b14fe287aab9
net: dsa: b53: Add support for MDB

In preparation for supporting IGMP snooping with or without the use of
a bridge, add support within b53_common.c to program the ARL entries for
multicast operations. The key difference is that a multicast ARL entry
is comprised of a bitmask of enabled ports, instead of a port number.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@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