[PATCH net 0/5] mlxsw: Various fixes
From: Ido Schimmel <hidden>
Date: 2020-02-07 17:27:13
From: Ido Schimmel <redacted>
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(-)
--
2.24.1