XDP Redirect implementation for ENA driver
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v5 All 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: ena: use constant value for net_device allocationdrivers/ | +23 | 0 replies | Applied |
| 2/9 | net: ena: add device distinct log prefix to filesdrivers/ drivers/ drivers/ +2 more | +312 | 0 replies | Applied |
| 3/9 | net: ena: store values in their appropriate variables typesdrivers/ drivers/ | +8 | 0 replies | Applied |
| 4/9 | net: ena: fix coding style nitsdrivers/ drivers/ drivers/ | +6 | 0 replies | Applied |
| 5/9 | net: ena: aggregate stats increase into a functiondrivers/ | +68 | 0 replies | Applied |
| 6/9 | net: ena: use xdp_frame in XDP TX flowdrivers/ | +29 | 0 replies | Applied |
| 7/9 | net: ena: introduce XDP redirect implementationdrivers/ drivers/ drivers/ | +53 | 0 replies | Applied |
| 8/9 | net: ena: use xdp_return_frame() to free xdp framesdrivers/ drivers/ | +1 | 0 replies | Applied |
| 9/9 | net: ena: introduce ndo_xdp_xmit() function for XDP_REDIRECTdrivers/ drivers/ | +72 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH net-next v5 0/9] XDP Redirect implementation for ENA driver
Hi all,
ENA is adding XDP Redirect support for its driver and some other small tweaks.
This series adds the following:
- Make log messages in the driver have a uniform format using netdev_* function
- Improve code readability
- Add support for XDP Redirect
v1->v2: Removed the word "atomic" from the name of
ena_increase_stat_atomic() as it is misleading.
v2->v3: Fixed checkpatch errors
v3->v4: Added an explanation to the decision of using netdev_* prints in
functions that are also called before netdev is registered.
v4->v5: Added return value check for xdp_do_redirect() and
xdp_convert_buff_to_frame(). Also replace the variable casting in patch 3 with something more readable.
Shay Agroskin (9):
net: ena: use constant value for net_device allocation
net: ena: add device distinct log prefix to files
net: ena: store values in their appropriate variables types
net: ena: fix coding style nits
net: ena: aggregate stats increase into a function
net: ena: use xdp_frame in XDP TX flow
net: ena: introduce XDP redirect implementation
net: ena: use xdp_return_frame() to free xdp frames
net: ena: introduce ndo_xdp_xmit() function for XDP_REDIRECT
drivers/net/ethernet/amazon/ena/ena_com.c | 391 ++++++++++------- drivers/net/ethernet/amazon/ena/ena_com.h | 23 +- drivers/net/ethernet/amazon/ena/ena_eth_com.c | 71 +-- drivers/net/ethernet/amazon/ena/ena_eth_com.h | 23 +- drivers/net/ethernet/amazon/ena/ena_ethtool.c | 3 +- drivers/net/ethernet/amazon/ena/ena_netdev.c | 403 ++++++++++-------- drivers/net/ethernet/amazon/ena/ena_netdev.h | 12 +- 7 files changed, 551 insertions(+), 375 deletions(-)
Signature · 1 line
2.17.1