public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH iwl-next v2 0/4] igb: Add support for AF_XDP zero-copy
@ 2023-07-11 11:47 Sriram Yagnaraman
  2023-07-11 11:47 ` [PATCH iwl-next v2 1/4] igb: prepare for AF_XDP zero-copy support Sriram Yagnaraman
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sriram Yagnaraman @ 2023-07-11 11:47 UTC (permalink / raw)
  Cc: intel-wired-lan, bpf, netdev, Jesse Brandeburg, Tony Nguyen,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Alexei Starovoitov, Daniel Borkmann, Jesper Dangaard Brouer,
	John Fastabend, Björn Töpel, Magnus Karlsson,
	Maciej Fijalkowski, Jonathan Lemon, Sriram Yagnaraman

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-13 10:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 11:47 [PATCH iwl-next v2 0/4] igb: Add support for AF_XDP zero-copy Sriram Yagnaraman
2023-07-11 11:47 ` [PATCH iwl-next v2 1/4] igb: prepare for AF_XDP zero-copy support Sriram Yagnaraman
2023-07-11 11:47 ` [PATCH iwl-next v2 2/4] igb: Introduce XSK data structures and helpers Sriram Yagnaraman
2023-07-11 11:47 ` [PATCH iwl-next v2 3/4] igb: add AF_XDP zero-copy Rx support Sriram Yagnaraman
2023-07-13  9:29   ` Simon Horman
2023-07-13 10:25     ` Sriram Yagnaraman
2023-07-11 11:47 ` [PATCH iwl-next v2 4/4] igb: add AF_XDP zero-copy Tx support Sriram Yagnaraman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox