mbox series

[net-next,v3,0/3] DMAC based packet filtering

Message ID 20210630101059.27334-1-hkelam@marvell.com
Headers show
Series DMAC based packet filtering | expand

Message

Hariprasad Kelam June 30, 2021, 10:10 a.m. UTC
Each MAC block supports 32 DMAC filters which can be configured to accept
or drop packets based on address match This patch series adds mbox
handlers and extends ntuple filter callbacks to accomdate DMAC filters
such that user can install DMAC based filters on interface from ethtool.

Patch1 adds necessary mbox handlers such that mbox consumers like PF netdev
can add/delete/update DMAC filters and Patch2 adds debugfs support to dump
current list of installed filters. Patch3 adds support to call mbox
handlers upon receiving DMAC filters from ethtool ntuple commands.

Change-log:
v2 -
   - fixed indentation issues.
v3 -
   - fixed kdoc warnings

Hariprasad Kelam (2):
  octeontx2-af: Debugfs support for DMAC filters
  octeontx2-pf: offload DMAC filters to CGX/RPM block

Sunil Kumar Kori (1):
  octeontx2-af: DMAC filter support in MAC block

 .../net/ethernet/marvell/octeontx2/af/cgx.c   | 292 +++++++++++++++++-
 .../net/ethernet/marvell/octeontx2/af/cgx.h   |  10 +
 .../marvell/octeontx2/af/lmac_common.h        |  12 +-
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  48 ++-
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |   3 +
 .../ethernet/marvell/octeontx2/af/rvu_cgx.c   | 111 ++++++-
 .../marvell/octeontx2/af/rvu_debugfs.c        |  88 +++++-
 .../ethernet/marvell/octeontx2/af/rvu_nix.c   |   3 +
 .../ethernet/marvell/octeontx2/nic/Makefile   |   2 +-
 .../marvell/octeontx2/nic/otx2_common.c       |   3 +
 .../marvell/octeontx2/nic/otx2_common.h       |  11 +
 .../marvell/octeontx2/nic/otx2_dmac_flt.c     | 173 +++++++++++
 .../marvell/octeontx2/nic/otx2_flows.c        | 229 +++++++++++++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |   9 +
 14 files changed, 955 insertions(+), 39 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c

--
2.17.1

Comments

patchwork-bot+netdevbpf@kernel.org July 1, 2021, 8:10 p.m. UTC | #1
Hello:

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

On Wed, 30 Jun 2021 15:40:56 +0530 you wrote:
> Each MAC block supports 32 DMAC filters which can be configured to accept

> or drop packets based on address match This patch series adds mbox

> handlers and extends ntuple filter callbacks to accomdate DMAC filters

> such that user can install DMAC based filters on interface from ethtool.

> 

> Patch1 adds necessary mbox handlers such that mbox consumers like PF netdev

> can add/delete/update DMAC filters and Patch2 adds debugfs support to dump

> current list of installed filters. Patch3 adds support to call mbox

> handlers upon receiving DMAC filters from ethtool ntuple commands.

> 

> [...]


Here is the summary with links:
  - [net-next,v3,1/3] octeontx2-af: DMAC filter support in MAC block
    https://git.kernel.org/netdev/net/c/6f14078e3ee5
  - [net-next,v3,2/3] octeontx2-af: Debugfs support for DMAC filters
    https://git.kernel.org/netdev/net/c/dbc52debf95f
  - [net-next,v3,3/3] octeontx2-pf: offload DMAC filters to CGX/RPM block
    https://git.kernel.org/netdev/net/c/79d2be385e9e

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