net/iavf: fix RSS hash update
authorWenjun Wu <wenjun1.wu@intel.com>
Mon, 15 Mar 2021 00:59:53 +0000 (08:59 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 24 Mar 2021 11:56:54 +0000 (12:56 +0100)
commite1a803ba43b99f4fb4e3f6212aea7b46c4ebf3e8
tree42315c832150dc3c8e06a8e1cb1e927424601b98
parent962fa026889d83f5f0a6880a98d050e0c3e0f6b9
net/iavf: fix RSS hash update

This patch change judgment statements to disable RSS for vf
when users need to disable RSS or RSS hash function configured
is not supported.

Fixes: 95f2f0e9fc2a ("net/iavf: improve default RSS")
Cc: stable@dpdk.org
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c