diff options
author | 2017-01-24 13:06:03 -0800 | |
---|---|---|
committer | 2017-01-24 16:28:58 -0500 | |
commit | 2b01888d1b453096b5b13c0d4b73e630411198b4 (patch) | |
tree | b9db34795406617aa634321810e4e8f41ed57519 /drivers/net/hyperv/hyperv_net.h | |
parent | netvsc: add ethtool ops to get/set RSS key (diff) | |
download | linux-2b01888d1b453096b5b13c0d4b73e630411198b4.tar.gz linux-2b01888d1b453096b5b13c0d4b73e630411198b4.tar.bz2 linux-2b01888d1b453096b5b13c0d4b73e630411198b4.zip |
netvsc: allow more flexible setting of number of channels
This allows for number of channels to be managed in a manner similar
to existing hardware drivers. It also removes the restriction of
maximum 8 channels and allows as many as the host will allow.
Signed-off-by: Stephen Hemminger <sthemmin@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 5bf21418bbe5..5a652eb8a619 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -628,6 +628,7 @@ struct nvsp_message { #define VRSS_SEND_TAB_SIZE 16 #define VRSS_CHANNEL_MAX 64 +#define VRSS_CHANNEL_DEFAULT 8 #define RNDIS_MAX_PKT_DEFAULT 8 #define RNDIS_PKT_ALIGN_DEFAULT 8 |