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)
commitf90251c8a6d06ed8b072a2a0f13c4b8a6d0cb222
tree26e9356163f8f68f438e823cd99f7fafbbe60b21
parentc9d26423e56ce1ab4d786f92aebecf859d419293
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