Skip to content

mlxsw: Add RJ45 ports 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 2 repliesApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9mlxsw: spectrum_ethtool: Remove redundant variabledrivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c+6 -120 repliesApplied
2/9mlxsw: core_env: Do not pass number of modules as argumentdrivers/net/ethernet/mellanox/mlxsw/core_env.c+6 -90 repliesApplied
3/9mlxsw: Add netdev argument to mlxsw_env_get_module_info()drivers/net/ethernet/mellanox/mlxsw/core_env.c drivers/net/ethernet/mellanox/mlxsw/core_env.h drivers/net/ethernet/mellanox/mlxsw/minimal.c +1 more+7 -40 repliesApplied
4/9mlxsw: spectrum_ethtool: Add support for two new link modesdrivers/net/ethernet/mellanox/mlxsw/reg.h drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c+12 -02 repliesApplied
5/9mlxsw: reg: Add Port Module Type Mapping registerdrivers/net/ethernet/mellanox/mlxsw/reg.h+53 -00 repliesApplied
6/9mlxsw: core_env: Query and store port module's type during initializationdrivers/net/ethernet/mellanox/mlxsw/core_env.c+28 -00 repliesApplied
7/9mlxsw: core_env: Forbid getting module EEPROM on RJ45 portsdrivers/net/ethernet/mellanox/mlxsw/core_env.c+49 -30 repliesApplied
8/9mlxsw: core_env: Forbid power mode set and get on RJ45 portsdrivers/net/ethernet/mellanox/mlxsw/core_env.c+13 -00 repliesApplied
9/9mlxsw: core_env: Forbid module reset on RJ45 portsdrivers/net/ethernet/mellanox/mlxsw/core_env.c+6 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/9] mlxsw: Add RJ45 ports support

We are in the process of qualifying a new system that has RJ45 ports as opposed to the transceiver modules (e.g., SFP, QSFP) present on all existing systems.

This patchset adds support for these ports in mlxsw by adding a couple of missing BaseT link modes and rejecting ethtool operations that are specific to transceiver modules.

Patchset overview:

Patches #1-#3 are cleanups and preparations.

Patch #4 adds support for two new link modes.

Patches #5-#6 query and cache the port module's type (e.g., QSFP, RJ45) during initialization.

Patches #7-#9 forbid ethtool operations that are invalid on RJ45 ports.

Danielle Ratson (7):
mlxsw: Add netdev argument to mlxsw_env_get_module_info()
mlxsw: spectrum_ethtool: Add support for two new link modes
mlxsw: reg: Add Port Module Type Mapping register
mlxsw: core_env: Query and store port module's type during
initialization
mlxsw: core_env: Forbid getting module EEPROM on RJ45 ports
mlxsw: core_env: Forbid power mode set and get on RJ45 ports
mlxsw: core_env: Forbid module reset on RJ45 ports

Ido Schimmel (2):
mlxsw: spectrum_ethtool: Remove redundant variable
mlxsw: core_env: Do not pass number of modules as argument

 .../net/ethernet/mellanox/mlxsw/core_env.c    | 117 ++++++++++++++++--
 .../net/ethernet/mellanox/mlxsw/core_env.h    |   3 +-
 drivers/net/ethernet/mellanox/mlxsw/minimal.c |   3 +-
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  55 ++++++++
 .../mellanox/mlxsw/spectrum_ethtool.c         |  28 +++--
 5 files changed, 179 insertions(+), 27 deletions(-)
Signature · 1 line
2.33.1