++ linux-usb Hi, On Thu, Nov 21, 2024, Homura Akemi wrote: > Hello Mr. Nguyen, > > When I want to bringup a USB mass storage gadget with better performance, I > came across your "f_tcm: Enhance UASP driver" PATCH series (and together with > the target series). > > I am very grateful for your work, the stream feature strongly increase the > performance. Your work is very useful to those who need it. I'm glad it works for you. > > It seems still an unfinished job and long time no updates, so I emailed to > consult if this work still going or just abandoned ? It's not really abandoned. I just haven't really had the time to push the new revision out again. > > I tried to use it on dwc3, though I fix some other problems, the host side xhci > (ubuntu client) using fio for stress testing, and I encountered the following > error on host: > [18836.092159] xhci_hcd 0000:00:0d.0: Transfer error for slot 3 ep 1 on > endpoint > [18836.092211] sd 0:0:0:0: [sda] tag#11 data cmplt err -71 uas-tag 1 inflight: > CMD > [18836.092213] sd 0:0:0:0: [sda] tag#11 CDB: Write(10) 2a 00 02 5e 31 00 00 01 > 00 00 > .....more and mores.... > [18867.369118] scsi host0: uas_eh_device_reset_handler start [18867.453796] usb > 2-3.2: reset SuperSpeed USB device number 4 using xhci_hcd > and the gadget side is keep resetting configfs and printing wait_for_completion > timeout (since dwc3 have ) > > I am not sure whether this is due to the stream exception of dwc3 or some > logical in f_tcm and target. The error is -71. This is transaction error (could be a CRC error). It could be due to the host, device hardware, electrical interference, or even the cable. No logical issue from software. > > I only want to know the staus of the job, no intend to ask for help on the > detailed issues. > > I am new to kernel community, didn't emailed to the thread I worried that it's > no longer valid. > Maybe I can help with it somehow. > > If you feel bothered, please feel free to ignore me. Thank you very much! > > Yours sincerely, > H. Akemi Perhaps I can try to send a new and revised series when the next kernel release come out. You're not the only one who ping'ed me on this. Hopefully you can add your Tested-by tag by then. It would help get the series merged. BR, Thinh