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 43289A318B for ; Fri, 18 Oct 2019 10:38:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1155C1C035; Fri, 18 Oct 2019 10:38:15 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id B1B2B1C033 for ; Fri, 18 Oct 2019 10:38:13 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id z9so5244967wrl.11 for ; Fri, 18 Oct 2019 01:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QvW0hF6OECYEdkkLEjh+0utCYcbG/pAjjaG9b30fS1c=; b=XvkHPodPN2oE61t6EEp4YG3pZK52wU4CNLcYB26h6wHvbACjbu6MupCPHxn9X3ynA7 uRIubZU7rNf5zPf/qb2WcF6v7Je/5MGJcm34L840jMVo461cKdpVbXKMRCjuF0jqbyp8 f9KUzHHKnRRFCeLSbc/6BsieqZ+Nw7sIr+SoKlgQQtVQz9bYevEhtMyMPIpF3gBHos59 TW2POB2XBoSnSvbv6W3PMkR9Tq0slhf5vLF+pkr00G7E+uaX6er+TgrTtRoMGqiXtxsp Kew9I+NKVyWtKJA2OxAmAD3DO0NOFeN0hi7FMQtK/7gNFAHdBWUHMcMZmfG0NdqK0igP kmJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QvW0hF6OECYEdkkLEjh+0utCYcbG/pAjjaG9b30fS1c=; b=VB7ppgNjrqpuUoH/UIPiXeI4t6UwdcfRVqhchYXM4oIl5EkNBJTWibXz5cLE0A56qr STfG1TxAPVGk6l8Opv42ZNgherJhfyzAkFpqT1zLRYz3G+seKR8HlNwDamhXies/mPXi orKGDpMzL3r6uOLDfnOu43/BOYapymfUMYXh9XwgJMM/o+EwdoUknDOuUfcZUhs78Z52 R+KmjTqvTvJIpPywDSf6o+RS1yYKcH5p2dyQWmJG7nOybwPp7K3VYHd24jhCmnmzdN4Z slJroQr7eKsF7dRhCceza9OEVEHtHz/oZtvlXPgRNF+0CkpLHh+Vf6B3wZb55vhVrMLD hmyA== X-Gm-Message-State: APjAAAVCJSaBB1jJv1sezACSPtzGiW7zpmfhGro8BZ2hCRkTzstOLy3r gN9lsePX23TmIdy4AgD9GSQdzQ== X-Google-Smtp-Source: APXvYqyhsaizRU1NRkM9vlE9aZtw0rVIIB/JHPEZLTQUmpLv0Wo6bea78syd4TJYXlB4aGCxXnzknQ== X-Received: by 2002:a5d:4341:: with SMTP id u1mr6863299wrr.306.1571387893364; Fri, 18 Oct 2019 01:38:13 -0700 (PDT) Received: from 6wind.com (2a01cb0c0005a6000226b0fffeed02fc.ipv6.abo.wanadoo.fr. [2a01:cb0c:5:a600:226:b0ff:feed:2fc]) by smtp.gmail.com with ESMTPSA id a204sm6346269wmh.21.2019.10.18.01.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 01:38:12 -0700 (PDT) Date: Fri, 18 Oct 2019 10:38:11 +0200 From: Olivier Matz To: Ting Xu Cc: dev@dpdk.org, wenzhuo.lu@intel.com, jingjing.wu@intel.com, xiaolong.ye@intel.com, qiming.yang@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, qi.z.zhang@intel.com Message-ID: <20191018083811.mwau5g3shqgz66bw@platinum> References: <9f054f84c5ae5cb871d86ace17f7c3ca658fb890.1568968178.git.ting.xu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9f054f84c5ae5cb871d86ace17f7c3ca658fb890.1568968178.git.ting.xu@intel.com> User-Agent: NeoMutt/20180716 Subject: Re: [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" Hi, On Fri, Sep 20, 2019 at 08:36:23AM +0000, Ting Xu wrote: > 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. Some updates are missing, for instance in rte_get_tx_ol_flag_name(). Please look what was done for other flags. Please, can you describe in more details what is expected in the packet header? Thanks, Olivier