]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2b4422bb3eaa01c80f0ea5809e48d3988e3ae66
treea989b1ca4c48efa20722f5fbaf81f3168bf6dbf0
parent96864fc375fe5deb6b9968c0f2e3c0298f48a9b5
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