[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210914061330.226000-1-idosch@idosch.org>
Date: Tue, 14 Sep 2021 09:13:22 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, jiri@...dia.com,
mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/8] mlxsw: spectrum: Adjustments to port split and label port
From: Ido Schimmel <idosch@...dia.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
Powered by blists - more mailing lists