net/iavf: fix RSS algorithm configuration
authorJeff Guo <jia.guo@intel.com>
Wed, 13 May 2020 20:21:28 +0000 (16:21 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commitaeef461fd68e22bf354c4cc623c4115d6b21aae2
tree4c1cffaccbaa74b8e9d1ee93c937485b26468ce2
parent56e15e83b8e2dac99f683913ab180e6b011d1450
net/iavf: fix RSS algorithm configuration

When configure RSS rule, the etherdev rss hash function type should be
mapped to the corresponding virtchnl rss algorithm type.

Fixes: 7be10c3004be ("net/iavf: add RSS configuration for VF")

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