net/iavf: fix VF reset for RSS
authorJeff Guo <jia.guo@intel.com>
Tue, 19 May 2020 14:23:50 +0000 (10:23 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 May 2020 15:12:17 +0000 (17:12 +0200)
commit5ea614254332d8c8b2796835328fd6e623cca793
tree34d43a3e2075b9dbcbe708574efc7f66ec38d86a
parent6cc330b709b0d0b72880d872edf7d13b95649566
net/iavf: fix VF reset for RSS

Since there are some default rss configure in kernel PF/VF but not DPDK
IAVF, if these configurations be modified by VF and then VF reset, this
default rss configurations can not be reset to default by IAVF. So need
to add default rss set in IAVF hash initial process.

Fixes: 7be10c3004be ("net/iavf: add RSS configuration for VF")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Tested-by: Zhiwei He <zhiwei.he@intel.com>
drivers/net/iavf/iavf_hash.c