Thread (10 messages) flat view 10 messages, 2 authors, 2021-06-08
STALE1900d

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v1 current
  3. v1 [diff vs current]

[PATCH net-next 0/8] mlxsw: Various updates

From: Ido Schimmel <hidden>
Date: 2021-06-08 12:44:40

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(-)

-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help