[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1747824040.git.gur.stavi@huawei.com>
Date: Wed, 21 May 2025 14:06:11 +0300
From: Gur Stavi <gur.stavi@...wei.com>
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>, Jakub
Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman
<horms@...nel.org>
Subject: [PATCH net-next v1 0/1] queue_api: add subqueue variant netif_subqueue_sent
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.
Gur Stavi (1):
queue_api: add subqueue variant netif_subqueue_sent
include/net/netdev_queues.h | 8 ++++++++
1 file changed, 8 insertions(+)
base-commit: e6b3527c3b0a676c710e91798c2709cc0538d312
--
2.45.2
Powered by blists - more mailing lists