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 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mlxsw: spectrum_router: Prevent incorrect replacement of local table routesdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+51 -10 replies
2/5selftests: mlxsw: Add test cases for local table route replacementtools/testing/selftests/drivers/net/mlxsw/fib.sh+76 -00 replies
3/5mlxsw: spectrum_router: Clear offload indication from IPv6 nexthops on abortdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+3 -00 replies
4/5mlxsw: core: Add validation of hardware device types for MGPIR registerdrivers/net/ethernet/mellanox/mlxsw/core_hwmon.c drivers/net/ethernet/mellanox/mlxsw/core_thermal.c+10 -40 replies
5/5mlxsw: spectrum_dpipe: Add missing error pathdrivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c+2 -10 replies

Reviews trailers per patch

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

PatchJiri PirkoAlex Kushnarov
1/5A-b
2/5A-b
3/5A-b T-b
4/5A-b
5/5

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/5] mlxsw: Various fixes

From: Ido Schimmel <[email protected]>

This patch set contains various fixes for the mlxsw driver.

Patch #1 fixes an issue introduced in 5.6 in which a route in the main table can replace an identical route in the local table despite the local table having an higher precedence.

Patch #2 contains a test case for the bug fixed in patch #1.

Patch #3 also fixes an issue introduced in 5.6 in which the driver failed to clear the offload indication from IPv6 nexthops upon abort.

Patch #4 fixes an issue that prevents the driver from loading on Spectrum-3 systems. The problem and solution are explained in detail in the commit message.

Patch #5 adds a missing error path. Discovered using smatch.

Ido Schimmel (4):
mlxsw: spectrum_router: Prevent incorrect replacement of local table
routes
selftests: mlxsw: Add test cases for local table route replacement
mlxsw: spectrum_router: Clear offload indication from IPv6 nexthops on
abort
mlxsw: spectrum_dpipe: Add missing error path

Vadim Pasternak (1):
mlxsw: core: Add validation of hardware device types for MGPIR
register

 .../net/ethernet/mellanox/mlxsw/core_hwmon.c  |  6 +-
 .../ethernet/mellanox/mlxsw/core_thermal.c    |  8 +-
 .../ethernet/mellanox/mlxsw/spectrum_dpipe.c  |  3 +-
 .../ethernet/mellanox/mlxsw/spectrum_router.c | 55 +++++++++++++-
 .../selftests/drivers/net/mlxsw/fib.sh        | 76 +++++++++++++++++++
 5 files changed, 142 insertions(+), 6 deletions(-)
Signature · 1 line
2.24.1