lkml.org 
[lkml]   [2014]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()
From
From: Haiyang Zhang <haiyangz@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 <haiyangz@microsoft.com>
> Reviewed-by: Dexuan Cui <decui@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.


\
 
 \ /
  Last update: 2014-08-05 00:41    [W:0.268 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site