Skip to content

mlxsw: Various fixes

Ido Schimmel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mlxsw: spectrum: Use different seeds for ECMP and LAG hashdrivers/net/ethernet/mellanox/mlxsw/spectrum.c+4 -10 replies
2/7mlxsw: spectrum_router: Refresh nexthop neighbour when it becomes deaddrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+70 -30 replies
3/7selftests: mlxsw: Test nexthop offload indicationtools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh+47 -00 replies
4/7mlxsw: spectrum_flower: Fix TOS matchingdrivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+2 -20 replies
5/7selftests: tc_flower: Add TOS matching testtools/testing/selftests/net/forwarding/tc_flower.sh+35 -10 replies
6/7mlxsw: spectrum_buffers: Reduce pool size on Spectrum-2drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c+2 -20 replies
7/7mlxsw: spectrum: Disallow prio-tagged packets when PVID is removeddrivers/net/ethernet/mellanox/mlxsw/reg.h+1 -10 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchAlex VeberJiri Pirko
1/7T-b A-b
2/7T-b A-b
3/7
4/7
5/7
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/7] mlxsw: Various fixes

From: Ido Schimmel <[email protected]>

This patchset contains various fixes for mlxsw.

Patch #1 fixes an hash polarization problem when a nexthop device is a LAG device. This is caused by the fact that the same seed is used for the LAG and ECMP hash functions.

Patch #2 fixes an issue in which the driver fails to refresh a nexthop neighbour after it becomes dead. This prevents the nexthop from ever being written to the adjacency table and used to forward traffic. Patch #3 is a test case.

Patch #4 fixes a wrong extraction of TOS value in flower offload code. Patch #5 is a test case.

Patch #6 works around a buffer issue in Spectrum-2 by reducing the default sizes of the shared buffer pools.

Patch #7 prevents prio-tagged packets from entering the switch when PVID is removed from the bridge port.

Please consider patches #2, #4 and #6 for 5.1.y

Ido Schimmel (4):
mlxsw: spectrum: Use different seeds for ECMP and LAG hash
mlxsw: spectrum_router: Refresh nexthop neighbour when it becomes dead
selftests: mlxsw: Test nexthop offload indication
mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed

Jiri Pirko (2):
mlxsw: spectrum_flower: Fix TOS matching
selftests: tc_flower: Add TOS matching test

Petr Machata (1):
mlxsw: spectrum_buffers: Reduce pool size on Spectrum-2

 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  2 +-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  5 +-
 .../mellanox/mlxsw/spectrum_buffers.c         |  4 +-
 .../ethernet/mellanox/mlxsw/spectrum_flower.c |  4 +-
 .../ethernet/mellanox/mlxsw/spectrum_router.c | 73 ++++++++++++++++++-
 .../selftests/drivers/net/mlxsw/rtnetlink.sh  | 47 ++++++++++++
 .../selftests/net/forwarding/tc_flower.sh     | 36 ++++++++-
 7 files changed, 161 insertions(+), 10 deletions(-)
Signature · 1 line
2.20.1