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 49D6DA04DB; Fri, 16 Oct 2020 15:19:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E03E1D589; Fri, 16 Oct 2020 15:19:15 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F11991CF67 for ; Fri, 16 Oct 2020 15:19:11 +0200 (CEST) IronPort-SDR: 5ZE/q2/OFmAEwW2A2q421Q4wt8jq78Ll17vFRRZzysF7ClmsOI5wzt0LFY/V6BPrK6Ew/OwX9F 9gKJFrkft/lg== X-IronPort-AV: E=McAfee;i="6000,8403,9775"; a="145915119" X-IronPort-AV: E=Sophos;i="5.77,383,1596524400"; d="scan'208";a="145915119" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 06:19:11 -0700 IronPort-SDR: oKB/ncVp+NGhy2bgPiY/5UMr0XPleLv1PTE4VNxaHjo+ybn6FxLROZ78sbiPx5B9uHVSaU8lJC Kf6RUZ9fLsMQ== X-IronPort-AV: E=Sophos;i="5.77,383,1596524400"; d="scan'208";a="531714456" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.19.66]) ([10.252.19.66]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2020 06:19:08 -0700 To: Gregory Etelson , dev@dpdk.org Cc: matan@nvidia.com, rasland@nvidia.com, elibr@nvidia.com, ozsh@nvidia.com, asafp@nvidia.com References: <20200625160348.26220-1-getelson@mellanox.com> <20201016125108.22997-1-getelson@nvidia.com> From: Ferruh Yigit Message-ID: <64ff74bf-cf4c-2351-e3b0-2985172ace15@intel.com> Date: Fri, 16 Oct 2020 14:19:05 +0100 MIME-Version: 1.0 In-Reply-To: <20201016125108.22997-1-getelson@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v8 0/3] Tunnel Offload API 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 10/16/2020 1:51 PM, Gregory Etelson wrote: > Tunnel Offload API provides hardware independent, unified model > to offload tunneled traffic. Key model elements are: > - apply matches to both outer and inner packet headers > during entire offload procedure; > - restore outer header of partially offloaded packet; > - model is implemented as a set of helper functions. > > v2: > * documentation updates > * MLX5 PMD implementation for tunnel offload > * testpmd updates for tunnel offload > > v3: > * documentation updates > * MLX5 PMD updates > * testpmd updates > > v4: > * updated patch: allow negative values in flow rule types > > v5: > * rebase to next-net > > v6: > * update tunnel offload API documentation > > v7: > * testpmd: resolve "%lu" differences in ubuntu 32 & 64 > > v8: > * testpmd: use PRIu64 for general cast to uint64_t Ahh, I thought build issue solved in v7 already with 'PRIu64' but it seems not. I will drop the v7 and get this one. > > Eli Britstein (1): > ethdev: tunnel offload model > > Gregory Etelson (2): > ethdev: allow negative values in flow rule types > app/testpmd: add commands for tunnel offload API > > app/test-pmd/cmdline_flow.c | 170 ++++++++++++- > app/test-pmd/config.c | 252 +++++++++++++++++++- > app/test-pmd/testpmd.c | 5 +- > app/test-pmd/testpmd.h | 34 ++- > app/test-pmd/util.c | 35 ++- > doc/guides/prog_guide/rte_flow.rst | 81 +++++++ > doc/guides/rel_notes/release_20_11.rst | 10 + > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 49 ++++ > lib/librte_ethdev/rte_ethdev_version.map | 5 + > lib/librte_ethdev/rte_flow.c | 140 ++++++++++- > lib/librte_ethdev/rte_flow.h | 195 +++++++++++++++ > lib/librte_ethdev/rte_flow_driver.h | 32 +++ > 12 files changed, 989 insertions(+), 19 deletions(-) >