OSDN Git Service

mlxsw: spectrum: Improve IPv6 unregistered multicast flooding
authorArkadi Sharshevsky <arkadis@mellanox.com>
Mon, 17 Jul 2017 12:15:32 +0000 (14:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 16:19:39 +0000 (09:19 -0700)
commit9df552ef3e214e32b7a0458d3bdc430643aa553b
treeacb445a145a4261be2e6b5a0df2ca3c26a15aaec
parent588823f97df3d5bf219d8f0bfea1c23ce367b84d
mlxsw: spectrum: Improve IPv6 unregistered multicast flooding

Up until now IPv6 unregistered multicast traffic would be flooded like
broadcast, even when MLD snooping was enabled on the bridge. This was
intentional as MLD packet traps were missing, preventing the bridge
driver from programming MDB entries to the device.

Previous patch added these traps, so we can now finally flood IPv6
unregistered multicast packets to specific ports via the multicast table
instead of flooding them to all ports via the broadcast table.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
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_fid.c