switchdev: bridge: Offload mc router ports
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:42 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:39 +0000 (11:46 -0500)
commit6d5496483f5eb7b4da2e83c7b2149a21ad412d96
treed6cbe8e45ad4687564d99584ae43fa5cb4010663
parentf12e7d95d12fa4dbe655bd038a6d38526a879deb
switchdev: bridge: Offload mc router ports

Offload the mc router ports list, whenever it is being changed.
It is done because in some cases mc packets needs to be flooded to all
the ports in this list.

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