Message ID | 20210915101314.407476-1-idosch@idosch.org (mailing list archive) |
---|---|
Headers | show |
Series | mlxsw: Add support for transceiver modules reset | expand |
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Wed, 15 Sep 2021 13:13:04 +0300 you wrote: > From: Ido Schimmel <idosch@nvidia.com> > > This patchset prepares mlxsw for future transceiver modules related [1] > changes and adds reset support via the existing 'ETHTOOL_RESET' > interface. > > Patches #1-#6 are relatively straightforward preparations. > > [...] Here is the summary with links: - [net-next,01/10] mlxsw: core: Initialize switch driver last https://git.kernel.org/netdev/net-next/c/3d7a6f677905 - [net-next,02/10] mlxsw: core: Remove mlxsw_core_is_initialized() https://git.kernel.org/netdev/net-next/c/25a91f835a7b - [net-next,03/10] mlxsw: core_env: Defer handling of module temperature warning events https://git.kernel.org/netdev/net-next/c/163f3d2dd01c - [net-next,04/10] mlxsw: core_env: Convert 'module_info_lock' to a mutex https://git.kernel.org/netdev/net-next/c/bd6e43f5953d - [net-next,05/10] mlxsw: spectrum: Do not return an error in ndo_stop() https://git.kernel.org/netdev/net-next/c/06277ca23868 - [net-next,06/10] mlxsw: spectrum: Do not return an error in mlxsw_sp_port_module_unmap() https://git.kernel.org/netdev/net-next/c/196bff2927a7 - [net-next,07/10] mlxsw: Track per-module port status https://git.kernel.org/netdev/net-next/c/896f399be078 - [net-next,08/10] mlxsw: reg: Add fields to PMAOS register https://git.kernel.org/netdev/net-next/c/ef23841bb94a - [net-next,09/10] mlxsw: Make PMAOS pack function more generic https://git.kernel.org/netdev/net-next/c/8f4ebdb0a274 - [net-next,10/10] mlxsw: Add support for transceiver modules reset https://git.kernel.org/netdev/net-next/c/49fd3b645de8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
From: Ido Schimmel <idosch@nvidia.com> This patchset prepares mlxsw for future transceiver modules related [1] changes and adds reset support via the existing 'ETHTOOL_RESET' interface. 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 support. Patches #8-#9 add required fields in device registers. Patch #10 implements support for ethtool_ops::reset in order to reset transceiver modules. [1] https://lore.kernel.org/netdev/20210824130344.1828076-1-idosch@idosch.org/ 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_sp_port_module_unmap() 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(-)