linux/drivers/net/mctp
Jeremy Kerr 88dbfe0d95 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>
2026-07-30 16:55:00 -07:00
..
Kconfig net: mctp: usblib: Add initial kunit tests 2026-07-30 16:54:59 -07:00
Makefile net: mctp: usblib: Move RX transfer processing to a new mctp-usblib 2026-07-30 16:54:58 -07:00
mctp-i2c.c mctp: i2c: Use named initializers for struct i2c_device_id 2026-05-20 19:01:14 -07:00
mctp-i3c.c net: mctp i3c: clean up notifier and buses if driver register fails 2026-07-21 14:09:57 -07:00
mctp-serial.c mctp: serial: handle zero-length frames to prevent rx buffer overflow 2026-07-23 15:34:00 +02:00
mctp-usb.c net: mctp: usb: Allow multiple urbs in flight 2026-07-30 16:55:00 -07:00
mctp-usblib-test.c net: mctp: usblib: Add initial kunit tests 2026-07-30 16:54:59 -07:00
mctp-usblib.c net: mctp: usblib: Add initial kunit tests 2026-07-30 16:54:59 -07:00