summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorGur Stavi <gur.stavi@huawei.com>2025-06-09 18:07:52 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-10 15:27:18 -0700
commit2bc64b89c4c4073ee8f9543373c64da9b6bbe5e0 (patch)
treed0025c1efba74d63938a94a930415705d989911e /scripts/lib
parent7ab23f70999047bd258831a08a3b2fdfd905e86e (diff)
queue_api: add subqueue variant netif_subqueue_sent
Add a new function, 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. Signed-off-by: Gur Stavi <gur.stavi@huawei.com> Link: https://patch.msgid.link/909a5c92db49cad39f0954d6cb86775e6480ef4c.1749038081.git.gur.stavi@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions