summaryrefslogtreecommitdiff
path: root/include/linux/task_work.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2026-07-24 13:15:33 +0800
committerJakub Kicinski <kuba@kernel.org>2026-07-30 16:55:00 -0700
commit88dbfe0d95817423ec7b2fb2d3fa1212fc5019a5 (patch)
treec2e146ed4f50ac8c101a298d7013ec6cba47d8fd /include/linux/task_work.h
parentb4a27a474b5179b7c4a96424bdd5c132cf8a033e (diff)
net: mctp: usb: Allow multiple urbs in flight
Currently, we stop tx queues when we have one urb submitted. This means we will immediately hit dev_hard_start_xmit's tx-queues-off -> NETDEV_TX_BUSY case, and revert to the requeue -> gso_skb single-dequeue path, and no longer be able to pack skbs without an xmit_more indication. Instead, allow a few urbs to be in-flight, with a limit of 16kB of data outstanding (after which we will disable queues). With this, the tx path will cause fewer requeues (and therefore non-packed transfers) under normal loads. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Link: https://patch.msgid.link/20260724-dev-mctp-usb-1-1-v5-12-e66bbba0dbdc@codeconstruct.com.au Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions