net/ice: fix symmetric hash configuration
authorJeff Guo <jia.guo@intel.com>
Mon, 20 Jul 2020 09:13:56 +0000 (17:13 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commitef1d314d90895a528576b5b15a3535fb7384cdab
treeacd081a74a2b4299653686d1031c4a942d665e80
parent21f4a1fb30ffd566769f9a4be8775433c00c44d0
net/ice: fix symmetric hash configuration

Some protocol don't support symmetric hash, need to handle these cases.
When set an invalid symmetric hash rule, just return failed.

Fixes: 4eafe71ee952 ("net/ice: fix RSS type")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_hash.c