Thread (1 message) 1 message, 1 author, 2013-08-08

Re: [PATCH v4 4/4] USBNET: ax88179_178a: enable tso if usb host supports sg dma

From: Eric Dumazet <hidden>
Date: 2013-08-08 16:01:42

On Thu, 2013-08-08 at 21:48 +0800, Ming Lei wrote:
This patch enables 'can_dma_sg' flag for ax88179_178a device
if the attached host controller supports building packet from
discontinuous buffers(DMA SG is possible), so TSO can be enabled
and skb fragment buffers can be passed to usb stack via urb->sg
directly.

With the patch, system CPU utilization decreased ~50% and throughput
increased by ~10% when doing iperf client test on one ARM A15 dual
core board.

Cc: Eric Dumazet <redacted>
Cc: Ben Hutchings <bhutchings-s/n/eUQHGBpZroRs9YW3xA@public.gmane.org>
Cc: Grant Grundler <redacted>
Cc: Oliver Neukum <redacted>
Cc: Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
Cc: Freddy Xin <freddy-knRN6Y/kmf1NUHwG+Fw1Kw@public.gmane.org>
Signed-off-by: Ming Lei <redacted>
---
 drivers/net/usb/ax88179_178a.c |    8 ++++++++
 1 file changed, 8 insertions(+)
Acked-by: Eric Dumazet <redacted>

Thanks for doing this !


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help