diff options
| author | Jeremy Kerr <jk@codeconstruct.com.au> | 2026-07-24 13:15:27 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-30 16:54:59 -0700 |
| commit | 76a58ffd741719eada095e311961539a82c75e71 (patch) | |
| tree | cf35d19e62fc44b4ed0514540d313a7222541d88 /include/uapi/linux/errqueue.h | |
| parent | aadf5ed03e85736d755162ecbfc4d57d2044be49 (diff) | |
net: mctp: usblib: Add support for multi-packet transmit
The MCTP over USB spec allows us to pack multiple packets in one
transfer. Given the packet max length is 255, and the transfer max
length is 512, we can typically include two full-size packets per
urb submission.
To do this, we allow a struct mctp_usb_tx to persist a tx_ctx,
representing the ongoing context for a transmit. If possible, a TX skb
will be queued to the context and the send deferred until the context is
full, or the device queue reports no more packets.
This typically requires a linear buffer for the 512-byte TX, which we
allocate along with the TX context.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://patch.msgid.link/20260724-dev-mctp-usb-1-1-v5-6-e66bbba0dbdc@codeconstruct.com.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
