net/netvsc: do RSS across Rx queue only
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 30 Apr 2020 19:08:52 +0000 (12:08 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
commit019a28912bf0113566ed5599192973bc1a7cbb07
treeba67e42b72c3b1d48385ce73cb52570c9068a53f
parent81938ebb542f1ce19254f58705583a7f48a95216
net/netvsc: do RSS across Rx queue only

If number of tx queues is greater than the number of rx queues;
the driver ends up allocating more channels than rx queues.
The problem is that the RSS indirection table is programmed such
that some packets will end up on a channel that would never be
polled. The fix is to limit the RSS indirection table by number
of rx queues not channels.

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