Skip to content

Introduce XDP to ena

[email protected] netdev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/23 patches 1 replyIn review
  2. v3 posting 1/23 patches 1 replySuperseded
  3. v2 posting 3/33 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 RFC posting 2/33 patches1 replySuperseded
v2 RFC posting 1/33 patches0 repliesSuperseded
v1 RFC1 patch20 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: ena: implement XDP drop supportdrivers/net/ethernet/amazon/ena/ena_netdev.c drivers/net/ethernet/amazon/ena/ena_netdev.h+233 -110 replies
2/3net: ena: Implement XDP_TX actiondrivers/net/ethernet/amazon/ena/ena_ethtool.c drivers/net/ethernet/amazon/ena/ena_netdev.c drivers/net/ethernet/amazon/ena/ena_netdev.h+701 -1860 replies
3/3net: ena: Add first_interrupt field to napi structdrivers/net/ethernet/amazon/ena/ena_netdev.c drivers/net/ethernet/amazon/ena/ena_netdev.h+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 net-next v3 0/3] Introduce XDP to ena

From: Sameeh Jubran <[email protected]>

This patchset includes 3 patches:
* XDP_DROP implementation
* XDP_TX implementation
* A fix for an issue which might occur due to the XDP_TX patch. I see fit to place it as a standalone patch for clarity.

Difference from v2:
* Fixed the usage of rx headroom (XDP_PACKET_HEADROOM)
* Aligned the page_offset of the packet when passing it to the stack
* Switched to using xdp_frame in xdp xmit queue
* Dropped the print for unsupported commands
* Cosmetic changes

Difference from RFC v1 (XDP_DROP patch):
* Initialized xdp.rxq pointer
* Updated max_mtu on attachment of xdp and removed the check from ena_change_mtu()
* Moved the xdp execution from ena_rx_skb() to ena_clean_rx_irq()
* Moved xdp buff (struct xdp_buff) from rx_ring to the local stack
* Started using netlink's extack mechanism to deliver error messages to the user

Sameeh Jubran (3):
net: ena: implement XDP drop support
net: ena: Implement XDP_TX action
net: ena: Add first_interrupt field to napi struct

 drivers/net/ethernet/amazon/ena/ena_ethtool.c |   4 +-
 drivers/net/ethernet/amazon/ena/ena_netdev.c  | 960 +++++++++++++++---
 drivers/net/ethernet/amazon/ena/ena_netdev.h  |  73 ++
 3 files changed, 889 insertions(+), 148 deletions(-)
Signature · 1 line
2.17.1