From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18D83A2EFC for ; Fri, 20 Sep 2019 03:36:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 562601F207; Fri, 20 Sep 2019 03:36:43 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 7B7171F1F5 for ; Fri, 20 Sep 2019 03:36:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2019 18:36:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,526,1559545200"; d="scan'208";a="194558607" Received: from dpdk-xuting-main.sh.intel.com ([10.67.117.161]) by FMSMGA003.fm.intel.com with ESMTP; 19 Sep 2019 18:36:36 -0700 From: Ting Xu To: dev@dpdk.org Cc: wenzhuo.lu@intel.com, jingjing.wu@intel.com, xiaolong.ye@intel.com, qiming.yang@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, olivier.matz@6wind.com, qi.z.zhang@intel.com Date: Fri, 20 Sep 2019 08:36:23 +0000 Message-Id: <9f054f84c5ae5cb871d86ace17f7c3ca658fb890.1568968178.git.ting.xu@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v1 1/2] lib/mbuf: add GTP tunnel type flag X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add GTP tunnel type flag in mbuf for future use in GTP checksum offload. Signed-off-by: Ting Xu --- lib/librte_mbuf/rte_mbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 98225ec80..0a5d67d9a 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -251,6 +251,8 @@ extern "C" { /** TX packet with MPLS-in-UDP RFC 7510 header. */ #define PKT_TX_TUNNEL_MPLSINUDP (0x5ULL << 45) #define PKT_TX_TUNNEL_VXLAN_GPE (0x6ULL << 45) +#define PKT_TX_TUNNEL_GTP (0x7ULL << 45) + /** * Generic IP encapsulated tunnel type, used for TSO and checksum offload. * It can be used for tunnels which are not standards or listed above. -- 2.17.1