[Intel-wired-lan] [PATCH v2 0/9] igc: Add support for AF_XDP zero-copy

Andre Guedes andre.guedes at intel.com
Wed Dec 23 20:36:56 UTC 2020


Hi all,

This is the second version of this series which adds AF_XDP zero-copy support
to igc driver.

The main changes from v1 are:

    - Fixed commit messages to describe changes in imperative mood, e.g. "make
      xyzzy do frotz" instead of "[This patch] makes xyzzy do frotz".
    - Added queue index to error message in igc_setup_rx_resources().
    - Improved comment about xsk frame size check in igc_xdp_enable_pool(). 
    - Fixed typos.

v1 is here:

    https://patchwork.ozlabs.org/project/intel-wired-lan/cover/20201217202415.77891-1-andre.guedes@intel.com/

Best,
Andre

Andre Guedes (9):
  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 tx/rx stats helpers
  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 | 651 ++++++++++++++++++----
 drivers/net/ethernet/intel/igc/igc_xdp.c  | 107 +++-
 drivers/net/ethernet/intel/igc/igc_xdp.h  |   8 +-
 5 files changed, 673 insertions(+), 128 deletions(-)

-- 
2.29.2



More information about the Intel-wired-lan mailing list