igc: Add support for AF_XDP zero-copy
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | igc: Move igc_xdp_is_enabled()drivers/ drivers/ | +5 | 0 replies | |
| 2/10 | igc: Refactor igc_xdp_run_prog()drivers/ | +28 | 1 reply | |
| 2/10 | igc: Refactor igc_xdp_run_prog() | +0 | 0 replies | |
| 3/10 | igc: Refactor igc_clean_rx_ring()drivers/ | +15 | 0 replies | |
| 4/10 | igc: Refactor XDP rxq info registrationdrivers/ drivers/ drivers/ | +10 | 1 reply | |
| 4/10 | igc: Refactor XDP rxq info registration | +0 | 1 reply | |
| 4/10 | igc: Refactor XDP rxq info registration | +0 | 1 reply | |
| 5/10 | igc: Introduce igc_update_rx_stats()drivers/ | +15 | 0 replies | |
| 6/10 | igc: Introduce igc_update_tx_stats()drivers/ | +16 | 1 reply | |
| 6/10 | igc: Introduce igc_update_tx_stats() | +0 | 0 replies | |
| 7/10 | igc: Introduce igc_unmap_tx_buffer() helperdrivers/ | +15 | 0 replies | |
| 8/10 | igc: Replace IGC_TX_FLAGS_XDP flag by an enumdrivers/ drivers/ | +28 | 1 reply | |
| 8/10 | igc: Replace IGC_TX_FLAGS_XDP flag by an enum | +0 | 1 reply | |
| 9/10 | igc: Enable RX via AF_XDP zero-copydrivers/ drivers/ drivers/ +2 more | +438 | 1 reply | |
| 9/10 | igc: Enable RX via AF_XDP zero-copy | +0 | 1 reply | |
| 9/10 | igc: Enable RX via AF_XDP zero-copy | +0 | 0 replies | |
| 10/10 | igc: Enable TX via AF_XDP zero-copydrivers/ drivers/ drivers/ +1 more | +131 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Intel-wired-lan] [PATCH 00/10] igc: Add support for AF_XDP zero-copy
Hi,
This series adds AF_XDP zero-copy feature to igc driver.
The initial patches do some code refactoring, preparing the code base to land the AF_XDP zero-copy feature, avoiding code duplications. The last patches of the series are the ones implementing the feature.
The last patch which indeed implements AF_XDP zero-copy support was originally way too lengthy so, for the sake of code review, I broke it up into two patches: one adding support for the RX functionality and the other one adding TX support. Feel free to squash those two patches when pushing the series to net-next if you find appropriate.
Best,
Andre
Andre Guedes (10):
igc: Move igc_xdp_is_enabled()
igc: Refactor igc_xdp_run_prog()
igc: Refactor igc_clean_rx_ring()
igc: Refactor XDP rxq info registration
igc: Introduce igc_update_rx_stats()
igc: Introduce igc_update_tx_stats()
igc: Introduce igc_unmap_tx_buffer() helper
igc: Replace IGC_TX_FLAGS_XDP flag by an enum
igc: Enable RX via AF_XDP zero-copy
igc: Enable TX via AF_XDP zero-copy
drivers/net/ethernet/intel/igc/igc.h | 33 +- drivers/net/ethernet/intel/igc/igc_base.h | 2 + drivers/net/ethernet/intel/igc/igc_main.c | 650 ++++++++++++++++++---- drivers/net/ethernet/intel/igc/igc_xdp.c | 107 +++- drivers/net/ethernet/intel/igc/igc_xdp.h | 8 +- 5 files changed, 672 insertions(+), 128 deletions(-)
Signature · 1 line
2.29.2