Message ID | 20210914061330.226000-1-idosch@idosch.org (mailing list archive) |
---|---|
Headers | show |
Series | mlxsw: spectrum: Adjustments to port split and label port | expand |
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Tue, 14 Sep 2021 09:13:22 +0300 you wrote: > From: Ido Schimmel <idosch@nvidia.com> > > Jiri says: > > This patchset includes patches that prepare the driver to support modular > systems. > > [...] Here is the summary with links: - [net-next,1/8] mlxsw: spectrum: Bump minimum FW version to xx.2008.3326 https://git.kernel.org/netdev/net-next/c/847371ce049b - [net-next,2/8] mlxsw: spectrum: Move port module mapping before core port init https://git.kernel.org/netdev/net-next/c/13eb056ee58b - [net-next,3/8] mlxsw: spectrum: Move port SWID set before core port init https://git.kernel.org/netdev/net-next/c/fec2386162d1 - [net-next,4/8] mlxsw: reg: Add Port Local port to Label Port mapping Register https://git.kernel.org/netdev/net-next/c/ed403777f653 - [net-next,5/8] mlxsw: spectrum: Use PLLP to get front panel number and split number https://git.kernel.org/netdev/net-next/c/1dbfc9d76551 - [net-next,6/8] mlxsw: reg: Add Port Module To local DataBase Register https://git.kernel.org/netdev/net-next/c/78f824b33530 - [net-next,7/8] mlxsw: spectrum: Use PMTDB register to obtain split info https://git.kernel.org/netdev/net-next/c/32ada69bba7e - [net-next,8/8] mlxsw: reg: Remove PMTM register https://git.kernel.org/netdev/net-next/c/cd92d79d5fdb 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> Jiri says: This patchset includes patches that prepare the driver to support modular systems. PLLP register is introduced to get front panel port label which is no longer equivalent to "module + 1" for modular systems, where the numbering is per line card. So far for all systems all front panel ports had same format and could be split to the same number of subports. This is no longer true for modular systems, where every line card can have different types of front panel ports. The PMTDB register is introduced to easily query FW for split capabilities of particular front panel port. It is generic for use in modular and non-modular systems. Jiri Pirko (8): mlxsw: spectrum: Bump minimum FW version to xx.2008.3326 mlxsw: spectrum: Move port module mapping before core port init mlxsw: spectrum: Move port SWID set before core port init mlxsw: reg: Add Port Local port to Label Port mapping Register mlxsw: spectrum: Use PLLP to get front panel number and split number mlxsw: reg: Add Port Module To local DataBase Register mlxsw: spectrum: Use PMTDB register to obtain split info mlxsw: reg: Remove PMTM register drivers/net/ethernet/mellanox/mlxsw/core.c | 38 --- drivers/net/ethernet/mellanox/mlxsw/core.h | 1 - drivers/net/ethernet/mellanox/mlxsw/reg.h | 146 ++++++--- .../net/ethernet/mellanox/mlxsw/resources.h | 6 - .../net/ethernet/mellanox/mlxsw/spectrum.c | 290 +++++++++--------- .../net/ethernet/mellanox/mlxsw/spectrum.h | 4 +- 6 files changed, 239 insertions(+), 246 deletions(-)