mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [net-next 0/3] DMAC based packet filtering
@ 2021-06-28 17:06 Hariprasad Kelam
  2021-06-28 17:06 ` [net-next 1/3] octeontx2-af: DMAC filter support in MAC block Hariprasad Kelam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hariprasad Kelam @ 2021-06-28 17:06 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: kuba, davem, willemdebruijn.kernel, andrew, sgoutham, lcherian,
	gakula, jerinj, sbhatta, hkelam

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 commans.

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   | 291 +++++++++++++++++-
 .../net/ethernet/marvell/octeontx2/af/cgx.h   |  10 +
 .../marvell/octeontx2/af/lmac_common.h        |   5 +-
 .../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        |  87 +++++-
 .../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        | 225 +++++++++++++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |   9 +
 14 files changed, 945 insertions(+), 36 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c

--
2.17.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-28 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 17:06 [net-next 0/3] DMAC based packet filtering Hariprasad Kelam
2021-06-28 17:06 ` [net-next 1/3] octeontx2-af: DMAC filter support in MAC block Hariprasad Kelam
2021-06-28 17:06 ` [net-next 2/3] octeontx2-af: Debugfs support for DMAC filters Hariprasad Kelam
2021-06-28 17:06 ` [net-next 3/3] octeontx2-pf: offload DMAC filters to CGX/RPM block Hariprasad Kelam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®