Message ID | 20210608124414.1664294-1-idosch@idosch.org (mailing list archive) |
---|---|
Headers | show |
Series | mlxsw: Various updates | expand |
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Tue, 8 Jun 2021 15:44:06 +0300 you wrote: > From: Ido Schimmel <idosch@nvidia.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. > > [...] Here is the summary with links: - [net-next,1/8] mlxsw: spectrum_router: Remove abort mechanism https://git.kernel.org/netdev/net-next/c/a08a61934cfa - [net-next,2/8] selftests: router_scale: Do not count failed routes https://git.kernel.org/netdev/net-next/c/00190c2b19eb - [net-next,3/8] selftests: Clean forgotten resources as part of cleanup() https://git.kernel.org/netdev/net-next/c/e67dfb8d15de - [net-next,4/8] selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV https://git.kernel.org/netdev/net-next/c/0521a262f043 - [net-next,5/8] mlxsw: reg: Extend MTMP register with new threshold field https://git.kernel.org/netdev/net-next/c/314dbb19f95b - [net-next,6/8] mlxsw: core_env: Read module temperature thresholds using MTMP register https://git.kernel.org/netdev/net-next/c/befc2048088a - [net-next,7/8] mlxsw: thermal: Add function for reading module temperature and thresholds https://git.kernel.org/netdev/net-next/c/e57977b34ab5 - [net-next,8/8] mlxsw: thermal: Read module temperature thresholds using MTMP register https://git.kernel.org/netdev/net-next/c/72a64c2fe9d8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
From: Ido Schimmel <idosch@nvidia.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(-)