[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251119135330.551835-1-pvalerio@redhat.com>
Date: Wed, 19 Nov 2025 14:53:24 +0100
From: Paolo Valerio <pvalerio@...hat.com>
To: netdev@...r.kernel.org
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...on.dev>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Lorenzo Bianconi <lorenzo@...nel.org>
Subject: [PATCH RFC net-next 0/6] net: macb: Add XDP support and page pool integration
Testing were performed on Raspberry Pi 5 with upstream kernel
and all the changes are intended for gem only.
The series consists of two main changes:
- Migration from netdev_alloc_skb() to page pool allocation,
enabling skb recycling.
This also adds support for multi-descriptor frame reception,
removing the previous single-descriptor approach and avoiding
potentially large contiguous allocations for e.g. jumbo frames
with CONFIG_PAGE_SIZE_4KB.
- XDP support: Complete XDP implementation supporting all major
verdicts (XDP_PASS, XDP_DROP, XDP_REDIRECT, XDP_TX) along with
the ndo_xdp_xmit function for packet redirection.
The driver now advertises NETDEV_XDP_ACT_BASIC, NETDEV_XDP_ACT_REDIRECT,
NETDEV_XDP_ACT_NDO_XMIT capabilities.
Paolo Valerio (6):
cadence: macb/gem: Add page pool support
cadence: macb/gem: handle multi-descriptor frame reception
cadence: macb/gem: use the current queue number for stats
cadence: macb/gem: add XDP support for gem
cadence: macb/gem: make tx path skb agnostic
cadence: macb/gem: introduce xmit support
drivers/net/ethernet/cadence/Kconfig | 1 +
drivers/net/ethernet/cadence/macb.h | 42 +-
drivers/net/ethernet/cadence/macb_main.c | 680 ++++++++++++++++++-----
3 files changed, 567 insertions(+), 156 deletions(-)
--
2.51.1
Powered by blists - more mailing lists