From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4A168A0C4B for ; Fri, 12 Nov 2021 09:52:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FBC54113E; Fri, 12 Nov 2021 09:52:47 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 99FAB40687; Fri, 12 Nov 2021 09:52:44 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10165"; a="233043487" X-IronPort-AV: E=Sophos;i="5.87,228,1631602800"; d="scan'208";a="233043487" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2021 00:52:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,228,1631602800"; d="scan'208";a="453000783" Received: from dpdk-junfengguo-v1.sh.intel.com ([10.67.119.216]) by orsmga003.jf.intel.com with ESMTP; 12 Nov 2021 00:52:40 -0800 From: Junfeng Guo To: qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, stable@dpdk.org, ferruh.yigit@intel.com, junfeng.guo@intel.com, ting.xu@intel.com Subject: [PATCH] net/ice/base: fix wrong defines of GTPU UL/DL flag Date: Fri, 12 Nov 2021 16:50:29 +0800 Message-Id: <20211112085029.3779581-1-junfeng.guo@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 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@dpdk.org Signed-off-by: Junfeng Guo --- 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