RFC ixgbe: Implement support for ndo_xdp_xmit in skb mode and fix CPU to ring assignment
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ixgbe: Implement support for ndo_xdp_xmit in skb modedrivers/ drivers/ | +47 | 3 replies | |
| 2/2 | ixgbe: Fix CPU to ring assignmentdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.43.0