mlxsw: spectrum_router: Flood unregistered multicast packets to router
authorIdo Schimmel <idosch@mellanox.com>
Tue, 18 Jul 2017 08:10:12 +0000 (10:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 18:57:32 +0000 (11:57 -0700)
commit0d284818aff7752c71f1dc5dd6ad8ee64a4adac6
treeea0296cc7d6242481e4eafae5609d91e8c486b6b
parent8d54814e5233f92bdc2e5185c5dbf4978f7c2742
mlxsw: spectrum_router: Flood unregistered multicast packets to router

Up until now we only flooded broadcast packets to the router when an L3
interface was configured on top of a bridge. However, IPv6 Neighbour
Discovery packets are trapped to the CPU inside the router and these can
be sent with a multicast address.

Flood unregistered multicast packets to the router port, so that
relevant packets could be trapped there.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c