BPF List
 help / color / mirror / Atom feed
* [PATCH net-next 00/13][pull request] idpf: add XDP support
@ 2025-09-08 19:57 Tony Nguyen
  2025-09-08 19:57 ` [PATCH net-next 01/13] xdp, libeth: make the xdp_init_buff() micro-optimization generic Tony Nguyen
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Tony Nguyen @ 2025-09-08 19:57 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet, andrew+netdev, netdev
  Cc: Tony Nguyen, aleksander.lobakin, michal.kubiak,
	maciej.fijalkowski, magnus.karlsson, przemyslaw.kitszel, ast,
	daniel, hawk, john.fastabend, horms, sdf,
	nxne.cnse.osdt.itp.upstreaming, bpf

Alexander Lobakin says:

Add XDP support (w/o XSk for now) to the idpf driver using the libeth_xdp
sublib. All possible verdicts, .ndo_xdp_xmit(), multi-buffer etc. are here.
In general, nothing outstanding comparing to ice, except performance --
let's say, up to 2x for .ndo_xdp_xmit() on certain platforms and
scenarios.
idpf doesn't support VLAN Rx offload, so only the hash hint is
available for now.

Patches 1-7 are prereqs, without which XDP would either not work at all or
work slower/worse/...
---
IWL: https://lore.kernel.org/intel-wired-lan/20250826155507.2138401-1-aleksander.lobakin@intel.com/

The following are changes since commit c6142e1913de563ab772f7b0e4ae78d6de9cc5b1:
  Merge branch '10g-qxgmii-for-aqr412c-felix-dsa-and-lynx-pcs-driver'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 200GbE

Alexander Lobakin (9):
  xdp, libeth: make the xdp_init_buff() micro-optimization generic
  idpf: fix Rx descriptor ready check barrier in splitq
  idpf: use a saner limit for default number of queues to allocate
  idpf: link NAPIs to queues
  idpf: add support for nointerrupt queues
  idpf: use generic functions to build xdp_buff and skb
  idpf: add support for XDP on Rx
  idpf: add support for .ndo_xdp_xmit()
  idpf: add XDP RSS hash hint

Michal Kubiak (4):
  idpf: add 4-byte completion descriptor definition
  idpf: remove SW marker handling from NAPI
  idpf: prepare structures to support XDP
  idpf: implement XDP_SETUP_PROG in ndo_bpf for splitq

 drivers/net/ethernet/intel/idpf/Kconfig       |   2 +-
 drivers/net/ethernet/intel/idpf/Makefile      |   2 +
 drivers/net/ethernet/intel/idpf/idpf.h        |  31 +-
 drivers/net/ethernet/intel/idpf/idpf_dev.c    |  11 +-
 .../net/ethernet/intel/idpf/idpf_lan_txrx.h   |   6 +-
 drivers/net/ethernet/intel/idpf/idpf_lib.c    |  67 ++-
 drivers/net/ethernet/intel/idpf/idpf_main.c   |   1 +
 .../ethernet/intel/idpf/idpf_singleq_txrx.c   | 110 ++---
 drivers/net/ethernet/intel/idpf/idpf_txrx.c   | 424 ++++++++--------
 drivers/net/ethernet/intel/idpf/idpf_txrx.h   | 140 ++++--
 drivers/net/ethernet/intel/idpf/idpf_vf_dev.c |  11 +-
 .../net/ethernet/intel/idpf/idpf_virtchnl.c   | 173 ++++---
 .../net/ethernet/intel/idpf/idpf_virtchnl.h   |   1 -
 drivers/net/ethernet/intel/idpf/xdp.c         | 454 ++++++++++++++++++
 drivers/net/ethernet/intel/idpf/xdp.h         | 172 +++++++
 include/net/libeth/xdp.h                      |  11 +-
 include/net/xdp.h                             |  28 +-
 17 files changed, 1217 insertions(+), 427 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/idpf/xdp.c
 create mode 100644 drivers/net/ethernet/intel/idpf/xdp.h

-- 
2.47.1


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

end of thread, other threads:[~2025-09-10  1:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 19:57 [PATCH net-next 00/13][pull request] idpf: add XDP support Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 01/13] xdp, libeth: make the xdp_init_buff() micro-optimization generic Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 02/13] idpf: fix Rx descriptor ready check barrier in splitq Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 03/13] idpf: use a saner limit for default number of queues to allocate Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 04/13] idpf: link NAPIs to queues Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 05/13] idpf: add 4-byte completion descriptor definition Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 06/13] idpf: remove SW marker handling from NAPI Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 07/13] idpf: add support for nointerrupt queues Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 08/13] idpf: prepare structures to support XDP Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 09/13] idpf: implement XDP_SETUP_PROG in ndo_bpf for splitq Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 10/13] idpf: use generic functions to build xdp_buff and skb Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 11/13] idpf: add support for XDP on Rx Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 12/13] idpf: add support for .ndo_xdp_xmit() Tony Nguyen
2025-09-08 19:57 ` [PATCH net-next 13/13] idpf: add XDP RSS hash hint Tony Nguyen
2025-09-10  1:50 ` [PATCH net-next 00/13][pull request] idpf: add XDP support patchwork-bot+netdevbpf

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