diff options
| author | Jeremy Kerr <[email protected]> | 2025-02-21 00:56:58 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-22 00:45:21 +0000 |
| commit | 0791c0327a6e4e7691d6fc5ad334c215de04dcc9 (patch) | |
| tree | cb4145a2ca1281102180d2a974f7502ec05cd053 /arch/s390/lib/test_modules_helpers.c | |
| parent | usb: Add base USB MCTP definitions (diff) | |
| download | kernel-0791c0327a6e4e7691d6fc5ad334c215de04dcc9.tar.gz kernel-0791c0327a6e4e7691d6fc5ad334c215de04dcc9.zip | |
net: mctp: Add MCTP USB transport driver
Add an implementation for DMTF DSP0283, which defines a MCTP-over-USB
transport. As per that spec, we're restricted to full speed mode,
requiring 512-byte transfers.
Each MCTP-over-USB interface is a peer-to-peer link to a single MCTP
endpoint, so no physical addressing is required (of course, that MCTP
endpoint may then bridge to further MCTP endpoints). Consequently,
interfaces will report with no lladdr data:
# mctp link
dev lo index 1 address 00:00:00:00:00:00 net 1 mtu 65536 up
dev mctpusb0 index 6 address none net 1 mtu 68 up
This is a simple initial implementation, with single rx & tx urbs, and
no multi-packet tx transfers - although we do accept multi-packet rx
from the device.
Includes suggested fixes from Santosh Puranik <[email protected]>.
Signed-off-by: Jeremy Kerr <[email protected]>
Cc: Santosh Puranik <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions
