diff options
author | KY Srinivasan <kys@microsoft.com> | 2014-04-10 00:00:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-11 21:15:12 +0200 |
commit | 1f73db495aaa0f1eb4de84856d9ea46711898c08 (patch) | |
tree | 470f11a45fd0c7e393bd36987216c8d480485cf6 | |
parent | Drivers: net: hyperv: Allocate memory for all possible per-pecket information (diff) | |
download | linux-1f73db495aaa0f1eb4de84856d9ea46711898c08.tar.xz linux-1f73db495aaa0f1eb4de84856d9ea46711898c08.zip |
Drivers: net: hyperv: Negotiate suitable ndis version for offload support
Ws2008R2 supports ndis_version 6.1 and 6.1 is the minimal version required
for various offloads. Negotiate ndis_version 6.1 when on ws2008r2.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/hyperv/netvsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index daddea2654ce..f7629ecefa84 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -344,7 +344,7 @@ static int netvsc_connect_vsp(struct hv_device *device) memset(init_packet, 0, sizeof(struct nvsp_message)); if (net_device->nvsp_version <= NVSP_PROTOCOL_VERSION_4) - ndis_version = 0x00050001; + ndis_version = 0x00060001; else ndis_version = 0x0006001e; |