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

2013-08-08 Thread Ming Lei
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

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

2013-08-08 Thread Eric Dumazet
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