switchdev: bridge: Offload multicast disabled
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:40 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:38 +0000 (11:46 -0500)
commit147c1e9b902c25c868024260d24bb0b1dac1433d
tree0766e9ac71fd1cb5fe7a421808b3680ade60575a
parent94134bf89a4747ac370ffea614a2ba483edf0ccc
switchdev: bridge: Offload multicast disabled

Offload multicast disabled flag, for more accurate mc flood behavior:
When it is on, the mdb should be ignored.
When it is off, unregistered mc packets should be flooded to mc router
ports.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h
net/bridge/br_multicast.c