Thread (3 messages) flat view 3 messages, 3 authors, 2014-08-05

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

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2014-08-05 20:13:31
Also in: lkml

-----Original Message-----
From: David Miller [mailto:davem@davemloft.net]
Sent: Tuesday, August 5, 2014 4:04 PM
To: thomas1206@gmail.com
Cc: netdev@vger.kernel.org; Haiyang Zhang; KY Srinivasan; olaf@aepfle.de;
jasowang@redhat.com; linux-kernel@vger.kernel.org; driverdev-
devel@linuxdriverproject.org
Subject: Re: [PATCH net-next] hyperv: Increase the buffer length for
netvsc_channel_cb()

From: Haiyang Zhang <redacted>
Date: Fri,  1 Aug 2014 15:55:30 +0000
quoted
When the buffer is too small for a packet from VMBus, a bigger buffer
will be
quoted
allocated in netvsc_channel_cb() and retry reading the packet from
VMBus.
quoted
Increasing this buffer size will reduce the retry overhead.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Dexuan Cui <decui@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help