net: sparx5: add support for mrouter ports
authorCasper Andersson <casper.casan@gmail.com>
Thu, 25 Aug 2022 09:28:37 +0000 (11:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Aug 2022 11:57:38 +0000 (12:57 +0100)
commit04e551d66dd8822d527c264f1f9f9056c1eb2478
tree8016fb8fdc87b46feb22a3841697b33ce48238b4
parentc8a3ea43b5cb5a7db48130a32384f7e48b148de9
net: sparx5: add support for mrouter ports

All multicast should be forwarded to mrouter ports. Mrouter ports must
therefore be part of all active multicast groups, and override flooding
from being disabled.

Signed-off-by: Casper Andersson <casper.casan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c
drivers/net/ethernet/microchip/sparx5/sparx5_vlan.c