common/iavf: fix RSS algorithm type
authorJeff Guo <jia.guo@intel.com>
Wed, 13 May 2020 20:21:27 +0000 (16:21 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
A typo need to be fixed for Simple XOR algorithm configuration.

Fixes: 57094d594324 ("common/iavf: support advanced RSS input set change")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/common/iavf/virtchnl.h

index 3644973..ef41a4f 100644 (file)
@@ -551,7 +551,7 @@ VIRTCHNL_CHECK_STRUCT_LEN(8, virtchnl_rss_hena);
 /* Type of RSS algorithm */
 enum virtchnl_rss_algorithm {
        VIRTCHNL_RSS_ALG_TOEPLITZ_ASYMMETRIC    = 0,
-       VIRTCHNL_RSS_ALG_R_ASYMMETRIC           = 1,
+       VIRTCHNL_RSS_ALG_XOR_ASYMMETRIC         = 1,
        VIRTCHNL_RSS_ALG_TOEPLITZ_SYMMETRIC     = 2,
        VIRTCHNL_RSS_ALG_XOR_SYMMETRIC          = 3,
 };