mlxsw: Preparations for line cards support
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
Patches in v1 All 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | mlxsw: core: Extend interfaces for cable info access with slot argumentdrivers/ drivers/ drivers/ +4 more | +184 | 0 replies | Applied |
| 2/9 | mlxsw: core: Extend port module data structures for line cardsdrivers/ | +169 | 0 replies | Applied |
| 3/9 | mlxsw: core: Move port module events enablement to a separate functiondrivers/ | +31 | 0 replies | Applied |
| 4/9 | mlxsw: core_hwmon: Extend internal structures to support multi hwmon objectsdrivers/ | +111 | 0 replies | Applied |
| 5/9 | mlxsw: core_hwmon: Introduce slot parameter in hwmon interfacesdrivers/ | +20 | 0 replies | Applied |
| 6/9 | mlxsw: core_thermal: Extend internal structures to support multi thermal areasdrivers/ | +91 | 0 replies | Applied |
| 7/9 | mlxsw: core_thermal: Add line card id prefix to line card thermal zone namedrivers/ | +12 | 0 replies | Applied |
| 8/9 | mlxsw: core_thermal: Use exact name of cooling devices for bindingdrivers/ | +1 | 0 replies | Applied |
| 9/9 | mlxsw: core_thermal: Use common define for thermal zone name lengthdrivers/ | +2 | 0 replies | Applied |
Reviews trailers per patch
3 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Jiri Pirko |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | |
| 7/9 | R-b |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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