On 2019-06-27 21:08, Stephane D'Alu wrote:
Is it allowed to:

- create/use several usb_xfer for the same type/endpoint/direction

Yes, they will be serialized in the submitted order.

- in the callback (usb_config) to write several packets
    (multiple call to usbd_transfer_submit), with the same page_cache?

Yes, no problem. The buffer is freed once you free the USB transfer.

--HPS
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to