net/iavf: fix default RSS hash configuration
authorJeff Guo <jia.guo@intel.com>
Tue, 4 Aug 2020 02:58:31 +0000 (10:58 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Aug 2020 17:36:41 +0000 (19:36 +0200)
commit6777e5aaf24c544812caa3af8a9028e6f863c6d7
treed790994d4dc5f879a8697c976654d1fa12ab6418
parent4339ea2979b06ad6e1ce2582a7b15faedebbd838
net/iavf: fix default RSS hash configuration

Different device has different hash capability, it should not be
expected that all hash set would be successful to set into all
devices by default. So remove the return checking when hash default
set. And remove gtpu hash default set, iavf only enable hash for
general protocols.

Fixes: c94366cfc641 ("net/iavf: add GTPU in default hash")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Tested-by: Wei Xie <weix.xie@intel.com>
drivers/net/iavf/iavf_hash.c