[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260114065743.2162706-1-hkelam@marvell.com>
Date: Wed, 14 Jan 2026 12:27:41 +0530
From: Hariprasad Kelam <hkelam@...vell.com>
To: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <kuba@...nel.org>, <davem@...emloft.net>, <sgoutham@...vell.com>,
<gakula@...vell.com>, <jerinj@...vell.com>, <lcherian@...vell.com>,
<sbhatta@...vell.com>, <hkelam@...vell.com>, <naveenm@...vell.com>,
<edumazet@...gle.com>, <pabeni@...hat.com>, <andrew+netdev@...n.ch>,
<bbhushan2@...vell.com>
Subject: [net-next 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
.../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
Powered by blists - more mailing lists