hv_netvsc: defer queue selection to VF
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 14 May 2018 22:32:14 +0000 (15:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:28 +0000 (16:17 +0200)
commitf9aab25e3326842b1986ecbad2af51a75c0dd646
treeb63a7a1d8fdf63e0b586245e1b30859c0c9ad7e9
parent0ac663c5674a8ed1b986e3de82d6b5427536b5ad
hv_netvsc: defer queue selection to VF

[ Commit b3bf5666a51068ad5ddd89a76ed877101ef3bc16 upstream. ]

When VF is used for accelerated networking it will likely have
more queues (and different policy) than the synthetic NIC.
This patch defers the queue policy to the VF so that all the
queues can be used. This impacts workloads like local generate UDP.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/hyperv/netvsc_drv.c