net/ice: fix RSS hash update
authorWenjun Wu <wenjun1.wu@intel.com>
Fri, 5 Mar 2021 06:03:24 +0000 (14:03 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 24 Mar 2021 11:50:16 +0000 (12:50 +0100)
commit962fa026889d83f5f0a6880a98d050e0c3e0f6b9
tree13d414517ddd05002335394b92c1477fd71e2bed
parent2a2fd19d46e598a6816be8f81aa62ec372fd495d
net/ice: fix RSS hash update

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

Fixes: 4717a12cfaf1 ("net/ice: initialize and update RSS based on user config")
Cc: stable@dpdk.org
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c