[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251009192831.3333763-1-dev@nalramli.com>
Date: Thu, 9 Oct 2025 15:28:29 -0400
From: "Nabil S. Alramli" <dev@...ramli.com>
To: anthony.l.nguyen@...el.com,
przemyslaw.kitszel@...el.com
Cc: andrew+netdev@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
ast@...nel.org,
daniel@...earbox.net,
hawk@...nel.org,
john.fastabend@...il.com,
lishujin@...ishou.com,
xingwanli@...ishou.com,
intel-wired-lan@...ts.osuosl.org,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
bpf@...r.kernel.org,
team-kernel@...tly.com,
khubert@...tly.com,
nalramli@...tly.com,
dev@...ramli.com
Subject: [RFC ixgbe 0/2] ixgbe: Implement support for ndo_xdp_xmit in skb mode and fix CPU to ring assignment
Hello Kyle,
Please take a look at this patch that I plan to submit upstream, let me
know if you agree.
Hello ixgbe maintainers,
This patch is a RFC to add the ability to transmit packets using
BPF_F_TEST_XDP_LIVE_FRAMES in skb mode to the ixgbe driver. Today this
functionality does not exist because the ndo_xdp_xmit operation handler,
ixgbe_xdp_xmit, expects a native XDP program in adapter->xdp_prog. This
results in a no-op essentially. To add this support, I use the tx_ring
instead of the xdp_ring and allocate a skb based on the xdpf, and then use
dev_direct_xmit to queue the xdp for tansmission.
May I get feedback on the idea and the approach in this patch?
Thank you.
Nabil S. Alramli (2):
ixgbe: Implement support for ndo_xdp_xmit in skb mode
ixgbe: Fix CPU to ring assignment
drivers/net/ethernet/intel/ixgbe/ixgbe.h | 16 +++----
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 43 +++++++++++++++++--
2 files changed, 47 insertions(+), 12 deletions(-)
--
2.43.0
Powered by blists - more mailing lists