mlxsw: spectrum: Adjustments to port split and label port
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mlxsw: spectrum: Bump minimum FW version to xx.2008.3326drivers/ | +3 | 0 replies | Applied |
| 2/8 | mlxsw: spectrum: Move port module mapping before core port initdrivers/ | +17 | 0 replies | Applied |
| 3/8 | mlxsw: spectrum: Move port SWID set before core port initdrivers/ | +15 | 0 replies | Applied |
| 4/8 | mlxsw: reg: Add Port Local port to Label Port mapping Registerdrivers/ | +48 | 0 replies | Applied |
| 5/8 | mlxsw: spectrum: Use PLLP to get front panel number and split numberdrivers/ | +31 | 0 replies | Applied |
| 6/8 | mlxsw: reg: Add Port Module To local DataBase Registerdrivers/ | +64 | 0 replies | Applied |
| 7/8 | mlxsw: spectrum: Use PMTDB register to obtain split infodrivers/ drivers/ drivers/ +2 more | +76 | 0 replies | Applied |
| 8/8 | mlxsw: reg: Remove PMTM registerdrivers/ | +0 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/8] mlxsw: spectrum: Adjustments to port split and label port
From: Ido Schimmel <[email protected]>
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(-)
Signature · 1 line
2.31.1