OSDN Git Service

mlxsw: spectrum_switchdev: Flood mc when mc is disabled by user flag
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:11 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:13 +0000 (18:03 -0700)
commit9dad51bdaa4b1846bd9d5307b54dca74efa555ea
treea989b1ca4c48efa20722f5fbaf81f3168bf6dbf0
parent218a8f8a6379bfd359e58f369b7b7660cd12e865
mlxsw: spectrum_switchdev: Flood mc when mc is disabled by user flag

When multicast is disabled, flood mc packets only to port that are marked
BR_MCAST_FLOOD (instead to all).

Signed-off-by: Nogah Frankel <nogahf@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_switchdev.c