Shalom says:

This patchset adds support for new port types and speeds for Spectrum-2.

Patch #1 + #2 removes an unsupported PTYS field and a duplicate link
mode entry.

Patch #3 queries port's connector type from firmware instead of deriving
it from port admin state.

Patch #4 renames functions which relate to port type-speed to be
Spectrum-1 specific.

Patch #5 defines port type-speed operations and applies it for
Spectrum-1.

Patch #6 + #7 are small renaming and cosmetic changes.

Patch #8 adds new port type-speed fields for PTYS register. These new
fields extend the existing ones in order to support more types and
speeds.

Patch #9 adds Spectrum-2 support for port type-speed operations.

Patch #10 adds Spectrum-2 new port types and speeds.

For Spectrum-2, the user must configure all the types per speed if he /
she wants a specific speed to be advertised. For example, if the user
wants to advertise 100Gbps 4-lanes speed, the following ethtool bits
should be advertised:

  Supported ethtool bits for 100Gbps 4-lanes:
      0x1000000000      100000baseKR4 Full
      0x2000000000      100000baseSR4 Full
      0x4000000000      100000baseCR4 Full
      0x8000000000      100000baseLR4_ER4 Full

  Command for advertising 100Gbps 4-lanes:
      ethtool -s enp3s0np1 advertise 0xF000000000

Shalom Toledo (10):
  mlxsw: spectrum: Remove duplicate port link mode entry
  mlxsw: spectrum: Remove unsupported eth_proto_lp_advertise field in
    PTYS
  mlxsw: spectrum: Query port connector type from firmware
  mlxsw: spectrum: Rename port type-speed functions to ASIC specific
  mlxsw: spectrum: Add port type-speed operations
  mlxsw: reg: Rename p_eth_proto_adm to full name p_eth_proto_admin
  mlxsw: reg: 80 columns wrapping change
  mlxsw: reg: Add new port type-speed fields for PTYS register
  mlxsw: spectrum: Add Spectrum-2 ASIC port type-speed operations
  mlxsw: spectrum: Add Spectrum-2 ASIC support for new port types and
    speeds

 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  89 ++-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 618 +++++++++++++++---
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  28 +-
 3 files changed, 641 insertions(+), 94 deletions(-)

-- 
2.20.1

Reply via email to