[v5,0/3] Tunnel Offload API
Message ID | 20201015124154.13357-1-getelson@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 79E12A04DB; Thu, 15 Oct 2020 14:42:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5BCFB1D5E5; Thu, 15 Oct 2020 14:42:15 +0200 (CEST) Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by dpdk.org (Postfix) with ESMTP id 4C0391D5A0 for <dev@dpdk.org>; Thu, 15 Oct 2020 14:42:13 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id <B5f8843970002>; Thu, 15 Oct 2020 05:41:59 -0700 Received: from nvidia.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 15 Oct 2020 12:42:10 +0000 From: Gregory Etelson <getelson@nvidia.com> To: <dev@dpdk.org> CC: <getelson@nvidia.com>, <matan@nvidia.com>, <rasland@nvidia.com>, <elibr@nvidia.com>, <ozsh@nvidia.com> Date: Thu, 15 Oct 2020 15:41:51 +0300 Message-ID: <20201015124154.13357-1-getelson@nvidia.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200625160348.26220-1-getelson@mellanox.com> References: <20200625160348.26220-1-getelson@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1602765719; bh=ianZnst4zFAdGI3Jj/IgyaTPq7qHqzFK9auW8+JGzCA=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:Content-Type: X-Originating-IP:X-ClientProxiedBy; b=OosP/QgJbMlFf6eJhho7lUdGSGJ9qxbRaQbKHOcfiGb49axAhiCeumxPF8k02SikC 2KhL6ohGB/kAPCppua5k/1lfdc+3WhJNBR5oEfEM7CBwoLANZ9KsLNSfr+EX9zFq2B 0nxctyOYumDAgApPfr0r0Iv8a4g2oOnxsD03O+BEZR908rZ1nx+9ZdS7uvyAgTFb8C 2wNUB+BIKL6OaUuVO/NS+CWJ1NLFluXpqe64NQiTTE/exUEL2a5ret/vjV8Li0let/ 5j0ncPCs1I6eXBVB2dR7o1qghCuZ9QM8oHJ89Pf95boyLRsYeGQZXWquREBojLk1GD wTN9vaoiqrynA== Subject: [dpdk-dev] [PATCH v5 0/3] Tunnel Offload API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Etelson, Gregory
Oct. 15, 2020, 12:41 p.m. UTC
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 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 | 108 +++++++++ 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, 1016 insertions(+), 19 deletions(-)