All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] r8169: use new macros from netdev_queues.h
@ 2023-04-15  7:18 Heiner Kallweit
  2023-04-15  7:20 ` [PATCH net-next v2 1/3] net: add macro netif_subqueue_completed_wake Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Heiner Kallweit @ 2023-04-15  7:18 UTC (permalink / raw)
  To: Jakub Kicinski, David Miller, Paolo Abeni, Eric Dumazet,
	Realtek linux nic maintainers
  Cc: netdev@vger.kernel.org

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(-)

-- 
2.40.0


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

end of thread, other threads:[~2023-04-16 13:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15  7:18 [PATCH net-next v2 0/3] r8169: use new macros from netdev_queues.h Heiner Kallweit
2023-04-15  7:20 ` [PATCH net-next v2 1/3] net: add macro netif_subqueue_completed_wake Heiner Kallweit
2023-04-15  7:22 ` [PATCH net-next v2 2/3] r8169: use new macro netif_subqueue_maybe_stop in rtl8169_start_xmit Heiner Kallweit
2023-04-16 10:20   ` Leon Romanovsky
2023-04-16 11:33     ` Heiner Kallweit
2023-04-16 13:24       ` Leon Romanovsky
2023-04-15  7:23 ` [PATCH net-next v2 3/3] r8169: use new macro netif_subqueue_completed_wake in the tx cleanup path Heiner Kallweit

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.