Skip to contentSkip to conversation

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

PATCH Applied Junfeng Guo 2 participants 2 messages Nov 12, 2021 – Nov 16, 2021 Network drivers

lore
Share & tools
lore
#0 lore raw

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

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")
---
 drivers/net/ice/base/ice_flow.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ice/base/ice_flow.c +2 -2
index da27d157c0..bcbb9b12c4 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: Guo, Junfeng <[email protected]>
Sent: Friday, November 12, 2021 4:50 PM
To: Zhang, Qi Z <[email protected]>; Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>
Cc: [email protected]; [email protected]; Yigit, Ferruh <[email protected]>; Guo, Junfeng <[email protected]>; Xu, Ting <[email protected]>
Subject: [PATCH] net/ice/base: fix wrong defines of GTPU UL/DL flag

Quoted 8 lines

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: [email protected]

Applied to dpdk-next-net-intel.

Thanks
Qi