mbox series

[net-next,00/11] octeontx2: Rework MCAM flows management for VFs

Message ID 1629175493-4895-1-git-send-email-sbhatta@marvell.com (mailing list archive)
Headers show
Series octeontx2: Rework MCAM flows management for VFs | expand

Message

Subbaraya Sundeep Aug. 17, 2021, 4:44 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 17, 2021, 9:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 17 Aug 2021 10:14:42 +0530 you wrote:
> 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:
> 
> [...]

Here is the summary with links:
  - [net-next,01/11] octeontx2-af: Modify install flow error codes
    https://git.kernel.org/netdev/net-next/c/9cfc58095688
  - [net-next,02/11] octeontx2-af: add proper return codes for AF mailbox handlers
    https://git.kernel.org/netdev/net-next/c/7278c359e52c
  - [net-next,03/11] octeontx2-af: Add debug messages for failures
    https://git.kernel.org/netdev/net-next/c/a83bdada06bf
  - [net-next,04/11] octeontx2-pf: Enable NETIF_F_RXALL support for VF driver
    https://git.kernel.org/netdev/net-next/c/0b3834aeaf47
  - [net-next,05/11] octeontx2-pf: Ntuple filters support for VF netdev
    https://git.kernel.org/netdev/net-next/c/3cffaed2136c
  - [net-next,06/11] octeontx2-pf: Sort the allocated MCAM entry indices
    https://git.kernel.org/netdev/net-next/c/cc65fcab88be
  - [net-next,07/11] octeontx2-pf: Unify flow management variables
    https://git.kernel.org/netdev/net-next/c/2e2a8126ffac
  - [net-next,08/11] octeontx2-pf: devlink params support to set mcam entry count
    https://git.kernel.org/netdev/net-next/c/2da489432747
  - [net-next,09/11] octeontx2-af: Allocate low priority entries for PF
    https://git.kernel.org/netdev/net-next/c/7df5b4b260dd
  - [net-next,10/11] octeontx2-af: cn10K: Get NPC counters value
    https://git.kernel.org/netdev/net-next/c/99b8e5479d49
  - [net-next,11/11] octeontx2-af: configure npc for cn10k to allow packets from cpt
    https://git.kernel.org/netdev/net-next/c/aee512249190

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html