[patch net-next/mlxsw internal 0/8] mlxsw: Spectrum2 small ACL preparations

Jiri Pirko jiri at resnulli.us
Thu Jun 14 18:37:41 AEST 2018


From: Jiri Pirko <jiri at mellanox.com>

This patchset contains small patches that prepare the code for the later
introduction of Spectrum2 support.

Jiri Pirko (8):
  mlxsw: spectrum: Change name of mlxsw_sp_afk_blocks to
    mlxsw_sp1_afk_blocks
  mlxsw: reg: Introduce Flex2 key type for PTAR register
  mlxsw: spectrum_acl: Ignore always-zeroed bits in tp->prio
  mlxsw: core_acl_flex_keys: Split MAC and IP address flex key elements
  mlxsw: core_acl_flex_keys: Change SRC_SYS_PORT flex key element size
  mlxsw: spectrum: Put pointer to flex action ops to mlxsw_sp
  mlxsw: core_acl_flex_actions: Allow the first set to be dummy
  mlxsw: core_acl_flex_actions: Fix helper to get the first KVD linear
    index

 .../mellanox/mlxsw/core_acl_flex_actions.c         | 28 +++++++--
 .../mellanox/mlxsw/core_acl_flex_actions.h         |  3 +-
 .../ethernet/mellanox/mlxsw/core_acl_flex_keys.h   | 42 +++++++------
 drivers/net/ethernet/mellanox/mlxsw/reg.h          | 11 +++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     |  2 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |  4 ++
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c |  6 +-
 .../mellanox/mlxsw/spectrum_acl_flex_actions.c     |  4 +-
 .../mellanox/mlxsw/spectrum_acl_flex_keys.h        | 39 +++++++-----
 .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c    | 31 ++++++----
 .../net/ethernet/mellanox/mlxsw/spectrum_flower.c  | 69 +++++++++++++---------
 11 files changed, 155 insertions(+), 84 deletions(-)

-- 
2.14.4



More information about the Linux-mlxsw mailing list