lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180708070021.4636-1-idosch@mellanox.com>
Date:   Sun,  8 Jul 2018 10:00:13 +0300
From:   Ido Schimmel <idosch@...lanox.com>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, jiri@...lanox.com, mlxsw@...lanox.com,
        Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/8] mlxsw: Spectrum-2 small ACL preparations

Hi,

This is the first set of changes towards Spectrum-2 support in the mlxsw
driver. It contains small changes that prepare the code for the later
introduction of Spectrum-2 support.

The Spectrum-2 ASIC uses an algorithmic TCAM (A-TCAM) instead of a
circuit TCAM (C-TCAM) as Spectrum, and thus most of the changes are
around the ACL code.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ