Skip to content

mlxsw: Preparations for line cards support

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9mlxsw: core: Extend interfaces for cable info access with slot argumentdrivers/net/ethernet/mellanox/mlxsw/core_env.c drivers/net/ethernet/mellanox/mlxsw/core_env.h drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c +4 more+184 -1340 repliesApplied
2/9mlxsw: core: Extend port module data structures for line cardsdrivers/net/ethernet/mellanox/mlxsw/core_env.c+169 -730 repliesApplied
3/9mlxsw: core: Move port module events enablement to a separate functiondrivers/net/ethernet/mellanox/mlxsw/core_env.c+31 -80 repliesApplied
4/9mlxsw: core_hwmon: Extend internal structures to support multi hwmon objectsdrivers/net/ethernet/mellanox/mlxsw/core_hwmon.c+111 -760 repliesApplied
5/9mlxsw: core_hwmon: Introduce slot parameter in hwmon interfacesdrivers/net/ethernet/mellanox/mlxsw/core_hwmon.c+20 -100 repliesApplied
6/9mlxsw: core_thermal: Extend internal structures to support multi thermal areasdrivers/net/ethernet/mellanox/mlxsw/core_thermal.c+91 -570 repliesApplied
7/9mlxsw: core_thermal: Add line card id prefix to line card thermal zone namedrivers/net/ethernet/mellanox/mlxsw/core_thermal.c+12 -40 repliesApplied
8/9mlxsw: core_thermal: Use exact name of cooling devices for bindingdrivers/net/ethernet/mellanox/mlxsw/core_thermal.c+1 -20 repliesApplied
9/9mlxsw: core_thermal: Use common define for thermal zone name lengthdrivers/net/ethernet/mellanox/mlxsw/core_thermal.c+2 -30 repliesApplied

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchJiri Pirko
1/9
2/9
3/9
4/9R-b
5/9R-b
6/9
7/9R-b
8/9
9/9

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-next 0/9] mlxsw: Preparations for line cards support

Currently, mlxsw registers thermal zones as well as hwmon entries for objects such as transceiver modules and gearboxes. In upcoming modular systems, these objects are no longer found on the main board (i.e., slot 0), but on plug-able line cards. This patchset prepares mlxsw for such systems in terms of hwmon, thermal and cable access support.

Patches #1-#3 gradually prepare mlxsw for transceiver modules access support for line cards by splitting some of the internal structures and some APIs.

Patches #4-#5 gradually prepare mlxsw for hwmon support for line cards by splitting some of the internal structures and augmenting them with a slot index.

Patches #6-#7 do the same for thermal zones.

Patch #8 selects cooling device for binding to a thermal zone by exact name match to prevent binding to non-relevant devices.

Patch #9 replaces internal define for thermal zone name length with a common define.

Vadim Pasternak (9):
mlxsw: core: Extend interfaces for cable info access with slot
argument
mlxsw: core: Extend port module data structures for line cards
mlxsw: core: Move port module events enablement to a separate function
mlxsw: core_hwmon: Extend internal structures to support multi hwmon
objects
mlxsw: core_hwmon: Introduce slot parameter in hwmon interfaces
mlxsw: core_thermal: Extend internal structures to support multi
thermal areas
mlxsw: core_thermal: Add line card id prefix to line card thermal zone
name
mlxsw: core_thermal: Use exact name of cooling devices for binding
mlxsw: core_thermal: Use common define for thermal zone name length

 .../net/ethernet/mellanox/mlxsw/core_env.c    | 473 ++++++++++++------
 .../net/ethernet/mellanox/mlxsw/core_env.h    |  43 +-
 .../net/ethernet/mellanox/mlxsw/core_hwmon.c  | 217 ++++----
 .../ethernet/mellanox/mlxsw/core_thermal.c    | 172 ++++---
 drivers/net/ethernet/mellanox/mlxsw/minimal.c |  24 +-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  21 +-
 .../mellanox/mlxsw/spectrum_ethtool.c         |  18 +-
 7 files changed, 611 insertions(+), 357 deletions(-)
Signature · 1 line
2.33.1