Centos-kernel-stream-9/Documentation/usb
Jose Ignacio Tornos Martinez d48307d195 usbip: add USBIP_URB_* URB transfer flags
JIRA: https://issues.redhat.com/browse/RHEL-56984

commit 8f36b3b4e1b58dca7d05e1579019230437e55d43
Author: Shuah Khan <skhan@linuxfoundation.org>
Date:   Tue Aug 23 18:24:56 2022 -0600

    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 <i@zenithal.me>
    Suggested-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
    Link: https://lore.kernel.org/r/20220824002456.94605-1-skhan@linuxfoundation.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2024-11-13 11:16:41 +01:00
..
CREDITS
acm.rst
authorization.rst
chipidea.rst
dwc3.rst
ehci.rst
functionfs.rst Documentation: usb: Document FunctionFS DMABUF API 2024-06-13 13:57:01 -03:00
gadget-testing.rst usb: gadget: f_fs: expose ready state in configfs 2024-06-13 13:56:59 -03:00
gadget_configfs.rst
gadget_hid.rst
gadget_multi.rst
gadget_printer.rst
gadget_serial.rst
index.rst
iuu_phoenix.rst
linux-cdc-acm.inf
linux.inf
mass-storage.rst
misc_usbsevseg.rst
mtouchusb.rst
ohci.rst
raw-gadget.rst
text_files.rst
usb-help.rst
usb-serial.rst
usbdevfs-drop-permissions.c
usbip_protocol.rst usbip: add USBIP_URB_* URB transfer flags 2024-11-13 11:16:41 +01:00
usbmon.rst