linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Gur Stavi <gur.stavi@huawei.com>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>
Subject: Re: [PATCH net-next v1 1/1] queue_api: add subqueue variant netif_subqueue_sent
Date: Wed, 21 May 2025 20:35:47 -0700	[thread overview]
Message-ID: <20250521203547.43d73e5a@kernel.org> (raw)
In-Reply-To: <f59625ada94078ffc14f90a7ed6d4df344dc9cb2.1747824040.git.gur.stavi@huawei.com>

On Wed, 21 May 2025 14:06:12 +0300 Gur Stavi wrote:
> Add a new macro, netif_subqueue_sent, which is a wrapper for
> netdev_tx_sent_queue.
> 
> Drivers that use the subqueue variant macros, netif_subqueue_xxx,
> identify queue by index and are not required to obtain
> struct netdev_queue explicitly.
> 
> Such drivers still need to call netdev_tx_sent_queue which is a
> counterpart of netif_subqueue_completed_wake. Allowing drivers to use a
> subqueue variant for this purpose improves their code consistency by
> always referring to queue by its index.

You need to post it with a user in the same series.
-- 
pw-bot: cr

      reply	other threads:[~2025-05-22  3:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21 11:06 [PATCH net-next v1 0/1] queue_api: add subqueue variant netif_subqueue_sent Gur Stavi
2025-05-21 11:06 ` [PATCH net-next v1 1/1] " Gur Stavi
2025-05-22  3:35   ` Jakub Kicinski [this message]

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=20250521203547.43d73e5a@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gur.stavi@huawei.com \
    --cc=horms@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --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).