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

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

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 11:47 [Intel-wired-lan] [PATCH iwl-next v2 0/4] igb: Add support for AF_XDP zero-copy Sriram Yagnaraman
2023-07-11 11:47 ` [Intel-wired-lan] [PATCH iwl-next v2 1/4] igb: prepare for AF_XDP zero-copy support Sriram Yagnaraman
2023-07-11 11:47 ` [Intel-wired-lan] [PATCH iwl-next v2 2/4] igb: Introduce XSK data structures and helpers Sriram Yagnaraman
2023-07-11 11:47 ` [Intel-wired-lan] [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 ` [Intel-wired-lan] [PATCH iwl-next v2 4/4] igb: add AF_XDP zero-copy Tx support Sriram Yagnaraman
2023-07-12 15:37   ` Sriram Yagnaraman

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