Re: RFC: [PATCH 1/3] usb: cdc_ncm: patch for VMware

2013-03-11 Thread Ben Hutchings
On Sun, 2013-03-10 at 22:12 +0100, Loic Domaigne wrote: > On Fri, Mar 08, 2013 at 04:28:59PM -0600, Dan Williams wrote: > > On Fri, 2013-03-08 at 22:03 +0100, Loic Domaigne wrote: > > > > > > +/* maximum Rx URB size */ > > > +/* > > > + * in the original Linux driver, the rx urb size can be up to

Re: RFC: [PATCH 1/3] usb: cdc_ncm: patch for VMware

2013-03-10 Thread Loic Domaigne
On Fri, Mar 08, 2013 at 04:28:59PM -0600, Dan Williams wrote: > On Fri, 2013-03-08 at 22:03 +0100, Loic Domaigne wrote: > > > > +/* maximum Rx URB size */ > > +/* > > + * in the original Linux driver, the rx urb size can be up to > > + * CDC_NCM_NTB_MAX_SIZE_RX. > > + * > > + * Under VMware (as o

Re: RFC: [PATCH 1/3] usb: cdc_ncm: patch for VMware

2013-03-08 Thread Dan Williams
On Fri, 2013-03-08 at 22:03 +0100, Loic Domaigne wrote: > This patch limits the Rx URB size to 16kB if the driver is compiled for a > VMware environment. As of workstation 9, there are some major performance > problems if the Rx URB size exceeds that limit. > > This patch applies to longterm kerne

RFC: [PATCH 1/3] usb: cdc_ncm: patch for VMware

2013-03-08 Thread Loic Domaigne
This patch limits the Rx URB size to 16kB if the driver is compiled for a VMware environment. As of workstation 9, there are some major performance problems if the Rx URB size exceeds that limit. This patch applies to longterm kernel version 3.4.35. Signed-Off-By: Loic Domaigne --- linux-3.4.3