net/iavf: fix RSS initialization
authorXuan Ding <xuan.ding@intel.com>
Sun, 25 Apr 2021 08:05:50 +0000 (08:05 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 26 Apr 2021 00:51:48 +0000 (02:51 +0200)
commit91fba40ea9b9c3f0ff7f583fbe5627188a49b24e
tree2400bc0d390af5a4642d9b12de01827e345f80af
parentae69b2930035509664b618c320cb03f3417be4f6
net/iavf: fix RSS initialization

When the default RSS is disabled during initialization, the RSS should
be turned on when creating RSS rule.

This patch adds support to configure RSS key and lookup table even
when the default RSS is disabled.

Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: stable@dpdk.org
Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c