From: Meghana Malladi <m-malladi@ti.com>
To: <marco.crivellari@suse.com>, <kees+treewide@kernel.org>,
<laixiangwu@cmss.chinamobile.com>,
<philippe.schenker@impulsing.ch>, <haokexin@gmail.com>,
<devnexen@gmail.com>, <horms@kernel.org>, <m-malladi@ti.com>,
<sdf@fomichev.me>, <john.fastabend@gmail.com>, <hawk@kernel.org>,
<daniel@iogearbox.net>, <ast@kernel.org>, <pabeni@redhat.com>,
<kuba@kernel.org>, <edumazet@kernel.org>, <davem@davemloft.net>,
<andrew+netdev@lunn.ch>
Cc: <bpf@vger.kernel.org>, <netdev@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>, <srk@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Roger Quadros <rogerq@kernel.org>, <danishanwar@ti.com>
Subject: [PATCH net-next v2 0/2] net: ti: icssg: Multi-flow RX and ethtool RX flow classification
Date: Thu, 3 Dec 2026 17:44:30 +0530 [thread overview]
Message-ID: <20261203121447.2605779-1-m-malladi@ti.com> (raw)
This series adds multi-flow RX support to the ICSSG ethernet driver and
exposes it via ethtool RX flow classification (rxnfc).
Patch (1/2): restructures the driver to support up to 8 independent RX flows
per EMAC interface. Each flow gets its own NAPI instance, IRQ, hrtimer,
page pool, and XDP/AF_XDP context while sharing a single UDMA channel and
descriptor pool. AF_XDP zero-copy is updated to track per-flow pools via a
bitmap, and per-flow page pool recycling is fixed by storing the flow_id in
prueth_swdata.
Patch (2/2): adds ethtool ETHTOOL_SRXCLSRLINS/SRXCLSRLDEL/SRXCLSRLALL support.
Rules match on EtherType (ETHER_FLOW) and steer matched frames to a
user-specified RX queue via ICSSG FT3 hardware content filters and the
16-entry classifier table. The classifier N result maps directly to UDMA
flow rx_flow_id_base+N, so queue steering takes effect in hardware without
per-packet CPU involvement.
Tested on AM64x EVM (SR2), both eth1 (PRU0/slice0) and eth2
(PRU1/slice1) with 8 RX flows. Verified via /proc/interrupts IRQ deltas
v1: https://lore.kernel.org/all/20261118184729.2302130-1-m-malladi@ti.com/
Meghana Malladi (2):
net: ti: icssg-prueth: Add multi-flow RX support with per-flow NAPI
net: ti: icssg-prueth: Add ethtool RX flow classification support
.../net/ethernet/ti/icssg/icssg_classifier.c | 440 +++++++++++++++++-
drivers/net/ethernet/ti/icssg/icssg_common.c | 391 ++++++++++------
drivers/net/ethernet/ti/icssg/icssg_config.h | 7 +-
drivers/net/ethernet/ti/icssg/icssg_ethtool.c | 82 +++-
drivers/net/ethernet/ti/icssg/icssg_prueth.c | 378 +++++++++------
drivers/net/ethernet/ti/icssg/icssg_prueth.h | 97 ++--
.../net/ethernet/ti/icssg/icssg_prueth_sr1.c | 303 ++++++++++--
7 files changed, 1308 insertions(+), 390 deletions(-)
base-commit: 612848d37e68b858e15815175f1c5e609e09d719
--
2.43.0
next reply other threads:[~2026-12-03 12:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 12:14 Meghana Malladi [this message]
2026-12-03 12:14 ` [PATCH net-next v2 1/2] net: ti: icssg-prueth: Add multi-flow RX support with per-flow NAPI Meghana Malladi
2026-12-04 13:25 ` netdev-bot+sashiko
2026-12-03 12:14 ` [PATCH net-next v2 2/2] net: ti: icssg-prueth: Add ethtool RX flow classification support Meghana Malladi
2026-12-04 13:25 ` netdev-bot+sashiko
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=20261203121447.2605779-1-m-malladi@ti.com \
--to=m-malladi@ti.com \
--cc=andrew+netdev@lunn.ch \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=danishanwar@ti.com \
--cc=davem@davemloft.net \
--cc=devnexen@gmail.com \
--cc=edumazet@kernel.org \
--cc=haokexin@gmail.com \
--cc=hawk@kernel.org \
--cc=horms@kernel.org \
--cc=john.fastabend@gmail.com \
--cc=kees+treewide@kernel.org \
--cc=kuba@kernel.org \
--cc=laixiangwu@cmss.chinamobile.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=marco.crivellari@suse.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=philippe.schenker@impulsing.ch \
--cc=rogerq@kernel.org \
--cc=sdf@fomichev.me \
--cc=srk@ti.com \
--cc=vigneshr@ti.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