From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH v4 4/4] USBNET: ax88179_178a: enable tso if usb host supports sg dma Date: Thu, 08 Aug 2013 09:01:42 -0700 Message-ID: <1375977702.4004.107.camel@edumazet-glaptop> References: <1375969705-24877-1-git-send-email-ming.lei@canonical.com> <1375969705-24877-5-git-send-email-ming.lei@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , Greg Kroah-Hartman , Oliver Neukum , Sarah Sharp , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ben Hutchings , Grant Grundler , Alan Stern , Freddy Xin To: Ming Lei Return-path: In-Reply-To: <1375969705-24877-5-git-send-email-ming.lei-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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 > Cc: Ben Hutchings > Cc: Grant Grundler > Cc: Oliver Neukum > Cc: Alan Stern > Cc: Freddy Xin > Signed-off-by: Ming Lei > --- > drivers/net/usb/ax88179_178a.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Acked-by: Eric Dumazet 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