All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/2] axienet NAPI improvements
@ 2022-05-11 18:44 ` Robert Hancock
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Hancock @ 2022-05-11 18:44 UTC (permalink / raw)
  To: netdev
  Cc: radhey.shyam.pandey, davem, edumazet, kuba, pabeni, michal.simek,
	linux-arm-kernel, Robert Hancock

Changes to support TX NAPI in the axienet driver, as well as fixing
a potential concurrency issue in the TX ring pointer handling.

Supersedes v5 of the individual patch
"net: axienet: Use NAPI for TX completion path".

Changed since v5: Replaced spinlock with fixes to the way the TX ring
tail pointer is updated, and broke those changes into a separate patch.

Changed since v4: Added locking to protect TX ring tail pointer against
concurrent access by TX transmit and TX poll paths.

Changed since v3: Fixed references to renamed function in comments

Changed since v2: Use separate TX and RX NAPI poll handlers to keep
completion handling on same CPU as TX/RX IRQ. Added hard/soft IRQ
benchmark information to commit message.

Changed since v1: Added benchmark information to commit message, no
code changes.

Robert Hancock (2):
  net: axienet: Be more careful about updating tx_bd_tail
  net: axienet: Use NAPI for TX completion path

 drivers/net/ethernet/xilinx/xilinx_axienet.h  |  54 +++---
 .../net/ethernet/xilinx/xilinx_axienet_main.c | 165 ++++++++++--------
 2 files changed, 124 insertions(+), 95 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-05-11 20:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 18:44 [PATCH net-next v6 0/2] axienet NAPI improvements Robert Hancock
2022-05-11 18:44 ` Robert Hancock
2022-05-11 18:44 ` [PATCH net-next v6 1/2] net: axienet: Be more careful about updating tx_bd_tail Robert Hancock
2022-05-11 18:44   ` Robert Hancock
2022-05-11 20:00   ` Jakub Kicinski
2022-05-11 20:00     ` Jakub Kicinski
2022-05-11 20:40     ` Robert Hancock
2022-05-11 20:40       ` Robert Hancock
2022-05-11 18:44 ` [PATCH net-next v6 2/2] net: axienet: Use NAPI for TX completion path Robert Hancock
2022-05-11 18:44   ` Robert Hancock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.