Skip to content

net: provide macros for commonly copied lockless queue stop/wake code

Jakub Kicinski netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: provide macros for commonly copied lockless queue stop/wake codeinclude/net/netdev_queues.h+167 -023 replies
2/3ixgbe: use new queue try_stop/try_wake macrosdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+9 -280 replies
3/3bnxt: use new queue try_stop/try_wake macrosdrivers/net/ethernet/broadcom/bnxt/bnxt.c+8 -331 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichael Chan
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: provide macros for commonly copied lockless queue stop/wake code

Drivers often struggle to implement lockless xmit and cleanup. Add macros wrapping commonly copied implementation. Convert two example drivers.

Jakub Kicinski (3):
net: provide macros for commonly copied lockless queue stop/wake code
ixgbe: use new queue try_stop/try_wake macros
bnxt: use new queue try_stop/try_wake macros

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     |  41 +----
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  37 +---
 include/net/netdev_queues.h                   | 167 ++++++++++++++++++
 3 files changed, 184 insertions(+), 61 deletions(-)
 create mode 100644 include/net/netdev_queues.h
Signature · 1 line
2.39.2