diff options
| author | Shuah Khan <[email protected]> | 2022-08-23 18:24:56 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-31 09:07:53 +0200 |
| commit | 8f36b3b4e1b58dca7d05e1579019230437e55d43 (patch) | |
| tree | 7950b38e0cd5b9c648d1ec64f39d547f7c1e849e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | dff981842a0b1c05786c4c0cdea3ac80079ddd57 (diff) | |
usbip: add USBIP_URB_* URB transfer flags
USBIP driver packs URB transfer flags in network packets that are
exchanged between Server (usbip_host) and Client (vhci_hcd).
URB_* flags are internal to kernel and could change. Where as USBIP
URB flags exchanged in network packets are USBIP user API must not
change.
Add USBIP_URB* flags to make this an explicit API and change the
client and server to map them. Details as follows:
Client tx path (USBIP_CMD_SUBMIT):
- Maps URB_* to USBIP_URB_* when it sends USBIP_CMD_SUBMIT packet.
Server rx path (USBIP_CMD_SUBMIT):
- Maps USBIP_URB_* to URB_* when it receives USBIP_CMD_SUBMIT packet.
Flags aren't included in USBIP_CMD_UNLINK and USBIP_RET_SUBMIT packets
and no special handling is needed for them in the following cases:
- Server rx path (USBIP_CMD_UNLINK)
- Client rx path & Server tx path (USBIP_RET_SUBMIT)
Update protocol documentation to reflect the change.
Suggested-by: Hongren Zenithal Zheng <[email protected]>
Suggested-by: Alan Stern <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions