From: Heiner Kallweit <hkallweit1@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>,
David Miller <davem@davemloft.net>,
Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>,
Realtek linux nic maintainers <nic_swsd@realtek.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: [PATCH net-next v2 0/3] r8169: use new macros from netdev_queues.h
Date: Sat, 15 Apr 2023 09:18:44 +0200 [thread overview]
Message-ID: <f07fd01b-b431-6d8d-bd14-d447dffd8e64@gmail.com> (raw)
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
next reply other threads:[~2023-04-15 7:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-15 7:18 Heiner Kallweit [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f07fd01b-b431-6d8d-bd14-d447dffd8e64@gmail.com \
--to=hkallweit1@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.com \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).