[patch net-next/mlxsw internal v2 00/15] mlxsw: Introduce initial Spectrum2 support

Jiri Pirko jiri at resnulli.us
Thu Jun 28 00:29:50 AEST 2018


From: Jiri Pirko <jiri at mellanox.com>

First 2 patches add Spectrum2-specific KVDL linear manager code.
Third patch adds MR TCAM stubs for Spectrum2. The support for MR
will be intruduced later on.
Patches 4-14 implement differencies from Spectrum1 that are needed in
order to initialize and utilize C-TCAM for Spectrum2.
The last patch extends current spectrum.c to support Spectrum2 ASIC

Ido Schimmel (5):
  mlxsw: reg: Add Policy-Engine Region Configuration Register
  mlxsw: reg: Add Policy-Engine Region eRP Register
  mlxsw: reg: Add Policy-Engine General Configuration Register
  mlxsw: spectrum_acl: Prepare for Spectrum-2 block encoding
  mlxsw: spectrum_acl: Add support for Spectrum-2 block encoding

Jiri Pirko (10):
  mlxsw: reg: Add Infrastructure Entry Delete Register
  mlxsw: spectrum: Add KVDL manager implementation for Spectrum-2
  mlxsw: spectrum_mr_tcam: Add Spectrum-2 stubs
  mlxsw: spectrum: Add Spectrum-2 variant of flex actions ops
  mlxsw: spectrum: Introduce flex key blocks for Spectrum-2
  mlxsw: reg: Add support for activity information from PEFA register
  mlxsw: acl: Introduce activity get operation for action block/set
  mlxsw: reg: Add Policy-Engine Region Association Register
  mlxsw: spectrum_acl: Add initial Spectrum-2 ACL implementation
  mlxsw: spectrum: Extend to support Spectrum-2 ASIC

 drivers/net/ethernet/mellanox/mlxsw/Makefile       |   8 +-
 .../mellanox/mlxsw/core_acl_flex_actions.c         |  15 ++
 .../mellanox/mlxsw/core_acl_flex_actions.h         |   4 +
 .../ethernet/mellanox/mlxsw/core_acl_flex_keys.c   |  70 ++++-
 .../ethernet/mellanox/mlxsw/core_acl_flex_keys.h   |   3 +-
 drivers/net/ethernet/mellanox/mlxsw/pci.h          |   1 +
 drivers/net/ethernet/mellanox/mlxsw/reg.h          | 298 ++++++++++++++++++++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 170 +++++++++---
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |  11 +
 .../ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c   | 214 +++++++++++++++
 .../net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c   | 295 ++++++++++++++++++++
 .../ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c    |  82 ++++++
 .../ethernet/mellanox/mlxsw/spectrum_acl_atcam.c   |  96 +++++++
 .../mellanox/mlxsw/spectrum_acl_flex_actions.c     |  55 +++-
 .../mellanox/mlxsw/spectrum_acl_flex_keys.c        | 210 ++++++++++++---
 .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.h    |   3 +
 16 files changed, 1449 insertions(+), 86 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c

-- 
2.14.4



More information about the Linux-mlxsw mailing list