lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 Sep 2021 13:13:04 +0300
From:   Ido Schimmel <>
        Ido Schimmel <>
Subject: [PATCH net-next 00/10] mlxsw: Add support for transceiver modules reset

From: Ido Schimmel <>

This patchset prepares mlxsw for future transceiver modules related [1]
changes and adds reset support via the existing 'ETHTOOL_RESET'

Patches #1-#6 are relatively straightforward preparations.

Patch #7 tracks the number of logical ports that are mapped to the
transceiver module and the number of logical ports using it that are
administratively up. Needed for both reset support and power mode policy

Patches #8-#9 add required fields in device registers.

Patch #10 implements support for ethtool_ops::reset in order to reset
transceiver modules.


Ido Schimmel (10):
  mlxsw: core: Initialize switch driver last
  mlxsw: core: Remove mlxsw_core_is_initialized()
  mlxsw: core_env: Defer handling of module temperature warning events
  mlxsw: core_env: Convert 'module_info_lock' to a mutex
  mlxsw: spectrum: Do not return an error in ndo_stop()
  mlxsw: spectrum: Do not return an error in
  mlxsw: Track per-module port status
  mlxsw: reg: Add fields to PMAOS register
  mlxsw: Make PMAOS pack function more generic
  mlxsw: Add support for transceiver modules reset

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  29 +--
 drivers/net/ethernet/mellanox/mlxsw/core.h    |   1 -
 .../net/ethernet/mellanox/mlxsw/core_env.c    | 183 +++++++++++++++---
 .../net/ethernet/mellanox/mlxsw/core_env.h    |  13 ++
 drivers/net/ethernet/mellanox/mlxsw/minimal.c |  30 ++-
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  31 ++-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  42 +++-
 .../mellanox/mlxsw/spectrum_ethtool.c         |  10 +
 8 files changed, 281 insertions(+), 58 deletions(-)


Powered by blists - more mailing lists