> -----Original Message----- > From: David Miller [mailto:da...@davemloft.net] > Sent: Monday, August 4, 2014 6:09 PM > To: Haiyang Zhang > Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; > jasow...@redhat.com; linux-ker...@vger.kernel.org; driverdev- > de...@linuxdriverproject.org > Subject: Re: [PATCH net-next] hyperv: Increase the buffer length for > netvsc_channel_cb() > > From: Haiyang Zhang <haiya...@microsoft.com> > Date: Mon, 4 Aug 2014 12:33:45 -0700 > > > When the buffer is too small for a packet from VMBus, a bigger buffer > > will be allocated in netvsc_channel_cb() and retry reading the packet from > VMBus. > > Increasing this buffer size will reduce the retry overhead. > > > > Signed-off-by: Haiyang Zhang <haiya...@microsoft.com> > > Reviewed-by: Dexuan Cui <de...@microsoft.com> > > Now netvsc_device is significantly larger than a page, you should probably > therefore allocate netvsc_device->cb_buffer indirectly instead of inlining it > into > the structure.
I will make this update. Thanks, - Haiyang _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel