Drivers: net: hyperv: Negotiate suitable ndis version for offload support
authorKY Srinivasan <kys@microsoft.com>
Wed, 9 Apr 2014 22:00:46 +0000 (15:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Apr 2014 19:15:12 +0000 (15:15 -0400)
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>
drivers/net/hyperv/netvsc.c

index daddea2654ce4ec6ee3e3db66d45c9edb9ceb35f..f7629ecefa84a6d9c2d1cbb7b308a3d46a359915 100644 (file)
@@ -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;