[patch net-next/mlxsw internal 00/15] mlxsw: Introduce initial Spectrum2 support
Jiri Pirko
jiri at resnulli.us
Thu Jun 14 18:52:26 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 Spectrum2 block encoding
mlxsw: spectrum_acl: Add support for Spectrum2 block encoding
Jiri Pirko (10):
mlxsw: reg: Add Infrastructure Entry Delete Register
mlxsw: spectrum: Add KVDL manager implementation for Spectrum2
mlxsw: spectrum_mr_tcam: Add Spectrum2 stubs
mlxsw: spectrum: Add Spectrum2 variant of flex actions ops
mlxsw: spectrum: Introduce flex key blocks for Spectrum2
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 Spectrum2 ACL implementation
mlxsw: spectrum: Extend to support Spectrum2 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 | 172 +++++++++---
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 11 +
.../ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c | 214 +++++++++++++++
.../net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c | 284 ++++++++++++++++++++
.../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, 1439 insertions(+), 87 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