aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJussi Kivilinna <[email protected]>2016-08-12 17:29:35 +0300
committerFelipe Balbi <[email protected]>2016-08-25 12:13:10 +0300
commit17f6ed62b0dbe58ca9f527d87612de04ed2cce8b (patch)
tree6a4e7354d1e312250390eeb689a0b30be3af64b4 /tools/perf/scripts/python/sctop.py
parent1de2ebfb8cd522ad7d0deae94ae47592f975e017 (diff)
usb: gadget: net2280: match interrupt endpoints to PIO endpoints and DMA to bulk
With composite gadget (ACM + NCM), USB3380 to host TCP transfer speed dropped to 150 Mbit/s compared to 900 Mbit/s with NCM gadget. Problem seems to be that net2280/USB3380 has only four DMA channels and those DMA channels are allocated to first HW endpoints. Endpoint match function was mapping endpoint names directly, so NCM did not get DMA for bulk endpoints. This patch changed match_ep to prefer DMA enabled hw endpoints for bulk usb endpoints and PIO for interrupt usb endpoints. Signed-off-by: Jussi Kivilinna <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions