net/ice: fix hash action validation
authorJeff Guo <jia.guo@intel.com>
Mon, 27 Jul 2020 07:58:31 +0000 (15:58 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000 (00:41 +0200)
commit71fa6a99643d167df38605d53c3573a435107d01
tree0a2da66bd0ec858156ccd177a2d0c7db5ddf220d
parentc43d7ceb99993e98ca6bc0248aa59dbd2a8fe940
net/ice: fix hash action validation

An invalid rule should not be validated successfully. If the rule is not
in the supporting list, just return failure to application.

Fixes: 5ad3db8d4bdd ("net/ice: enable advanced RSS")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_hash.c