]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Optimise the DWC OTG host mode driver's receive path:
authorhselasky <hselasky@FreeBSD.org>
Tue, 28 Jul 2015 07:30:07 +0000 (07:30 +0000)
committerhselasky <hselasky@FreeBSD.org>
Tue, 28 Jul 2015 07:30:07 +0000 (07:30 +0000)
commit8c9e4ed515459342b08d3cf313e7f84584f3375c
tree6afde489dc83c8ba653b8c5f2432f629e68409c6
parent45167e7aef77c4a883e69c3240cf66f6313bed84
Optimise the DWC OTG host mode driver's receive path:

Remove NAKing limit and pause IN and OUT transactions for 125us in
case of NAK response for BULK and CONTROL endpoints. This gets the
receive latency down and improves USB network throughput at the cost
of some CPU usage.

MFC after: 1 month
sys/dev/usb/controller/dwc_otg.c
sys/dev/usb/controller/dwc_otg.h