]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a15aa93629822739ed7943cf1cc0a8f2764475e
tree7da9f0d1f8356d7f10dafc67224bea7c9d78f51c
parent9aa7ccc1d4a38df0a5e3d118e4ec9e117755abfa
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