[PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

Haiyang Zhang haiyangz at microsoft.com
Tue Aug 5 20:12:42 UTC 2014



> -----Original Message-----
> From: David Miller [mailto:davem at davemloft.net]
> Sent: Tuesday, August 5, 2014 4:04 PM
> To: thomas1206 at gmail.com
> Cc: netdev at vger.kernel.org; Haiyang Zhang; KY Srinivasan; olaf at aepfle.de;
> jasowang at redhat.com; linux-kernel at vger.kernel.org; driverdev-
> devel at linuxdriverproject.org
> Subject: Re: [PATCH net-next] hyperv: Increase the buffer length for
> netvsc_channel_cb()
> 
> From: Haiyang Zhang <thomas1206 at gmail.com>
> Date: Fri,  1 Aug 2014 15:55:30 +0000
> 
> > 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 <haiyangz at microsoft.com>
> > Reviewed-by: Dexuan Cui <decui at microsoft.com>
> 
> I'm not applying this, sorry.
> 
> I said that because the structure that contains this buffer is now
> larger than a page, you should allocate the CB buffer externally
> via another kmalloc() or via the page allocator.

This must have been re-sent accidentally when we are updating our 
Email server... I will update the patch and re-submit it soon.

Thanks,
- Haiyang



More information about the devel mailing list