Skip to content

mlxsw: Firmware version update

Ido Schimmel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mlxsw: Bump firmware version to 13.2000.1122drivers/net/ethernet/mellanox/mlxsw/spectrum.c+2 -20 replies
2/3mlxsw: resources: Add local_ports_in_{1x, 2x}drivers/net/ethernet/mellanox/mlxsw/resources.h+4 -00 replies
3/3mlxsw: spectrum: split base on local_ports_in_{1x, 2x} resourcesdrivers/net/ethernet/mellanox/mlxsw/spectrum.c+35 -110 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJiri Pirko
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] mlxsw: Firmware version update

From: Ido Schimmel <[email protected]>

This patchset updates mlxsw to use a new firmware version and adds support for split into two ports on Spectrum-2 based systems.

Patch #1 updates the firmware version to 13.2000.1122

Patch #2 queries new resources from the firmware.

Patch #3 makes use of these resources in order to support split into two ports on Spectrum-2 based systems. The need for these resources is explained by Shalom:

When splitting a port, different local ports need to be mapped on different systems. For example:

SN3700 (local_ports_in_2x=2):
* Without split:

      front panel 1   --> local port 1
      front panel 2   --> local port 5
  * Split to 2:
      front panel 1s0 --> local port 1
      front panel 1s1 --> local port 3
      front panel 2   --> local port 5

SN3800 (local_ports_in_2x=1):
* Without split:

      front panel 1 --> local port 1
      front panel 2 --> local port 3
  * Split to 2:
      front panel 1s0 --> local port 1
      front panel 1s1 --> local port 2
      front panel 2   --> local port 3

The local_ports_in_{1x, 2x} resources provide the offsets from the base local ports according to which the new local ports can be calculated.

Ido Schimmel (1):
mlxsw: Bump firmware version to 13.2000.1122

Shalom Toledo (2):
mlxsw: resources: Add local_ports_in_{1x, 2x}
mlxsw: spectrum: split base on local_ports_in_{1x, 2x} resources

 .../net/ethernet/mellanox/mlxsw/resources.h   |  4 ++
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 50 ++++++++++++++-----
 2 files changed, 41 insertions(+), 13 deletions(-)
Signature · 1 line
2.20.1