diff options
author | Haiyang Zhang | 2014-03-10 00:10:59 +0100 |
---|---|---|
committer | David S. Miller | 2014-03-10 21:11:26 +0100 |
commit | 99d3016de4f2a29635f5382b0e9bd0e5f2151487 (patch) | |
tree | 326bb8a6aedb25542cde76531f59ff4b7c9b76ab /drivers/net/hyperv/hyperv_net.h | |
parent | 6lowpan: reassembly: fix access of ctl table entry (diff) | |
download | kernel-qcow2-linux-99d3016de4f2a29635f5382b0e9bd0e5f2151487.tar.gz kernel-qcow2-linux-99d3016de4f2a29635f5382b0e9bd0e5f2151487.tar.xz kernel-qcow2-linux-99d3016de4f2a29635f5382b0e9bd0e5f2151487.zip |
hyperv: Change the receive buffer size for legacy hosts
Due to a bug in the Hyper-V host verion 2008R2, we need to use a slightly smaller
receive buffer size, otherwise the buffer will not be accepted by the legacy hosts.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 7d06b4959383..13010b4dae5b 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -513,6 +513,7 @@ struct nvsp_message { #define NETVSC_MTU 65536 #define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*16) /* 16MB */ +#define NETVSC_RECEIVE_BUFFER_SIZE_LEGACY (1024*1024*15) /* 15MB */ #define NETVSC_RECEIVE_BUFFER_ID 0xcafe |