The first couple of patches adds helper funcctions to prepare for AF_XDP zero-copy support which comes in the last couple of patches, one each for Rx and TX paths. I will attach performance numbers to this thread in a couple of days. v1->v2: - Use batch XSK APIs (Maciej Fijalkowski) - Follow reverse xmas tree convention and remove the ternary operator use (Simon Horman) Sriram Yagnaraman (4): igb: prepare for AF_XDP zero-copy support igb: Introduce XSK data structures and helpers igb: add AF_XDP zero-copy Rx support igb: add AF_XDP zero-copy Tx support drivers/net/ethernet/intel/igb/Makefile | 2 +- drivers/net/ethernet/intel/igb/igb.h | 35 +- drivers/net/ethernet/intel/igb/igb_main.c | 181 ++++++-- drivers/net/ethernet/intel/igb/igb_xsk.c | 521 ++++++++++++++++++++++ 4 files changed, 693 insertions(+), 46 deletions(-) create mode 100644 drivers/net/ethernet/intel/igb/igb_xsk.c -- 2.34.1