]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Fix the real number of queues of non-vRSS cases
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 22 Sep 2017 22:31:38 +0000 (15:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Sep 2017 03:20:51 +0000 (20:20 -0700)
commitbb575737499f98448a19f6b63920a99389345ed0
tree7aec9cbc2d4067ea8c72464ef6ae89c7722f0558
parent44b05d788b16a08cc8fe11a1f808c0d8f78b0474
hv_netvsc: Fix the real number of queues of non-vRSS cases

For older hosts without multi-channel (vRSS) support, and some error
cases, we still need to set the real number of queues to one.
This patch adds this missing setting.

Fixes: e8f6a1a93b8a ("hv_netvsc: fix deadlock on hotplug")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c