Skip to content

Octeontx2-pf: Add support for DMAC_FILTER trap

Hariprasad Kelam lkml netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 1 replySuperseded
  3. v22 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2octeontx2-af: Mailbox handlers to fetch DMAC filter drop counterdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h +4 more+63 -10 replies
2/2Octeontx2-pf: Add support for DMAC_FILTER trapdrivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c+196 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [net-next PatchV4 0/2] Octeontx2-pf: Add support for DMAC_FILTER trap

Octeontx2/CN10K silicon MAC blocks CGX/RPM supports DMAC filters. These patches add devlink trap support for this functionality.

Patch 1: Introduces mailbox handlers to retrieve the DMAC filter
drop counter.

Patch 2: Adds driver callbacks to support devlink traps.

Hariprasad Kelam (2):
octeontx2-af: Mailbox handlers to fetch DMAC filter drop counter
Octeontx2-pf: Add support for DMAC_FILTER trap
----
V4 * Address AI review comments

V3 * Address review comments suggested by Claude Code

V2 * fix warnings reported by kernel test robot

 .../net/ethernet/marvell/octeontx2/af/cgx.c   |  11 ++
 .../net/ethernet/marvell/octeontx2/af/cgx.h   |   2 +
 .../marvell/octeontx2/af/lmac_common.h        |   1 +
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |   7 +
 .../net/ethernet/marvell/octeontx2/af/rpm.c   |  18 +-
 .../net/ethernet/marvell/octeontx2/af/rpm.h   |   2 +
 .../ethernet/marvell/octeontx2/af/rvu_cgx.c   |  23 +++
 .../marvell/octeontx2/nic/otx2_devlink.c      | 167 ++++++++++++++++++
 .../marvell/octeontx2/nic/otx2_devlink.h      |  23 ++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |   7 +
 10 files changed, 259 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1