diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2018-04-17 15:31:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-18 21:20:44 -0400 |
commit | 0dcec221dd39d4d48fe6b22b4cacf2f49b95ffa0 (patch) | |
tree | f2778693557856e7ac8e87503f434a33d0fb9543 /drivers/net/hyperv/netvsc.c | |
parent | 0fe554a46a0ff855376053c7e4204673b7879f05 (diff) | |
download | linux-0dcec221dd39d4d48fe6b22b4cacf2f49b95ffa0.tar.bz2 |
hv_netvsc: Add NetVSP v6 and v6.1 into version negotiation
This patch adds the NetVSP v6 and 6.1 message structures, and includes
these versions into NetVSC/NetVSP version negotiation process.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc.c')
-rw-r--r-- | drivers/net/hyperv/netvsc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 04f611e6f678..e7308958b7a9 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -525,7 +525,8 @@ static int netvsc_connect_vsp(struct hv_device *device, struct net_device *ndev = hv_get_drvdata(device); static const u32 ver_list[] = { NVSP_PROTOCOL_VERSION_1, NVSP_PROTOCOL_VERSION_2, - NVSP_PROTOCOL_VERSION_4, NVSP_PROTOCOL_VERSION_5 + NVSP_PROTOCOL_VERSION_4, NVSP_PROTOCOL_VERSION_5, + NVSP_PROTOCOL_VERSION_6, NVSP_PROTOCOL_VERSION_61 }; struct nvsp_message *init_packet; int ndis_version, i, ret; |