When VF closed, the VF should notify PF to close/reset relative resources from PF side.
Check the VF RSS offload flag and ignore relative operation when iavf hash uninit to avoid reset/close error. --- v3: * changed code pattern for 'ice_hash_uninit'. v2: * split to 2 patches; * added patch backport: commit 0eaa1f8c75 Steve Yang (2): net/iavf: fix reset VF doesn't notify PF to reset net/iavf: fix the RSS error when VF port closed drivers/common/iavf/iavf_prototype.h | 1 + drivers/common/iavf/version.map | 1 + drivers/net/iavf/iavf_ethdev.c | 57 ++++++++++++++++++++++++++-- drivers/net/iavf/iavf_hash.c | 6 +++ 4 files changed, 62 insertions(+), 3 deletions(-) -- 2.17.1