All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] MACB NAPI improvements
@ 2022-05-09 19:46 Robert Hancock
  2022-05-09 19:46 ` [PATCH net-next v2 1/2] net: macb: simplify/cleanup NAPI reschedule checking Robert Hancock
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Hancock @ 2022-05-09 19:46 UTC (permalink / raw)
  To: netdev
  Cc: nicolas.ferre, claudiu.beznea, davem, edumazet, kuba, pabeni,
	linux, tomas.melin, harinik, Robert Hancock

Simplify the logic in the Cadence MACB/GEM driver for determining
when to reschedule NAPI processing, and update it to use NAPI for the
TX path as well as the RX path.

Changes since v1: Changed to use separate TX and RX NAPI instances and
poll functions to avoid unnecessary checks of the other ring (TX/RX)
states during polling and to use budget handling for both RX and TX.
Fixed locking to protect against concurrent access to TX ring on
TX transmit and TX poll paths.

Robert Hancock (2):
  net: macb: simplify/cleanup NAPI reschedule checking
  net: macb: use NAPI for TX completion path

 drivers/net/ethernet/cadence/macb.h      |   6 +-
 drivers/net/ethernet/cadence/macb_main.c | 291 +++++++++++++++--------
 2 files changed, 191 insertions(+), 106 deletions(-)

-- 
2.31.1


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 19:46 [PATCH net-next v2 0/2] MACB NAPI improvements Robert Hancock
2022-05-09 19:46 ` [PATCH net-next v2 1/2] net: macb: simplify/cleanup NAPI reschedule checking Robert Hancock
2022-05-09 19:46 ` [PATCH net-next v2 2/2] net: macb: use NAPI for TX completion path Robert Hancock
2022-05-11 23:20 ` [PATCH net-next v2 0/2] MACB NAPI improvements patchwork-bot+netdevbpf

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.