[net-next PatchV3 0/2] Octeontx2-pf: Add support for DMAC_FILTER trap
From: Hariprasad Kelam
Date: Tue Jan 20 2026 - 05:04:08 EST
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
----
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 | 5 +
10 files changed, 257 insertions(+), 2 deletions(-)
--
2.34.1