[PATCH] net/ice/base: fix wrong defines of GTPU UL/DL flag

Junfeng Guo junfeng.guo at intel.com
Fri Nov 12 09:50:29 CET 2021


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")
Cc: stable at dpdk.org

Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>
---
 drivers/net/ice/base/ice_flow.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c
index da27d157c0..bcbb9b12c4 100644
--- a/drivers/net/ice/base/ice_flow.c
+++ b/drivers/net/ice/base/ice_flow.c
@@ -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
-- 
2.25.1



More information about the stable mailing list