[net-next 0/2] Octeontx2-pf: Add support for DMAC_FILTER trap
From: Hariprasad Kelam
Date: Wed Jan 14 2026 - 01:58:11 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
.../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 | 20 +++
.../marvell/octeontx2/nic/otx2_devlink.c | 160 ++++++++++++++++++
.../marvell/octeontx2/nic/otx2_devlink.h | 28 ++-
.../ethernet/marvell/octeontx2/nic/otx2_pf.c | 7 +
10 files changed, 254 insertions(+), 2 deletions(-)
--
2.34.1