Re: [PATCH v4 3/4] USBNET: support DMA SG
From: Eric Dumazet <hidden>
Date: 2013-08-08 16:27:35
On Thu, 2013-08-08 at 21:48 +0800, Ming Lei wrote:
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.
quoted hunk
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 8fbc008..9cb2fe8 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h@@ -35,6 +35,7 @@ struct usbnet { unsigned char suspend_count; unsigned char pkt_cnt, pkt_err; unsigned short rx_qlen, tx_qlen; + unsigned can_dma_sg:1;
We try to use "unsigned int" instead of plain "unsigned", but its a minor point and should not block your patches. Apart from this : Reviewed-by: Eric Dumazet <redacted> -- 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