[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250521203547.43d73e5a@kernel.org>
Date: Wed, 21 May 2025 20:35:47 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Gur Stavi <gur.stavi@...wei.com>
Cc: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, "David S.
Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo
Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>
Subject: Re: [PATCH net-next v1 1/1] queue_api: add subqueue variant
netif_subqueue_sent
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
Powered by blists - more mailing lists