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: <1629175493-4895-1-git-send-email-sbhatta@marvell.com>
Date:   Tue, 17 Aug 2021 10:14:42 +0530
From:   Subbaraya Sundeep <sbhatta@...vell.com>
To:     <davem@...emloft.net>, <kuba@...nel.org>, <netdev@...r.kernel.org>
CC:     <sgoutham@...vell.com>, <hkelam@...vell.com>, <gakula@...vell.com>,
        Subbaraya Sundeep <sbhatta@...vell.com>
Subject: [net-next PATCH 00/11] octeontx2: Rework MCAM flows management for VFs

>From Octeontx2 hardware point of view there is no
difference between PFs and VFs. Hence with refactoring
in driver the packet classification features or offloads
can be supported by VFs also. This patchset unifies the
mcam flows management so that VFs can also support
ntuple filters. Since there are MCAM allocations by
all PFs and VFs in the system it is required to have
the ability to modify number of mcam rules count
for a PF/VF in runtime. This is achieved by using devlink.
Below is the summary of patches:

Patch 1,2,3 are trivial patches which helps in debugging
in case of errors by using custom error codes and
displaying proper error messages.

Patches 4,5 brings rx-all and ntuple support
for CGX mapped VFs and LBK VFs.

Patches 6,7,8 brings devlink support to
PF netdev driver so that mcam entries count
can be changed at runtime.
To change mcam rule count at runtime where multiple rule
allocations are done sorting is required.
Also both ntuple and TC rules needs to be unified.

Patch 9 is related to AF NPC where a PF
allocated entries are allocated at bottom(low priority).

On CN10K there is slight change in reading
NPC counters which is handled by patch 10.

Patch 11 is to allow packets from CPT for
NPC parsing on CN10K.


Thanks,
Sundeep


Hariprasad Kelam (1):
  octeontx2-af: cn10K: Get NPC counters value

Naveen Mamindlapalli (1):
  octeontx2-af: add proper return codes for AF mailbox handlers

Rakesh Babu (1):
  octeontx2-pf: Ntuple filters support for VF netdev

Subbaraya Sundeep (2):
  octeontx2-af: Modify install flow error codes
  octeontx2-af: Allocate low priority entries for PF

Sunil Goutham (5):
  octeontx2-af: Add debug messages for failures
  octeontx2-pf: Enable NETIF_F_RXALL support for VF driver
  octeontx2-pf: Sort the allocated MCAM entry indices
  octeontx2-pf: Unify flow management variables
  octeontx2-pf: devlink params support to set mcam entry count

Vidya (1):
  octeontx2-af: configure npc for cn10k to allow packets from cpt

 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  16 +++
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c    |  92 +++++++++---
 drivers/net/ethernet/marvell/octeontx2/af/rvu.h    |   1 +
 .../net/ethernet/marvell/octeontx2/af/rvu_cgx.c    |  12 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |  45 ++++--
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    |  51 +++++--
 .../net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c |  36 +++--
 .../net/ethernet/marvell/octeontx2/nic/Makefile    |   5 +-
 .../ethernet/marvell/octeontx2/nic/otx2_common.h   |  32 +++--
 .../ethernet/marvell/octeontx2/nic/otx2_devlink.c  | 156 +++++++++++++++++++++
 .../ethernet/marvell/octeontx2/nic/otx2_devlink.h  |  20 +++
 .../ethernet/marvell/octeontx2/nic/otx2_ethtool.c  |  52 ++-----
 .../ethernet/marvell/octeontx2/nic/otx2_flows.c    | 110 +++++++++++----
 .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c   |  44 +++---
 .../net/ethernet/marvell/octeontx2/nic/otx2_tc.c   |  50 ++++++-
 .../net/ethernet/marvell/octeontx2/nic/otx2_vf.c   |  36 ++++-
 16 files changed, 585 insertions(+), 173 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ