From: Hariprasad Kelam <hkelam@marvell.com>
To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <kuba@kernel.org>, <davem@davemloft.net>, <sgoutham@marvell.com>,
<gakula@marvell.com>, <jerinj@marvell.com>,
<lcherian@marvell.com>, <sbhatta@marvell.com>,
<hkelam@marvell.com>, <naveenm@marvell.com>,
<edumazet@google.com>, <pabeni@redhat.com>,
<andrew+netdev@lunn.ch>, <bbhushan2@marvell.com>
Subject: [net-next PatchV3 0/2] Octeontx2-pf: Add support for DMAC_FILTER trap
Date: Tue, 20 Jan 2026 15:33:39 +0530 [thread overview]
Message-ID: <20260120100341.2479814-1-hkelam@marvell.com> (raw)
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
next reply other threads:[~2026-01-20 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 10:03 Hariprasad Kelam [this message]
2026-01-20 10:03 ` [net-next PatchV3 1/2] octeontx2-af: Mailbox handlers to fetch DMAC filter drop counter Hariprasad Kelam
2026-01-20 10:03 ` [net-next PatchV3 2/2] Octeontx2-pf: Add support for DMAC_FILTER trap Hariprasad Kelam
2026-01-22 2:25 ` [net-next,PatchV3,2/2] " Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260120100341.2479814-1-hkelam@marvell.com \
--to=hkelam@marvell.com \
--cc=andrew+netdev@lunn.ch \
--cc=bbhushan2@marvell.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gakula@marvell.com \
--cc=jerinj@marvell.com \
--cc=kuba@kernel.org \
--cc=lcherian@marvell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=naveenm@marvell.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sbhatta@marvell.com \
--cc=sgoutham@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox