net/iavf: fix default RSS configuration
authorXuan Ding <xuan.ding@intel.com>
Sun, 31 Jan 2021 10:47:24 +0000 (10:47 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 2 Feb 2021 23:48:11 +0000 (00:48 +0100)
commitc678299594a817c62c5d50ec61f444d2e30f5619
tree60dc4a8a70482a3d067551f59410b4d715269466
parentf6f2d22401531ba06f5a1c967853453b0cbb8a9d
net/iavf: fix default RSS configuration

Add advanced RSS offloads check due to some legacy driver (kernel/DPDK
PF) does not support virtual channel command VIRTCHNL_OP_RSS_HENA with
hena = 0 and VIRTCHNL_OP_ADD_RSS_CFG.

Fixes: 95f2f0e9fc2a ("net/iavf: improve default RSS")

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c