From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5098C43461 for ; Mon, 14 Sep 2020 17:27:28 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 5E94C20E65 for ; Mon, 14 Sep 2020 17:27:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E94C20E65 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 20AB3FFA; Mon, 14 Sep 2020 19:27:27 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5A69C160 for ; Mon, 14 Sep 2020 19:27:25 +0200 (CEST) IronPort-SDR: U9NVw913d07cUeEWdHfY1dtAw7dsbsQQR6Fp6zlZleIfoWl9HNsUqEP0D569FupvtZjqr0M88U BhkMFl2zewYg== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="159164896" X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="159164896" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 10:27:23 -0700 IronPort-SDR: nwGH4ZKGKF1G6mCSeHy3e4H4bsPtd6raDLOKqngxNk18tsNTCePXVpMmYG0x8xVhuaAdsfpyvG jjU2fbkhHibQ== X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="507220364" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.247.225]) ([10.213.247.225]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 10:27:21 -0700 To: Ophir Munk , Wenzhuo Lu , Beilei Xing , Bernard Iremonger Cc: Ophir Munk , dev@dpdk.org, Olivier Matz References: <20200729082905.19499-4-ophirmu@mellanox.com> <20200827070244.32392-1-ophirmu@nvidia.com> <20200827070244.32392-2-ophirmu@nvidia.com> From: Ferruh Yigit Message-ID: Date: Mon, 14 Sep 2020 18:27:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200827070244.32392-2-ophirmu@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 1/3] app/testpmd: add GENEVE parsing 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" On 8/27/2020 8:02 AM, Ophir Munk wrote: > From: Ophir Munk > > GENEVE is a widely used tunneling protocol in modern Virtualized > Networks. testpmd already supports parsing of several tunneling > protocols including VXLAN, VXLAN-GPE, GRE. This commit adds GENEVE > parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) > based on IETF draft-ietf-nvo3-geneve-09. GENEVE is considered more > flexible than the other protocols. In terms of protocol format GENEVE > header has a variable length options as opposed to other tunneling > protocols which have a fixed header size. > > Signed-off-by: Ophir Munk > --- > app/test-pmd/csumonly.c | 70 ++++++++++++++++++++++++++++++++++++++++++- > app/test-pmd/testpmd.h | 1 + > lib/librte_net/Makefile | 2 +- > lib/librte_net/meson.build | 3 +- > lib/librte_net/rte_geneve.h | 72 +++++++++++++++++++++++++++++++++++++++++++++ cc'ed Oliver for the 'rte_geneve.h' part.