usb: dwc3: gadget: Ring IPA GSI doorbell with next HWO TRB
IPA GSI doorbell needs to be rung with the next TRB that
USB hardware is going to process (not the completed one).
However, software rings doorbell with the completed TRB
(HWO=0). This causes IPA to be always off by 1 TRB when
transfer is completed, resulting in high ping RTT (round
trip time.
Fix this doorbell handling logic in USB software by
ringing doorbell with (n+1) TRB if 'n'th TRB got completed.
Change-Id: I0aaf8691bf6e9ab7eae5b304d6c925934922be30
Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment