net/netvsc: do not configure RSS if disabled
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 30 Apr 2020 19:08:53 +0000 (12:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
commitc6611b77d0613b6dddc0c207f19e6f5574e13d8e
tree048e69e34165278913f50890b021e8130d31d47c
parent019a28912bf0113566ed5599192973bc1a7cbb07
net/netvsc: do not configure RSS if disabled

This fixes the problem where driver would not start if only
have a single Rx queue and multiple Txq. In that case, RSS
should stay disabled.

Fixes: 92d23a57cafe ("net/netvsc: support configuring RSS parameters")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_ethdev.c