[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210608124414.1664294-1-idosch@idosch.org>
Date: Tue, 8 Jun 2021 15:44:06 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, jiri@...dia.com,
petrm@...dia.com, amcohen@...dia.com, vadimp@...dia.com,
c_mykolak@...dia.com, mlxsw@...dia.com,
Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/8] mlxsw: Various updates
From: Ido Schimmel <idosch@...dia.com>
This patchset contains various updates for mlxsw. The most significant
change is the long overdue removal of the abort mechanism in the first
two patches.
Patches #1-#2 remove the route abort mechanism. This change is long
overdue and explained in detail in the commit message.
Patch #3 sets ports down in a few selftests that forgot to do so.
Discovered using a BPF tool (WIP) that monitors ASIC resources.
Patch #4 fixes an issue introduced by commit 557c4d2f780c ("selftests:
devlink_lib: add check for devlink device existence").
Patches #5-#8 modify the driver to read transceiver module's temperature
thresholds using MTMP register (when supported) instead of directly from
the module's EEPROM using MCIA register. This is both more reliable and
more efficient as now the module's temperature and thresholds are read
using one transaction instead of three.
Amit Cohen (3):
mlxsw: spectrum_router: Remove abort mechanism
selftests: router_scale: Do not count failed routes
selftests: Clean forgotten resources as part of cleanup()
Mykola Kostenok (4):
mlxsw: reg: Extend MTMP register with new threshold field
mlxsw: core_env: Read module temperature thresholds using MTMP
register
mlxsw: thermal: Add function for reading module temperature and
thresholds
mlxsw: thermal: Read module temperature thresholds using MTMP register
Petr Machata (1):
selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV
.../net/ethernet/mellanox/mlxsw/core_env.c | 13 +-
.../net/ethernet/mellanox/mlxsw/core_hwmon.c | 6 +-
.../ethernet/mellanox/mlxsw/core_thermal.c | 97 ++++++++-----
drivers/net/ethernet/mellanox/mlxsw/reg.h | 20 ++-
.../ethernet/mellanox/mlxsw/spectrum_router.c | 129 +-----------------
.../ethernet/mellanox/mlxsw/spectrum_router.h | 1 -
.../net/mlxsw/devlink_trap_l3_drops.sh | 3 +
.../net/mlxsw/devlink_trap_l3_exceptions.sh | 3 +
.../drivers/net/mlxsw/qos_dscp_bridge.sh | 2 +
.../drivers/net/mlxsw/router_scale.sh | 2 +-
.../drivers/net/netdevsim/devlink_trap.sh | 4 +-
.../selftests/drivers/net/netdevsim/fib.sh | 6 +-
.../drivers/net/netdevsim/nexthop.sh | 4 +-
.../drivers/net/netdevsim/psample.sh | 4 +-
.../selftests/net/forwarding/devlink_lib.sh | 2 +-
.../selftests/net/forwarding/pedit_dsfield.sh | 2 +
.../selftests/net/forwarding/pedit_l4port.sh | 2 +
.../net/forwarding/skbedit_priority.sh | 2 +
18 files changed, 132 insertions(+), 170 deletions(-)
--
2.31.1
Powered by blists - more mailing lists