]> git.droids-corp.org - dpdk.git/commitdiff
net/ice/base: fix GTPU UL/DL flag
authorJunfeng Guo <junfeng.guo@intel.com>
Fri, 12 Nov 2021 08:50:29 +0000 (16:50 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 16 Nov 2021 00:59:03 +0000 (01:59 +0100)
Just fix the wrong defines of GTPU flags between UL and DL. These two
are defined are misplaced to each other.

Fixes: 8ebb93942b2c ("net/ice/base: add function to set HW profile for raw flow")
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_flow.c

index da27d157c0266d462853ada53ac9466764304093..bcbb9b12c4d55aa1ffe87a3af155c9ced2c842c3 100644 (file)
@@ -2529,9 +2529,9 @@ ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk,
 
 #define FLAG_GTPU_MSK  \
        (FLAG_GTP_EH_PDU | FLAG_GTP_EH_PDU_LINK)
-#define FLAG_GTPU_DW   \
-       (FLAG_GTP_EH_PDU | FLAG_GTP_EH_PDU_LINK)
 #define FLAG_GTPU_UP   \
+       (FLAG_GTP_EH_PDU | FLAG_GTP_EH_PDU_LINK)
+#define FLAG_GTPU_DW   \
        (FLAG_GTP_EH_PDU)
 /**
  * ice_flow_set_hw_prof - Set HW flow profile based on the parsed profile info