netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/6][pull request] idpf: XDP chapter II: convert Tx completion to libeth
@ 2024-09-09 20:53 Tony Nguyen
  2024-09-09 20:53 ` [PATCH net-next v3 1/6] libeth: add Tx buffer completion helpers Tony Nguyen
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Tony Nguyen @ 2024-09-09 20:53 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet, netdev
  Cc: Tony Nguyen, aleksander.lobakin, przemyslaw.kitszel, joshua.a.hay,
	michal.kubiak, nex.sw.ncis.osdt.itp.upstreaming, willemb

Alexander Lobakin says:

XDP for idpf is currently 5 chapters:
* convert Rx to libeth;
* convert Tx completion to libeth (this);
* generic XDP and XSk code changes;
* actual XDP for idpf via libeth_xdp;
* XSk for idpf (^).

Part II does the following:
* adds generic libeth Tx completion routines;
* converts idpf to use generic libeth Tx comp routines;
* fixes Tx queue timeouts and robustifies Tx completion in general;
* fixes Tx event/descriptor flushes (writebacks).

Most idpf patches again remove more lines than adds.
Generic Tx completion helpers and structs are needed as libeth_xdp
(Ch. III) makes use of them. WB_ON_ITR is needed since XDPSQs don't
want to work without it at all. Tx queue timeouts fixes are needed
since without them, it's way easier to catch a Tx timeout event when
WB_ON_ITR is enabled.
---
v3:
- drop the stats implementation. It's not generic, uses old Ethtool
  interfaces and is written using macro templates which made it barely
  readable (Kuba).
- replace `/* <multi-line comment>` with `/*\n * <multi-line comment>`
  since the special rule for netdev was removed.

v2: https://lore.kernel.org/netdev/20240819223442.48013-1-anthony.l.nguyen@intel.com
- Rebased

v1: https://lore.kernel.org/netdev/20240814173309.4166149-1-anthony.l.nguyen@intel.com/

iwl: https://lore.kernel.org/intel-wired-lan/20240904154748.2114199-1-aleksander.lobakin@intel.com/

This series contains updates to

The following are changes since commit bfba7bc8b7c2c100b76edb3a646fdce256392129:
  Merge branch 'unmask-dscp-part-four'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 200GbE

Alexander Lobakin (3):
  libeth: add Tx buffer completion helpers
  idpf: convert to libeth Tx buffer completion
  netdevice: add netdev_tx_reset_subqueue() shorthand

Joshua Hay (2):
  idpf: refactor Tx completion routines
  idpf: enable WB_ON_ITR

Michal Kubiak (1):
  idpf: fix netdev Tx queue stop/wake

 drivers/net/ethernet/intel/idpf/idpf_dev.c    |   2 +
 .../ethernet/intel/idpf/idpf_singleq_txrx.c   | 110 +++--
 drivers/net/ethernet/intel/idpf/idpf_txrx.c   | 395 ++++++++----------
 drivers/net/ethernet/intel/idpf/idpf_txrx.h   |  92 ++--
 drivers/net/ethernet/intel/idpf/idpf_vf_dev.c |   2 +
 include/linux/netdevice.h                     |  13 +-
 include/net/libeth/tx.h                       | 129 ++++++
 include/net/libeth/types.h                    |  25 ++
 8 files changed, 442 insertions(+), 326 deletions(-)
 create mode 100644 include/net/libeth/tx.h
 create mode 100644 include/net/libeth/types.h

-- 
2.42.0


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

end of thread, other threads:[~2024-09-12  3:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 20:53 [PATCH net-next v3 0/6][pull request] idpf: XDP chapter II: convert Tx completion to libeth Tony Nguyen
2024-09-09 20:53 ` [PATCH net-next v3 1/6] libeth: add Tx buffer completion helpers Tony Nguyen
2024-09-09 20:53 ` [PATCH net-next v3 2/6] idpf: convert to libeth Tx buffer completion Tony Nguyen
2024-09-09 20:53 ` [PATCH net-next v3 3/6] netdevice: add netdev_tx_reset_subqueue() shorthand Tony Nguyen
2024-09-09 20:53 ` [PATCH net-next v3 4/6] idpf: refactor Tx completion routines Tony Nguyen
2024-09-09 20:53 ` [PATCH net-next v3 5/6] idpf: fix netdev Tx queue stop/wake Tony Nguyen
2024-09-09 20:53 ` [PATCH net-next v3 6/6] idpf: enable WB_ON_ITR Tony Nguyen
2024-09-10 14:16 ` [PATCH net-next v3 0/6][pull request] idpf: XDP chapter II: convert Tx completion to libeth Jakub Kicinski
2024-09-10 16:46   ` Tony Nguyen
2024-09-10 21:44     ` Jakub Kicinski
2024-09-10 23:05       ` Tony Nguyen
2024-09-12  3:50 ` 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;
as well as URLs for NNTP newsgroup(s).