mbox series

[net-next,v2,0/3] r8169: use new macros from netdev_queues.h

Message ID f07fd01b-b431-6d8d-bd14-d447dffd8e64@gmail.com (mailing list archive)
Headers show
Series r8169: use new macros from netdev_queues.h | expand

Message

Heiner Kallweit April 15, 2023, 7:18 a.m. UTC
Add one missing subqueue version of the macros, and use the new macros
in r8169 to simplify the code.

Heiner Kallweit (3):
  net: add macro netif_subqueue_completed_wake
  r8169: use new macro netif_subqueue_maybe_stop in rtl8169_start_xmit
  r8169: use new macro netif_subqueue_completed_wake in the tx cleanup path

v2:
- patch 2: ring doorbell if queue was stopped

 drivers/net/ethernet/realtek/r8169_main.c | 51 ++++++-----------------
 include/net/netdev_queues.h               | 10 +++++
 2 files changed, 23 insertions(+), 38 deletions(-)