Skip to content

mlxsw: Traps enhancements

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mlxsw: spectrum: Mark packets trapped in routerdrivers/net/ethernet/mellanox/mlxsw/spectrum.c+7 -70 replies
2/4mlxsw: spectrum: Trap IPv4 packets with Router Alert optiondrivers/net/ethernet/mellanox/mlxsw/spectrum.c drivers/net/ethernet/mellanox/mlxsw/trap.h+2 -00 replies
3/4mlxsw: spectrum: Add support for IPv6 MLDv1/2 trapsdrivers/net/ethernet/mellanox/mlxsw/reg.h drivers/net/ethernet/mellanox/mlxsw/spectrum.c drivers/net/ethernet/mellanox/mlxsw/trap.h+15 -00 replies
4/4mlxsw: spectrum: Improve IPv6 unregistered multicast floodingdrivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch net-next 0/4] mlxsw: Traps enhancements

From: Jiri Pirko <[email protected]>

Ido says:

The first patch makes sure the driver marks packets that were trapped in the router and might have already been flooded by the bridge, so that the bridge driver won't flood them again. This isn't critical at this time point, but will be when Neighbour Discovery traps are introduced as these are multicast packets that are trapped in the router.

The second and third patches add new traps - for MLD and Router Alert packets. The last patch takes advantage of that and floods IPv6 unregistered multicast packets only to mrouter ports instead of all ports.

Arkadi Sharshevsky (2):
mlxsw: spectrum: Add support for IPv6 MLDv1/2 traps
mlxsw: spectrum: Improve IPv6 unregistered multicast flooding

Ido Schimmel (2):
mlxsw: spectrum: Mark packets trapped in router
mlxsw: spectrum: Trap IPv4 packets with Router Alert option

 drivers/net/ethernet/mellanox/mlxsw/reg.h          |  1 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 25 ++++++++++++++++------
 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c |  2 +-
 drivers/net/ethernet/mellanox/mlxsw/trap.h         |  5 +++++
 4 files changed, 25 insertions(+), 8 deletions(-)
Signature · 1 line
2.9.3