]> git.baikalelectronics.ru Git - kernel.git/commit
hyperv: Increase the buffer length for netvsc_channel_cb()
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 15 Aug 2014 19:18:19 +0000 (19:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Aug 2014 19:23:09 +0000 (12:23 -0700)
commit420d09ada1f40670e909e0f2f3bc18a0a2322456
tree26e9356163f8f68f438e823cd99f7fafbbe60b21
parent50e9138e2eb9fc8d0ae96f597dc583657c8b92fa
hyperv: Increase the buffer length for netvsc_channel_cb()

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c