net/iavf: relax RSS virtual channel commands
authorAlvin Zhang <alvinx.zhang@intel.com>
Mon, 26 Jul 2021 09:17:24 +0000 (17:17 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 27 Jul 2021 11:56:22 +0000 (13:56 +0200)
commit149211698ccf732f14024047b086ee8fbbb1b02e
tree107f50ca30f924fae1837ac9281813903013208b
parented21e06e44ad7fe5dfa4b8ed713e29833a474fa9
net/iavf: relax RSS virtual channel commands

Kernel PF may not respond to virtual channel commands
VIRTCHNL_OP_GET_RSS_HENA_CAPS and VIRTCHNL_OP_SET_RSS_HENA, which
will cause VF to fail to start.

RSS offload type configuration is not a necessary feature for VF,
so in order to improve VF compatibility, in this patch the PMD will
ignore the error result of above two commands and will print warnings
instead.

Fixes: 5a038d19962d ("net/iavf: fix RSS configuration on i40e VF")
Cc: stable@dpdk.org
Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c