mlxsw: Spectrum-4 preparations
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | mlxsw: spectrum: Bump minimum FW version to xx.2010.1006drivers/ | +6 | 0 replies | Applied |
| 2/10 | mlxsw: reg: Remove unused functionsdrivers/ | +0 | 0 replies | Applied |
| 3/10 | mlxsw: item: Add support for local_port field in a split formdrivers/ | +36 | 0 replies | Applied |
| 4/10 | mlxsw: reg: Align existing registers to use extended local_port fielddrivers/ | +49 | 0 replies | Applied |
| 5/10 | mlxsw: reg: Increase 'port_num' field in PMTDB registerdrivers/ | +1 | 0 replies | Applied |
| 6/10 | mlxsw: reg: Adjust PPCNT register to support local port 255drivers/ | +9 | 0 replies | Applied |
| 7/10 | mlxsw: Use u16 for local_port field instead of u8drivers/ drivers/ drivers/ +16 more | +234 | 0 replies | Applied |
| 8/10 | mlxsw: Add support for more than 256 ports in SBSR registerdrivers/ drivers/ | +31 | 0 replies | Applied |
| 9/10 | mlxsw: Use Switch Flooding Table Register Version 2drivers/ drivers/ | +80 | 0 replies | Applied |
| 10/10 | mlxsw: Use Switch Multicast ID Register Version 2drivers/ drivers/ | +72 | 0 replies | Applied |
Reviews trailers per patch
8 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Petr Machata | Jiri Pirko |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | |
| 3/10 | R-b | R-b |
| 4/10 | R-b | |
| 5/10 | ||
| 6/10 | ||
| 7/10 | R-b | |
| 8/10 | R-b | |
| 9/10 | R-b | |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/10] mlxsw: Spectrum-4 preparations
From: Ido Schimmel <[email protected]>
The Spectrum-4 ASIC will support more than 256 ports, unlike existing ASICs. As such, various device registers were extended with two additional bits to encode a 10 bit local port. In some cases, new (Version 2) registers were introduced.
This patchset prepares mlxsw for Spectrum-4 support by encoding local port in a 'u16' instead of a 'u8' and by extending the definitions of the various registers to support the extended local port form.
Amit Cohen (10):
mlxsw: spectrum: Bump minimum FW version to xx.2010.1006
mlxsw: reg: Remove unused functions
mlxsw: item: Add support for local_port field in a split form
mlxsw: reg: Align existing registers to use extended local_port field
mlxsw: reg: Increase 'port_num' field in PMTDB register
mlxsw: reg: Adjust PPCNT register to support local port 255
mlxsw: Use u16 for local_port field instead of u8
mlxsw: Add support for more than 256 ports in SBSR register
mlxsw: Use Switch Flooding Table Register Version 2
mlxsw: Use Switch Multicast ID Register Version 2
drivers/net/ethernet/mellanox/mlxsw/core.c | 42 +- drivers/net/ethernet/mellanox/mlxsw/core.h | 44 +- .../mellanox/mlxsw/core_acl_flex_actions.c | 22 +- .../mellanox/mlxsw/core_acl_flex_actions.h | 16 +- drivers/net/ethernet/mellanox/mlxsw/item.h | 36 ++ drivers/net/ethernet/mellanox/mlxsw/minimal.c | 10 +- drivers/net/ethernet/mellanox/mlxsw/reg.h | 487 +++++++++--------- .../net/ethernet/mellanox/mlxsw/spectrum.c | 60 +-- .../net/ethernet/mellanox/mlxsw/spectrum.h | 20 +- .../ethernet/mellanox/mlxsw/spectrum_acl.c | 2 +- .../mlxsw/spectrum_acl_flex_actions.c | 14 +- .../mellanox/mlxsw/spectrum_buffers.c | 58 ++- .../mellanox/mlxsw/spectrum_ethtool.c | 4 +- .../ethernet/mellanox/mlxsw/spectrum_fid.c | 30 +- .../ethernet/mellanox/mlxsw/spectrum_ptp.c | 12 +- .../ethernet/mellanox/mlxsw/spectrum_ptp.h | 16 +- .../ethernet/mellanox/mlxsw/spectrum_router.c | 2 +- .../ethernet/mellanox/mlxsw/spectrum_span.c | 20 +- .../mellanox/mlxsw/spectrum_switchdev.c | 60 +-- .../ethernet/mellanox/mlxsw/spectrum_trap.c | 24 +- 20 files changed, 515 insertions(+), 464 deletions(-)
Signature · 1 line
2.31.1