mbox series

[net-next,0/9] mlxsw: Add RJ45 ports support

Message ID 20220126103037.234986-1-idosch@nvidia.com (mailing list archive)
Headers show
Series mlxsw: Add RJ45 ports support | expand

Message

Ido Schimmel Jan. 26, 2022, 10:30 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 26, 2022, 11:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Wed, 26 Jan 2022 12:30:28 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/9] mlxsw: spectrum_ethtool: Remove redundant variable
    https://git.kernel.org/netdev/net-next/c/5c759fe24cdb
  - [net-next,2/9] mlxsw: core_env: Do not pass number of modules as argument
    https://git.kernel.org/netdev/net-next/c/6af5f7b674e4
  - [net-next,3/9] mlxsw: Add netdev argument to mlxsw_env_get_module_info()
    https://git.kernel.org/netdev/net-next/c/5eaec6d86805
  - [net-next,4/9] mlxsw: spectrum_ethtool: Add support for two new link modes
    https://git.kernel.org/netdev/net-next/c/78cf4b92218b
  - [net-next,5/9] mlxsw: reg: Add Port Module Type Mapping register
    https://git.kernel.org/netdev/net-next/c/0d31441e8793
  - [net-next,6/9] mlxsw: core_env: Query and store port module's type during initialization
    https://git.kernel.org/netdev/net-next/c/e62f5b0e3faa
  - [net-next,7/9] mlxsw: core_env: Forbid getting module EEPROM on RJ45 ports
    https://git.kernel.org/netdev/net-next/c/615ebb8cc4e2
  - [net-next,8/9] mlxsw: core_env: Forbid power mode set and get on RJ45 ports
    https://git.kernel.org/netdev/net-next/c/c8f994ccdd9a
  - [net-next,9/9] mlxsw: core_env: Forbid module reset on RJ45 ports
    https://git.kernel.org/netdev/net-next/c/b7347cdf10fa

You are awesome, thank you!