Thread (10 messages) flat view 10 messages, 2 authors, 2021-09-14
STALE1801d

[PATCH net-next 0/8] mlxsw: spectrum: Adjustments to port split and label port

From: Ido Schimmel <hidden>
Date: 2021-09-14 06:14:28

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(-)

-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help