Re: [PATCH v1 3/4] USBNET: support DMA SG

2013-08-03 Thread David Miller
From: Oliver Neukum oneu...@suse.de Date: Sat, 03 Aug 2013 07:56:53 +0200 On Sat, 2013-08-03 at 10:46 +0800, Ming Lei wrote: @@ -1268,10 +1298,14 @@ netdev_tx_t usbnet_start_xmit (struct sk_buff *skb, entry = (struct skb_data *) skb-cb; entry-urb = urb; entry-dev = dev; -

Re: [PATCH v1 3/4] USBNET: support DMA SG

2013-08-03 Thread Ming Lei
On Sun, Aug 4, 2013 at 3:07 AM, David Miller da...@davemloft.net wrote: From: Oliver Neukum oneu...@suse.de Date: Sat, 03 Aug 2013 07:56:53 +0200 On Sat, 2013-08-03 at 10:46 +0800, Ming Lei wrote: @@ -1268,10 +1298,14 @@ netdev_tx_t usbnet_start_xmit (struct sk_buff *skb, entry =

[PATCH v1 3/4] USBNET: support DMA SG

2013-08-02 Thread Ming Lei
This patch introduces support of DMA SG if the USB host controller which usbnet device is attached to is capable of building packet from discontinuous buffers. The patch supports passing the skb fragment buffers to usb stack directly via urb-sg. Cc: Eric Dumazet eric.duma...@gmail.com Cc: Ben