[v7,0/3] Tunnel Offload API
Message ID | 20201016103400.21311-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 1ABC8A04DB; Fri, 16 Oct 2020 12:34:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EFC2E1ECFD; Fri, 16 Oct 2020 12:34:21 +0200 (CEST) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id 5A03D1ECF6 for <dev@dpdk.org>; Fri, 16 Oct 2020 12:34:20 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id <B5f8976d00000>; Fri, 16 Oct 2020 03:32:48 -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; Fri, 16 Oct 2020 10:34:15 +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>, <ajit.khaparde@broadcom.com>, <asafp@nvidia.com> Date: Fri, 16 Oct 2020 13:33:57 +0300 Message-ID: <20201016103400.21311-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: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1602844368; bh=Zpo2iG27SgqDcRlqMRdeoVMB05o6jP9utJFpFsgByq4=; 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=NdhxE+KxpiUvz73lVYRc+1jXTVrxRePYzmT/9kJUNwiFzloJ5+emGl5s2zC0mbdcE BDVhh1uf9FuT+SFf4ouXWzx/9zkpJFYMcr3bf6zmR/yhCPaUSw48Rc0UMgJ/IqJm1+ TMImeeG5C5hN9RqQELfTXKWUaXdO1mP3at6wnk5Tg6oEDBW7x/+2f1TW/DHWmkv3dg qavtSH2OkF2O8OaRyOx1MY4d9YtEFWU1ONU2hm4oFCNSCWwUHgmMyJrghVG9/p8jC0 CTGAkqx4Wk56UuPLCKCmBvKZtV246FtL1SmwjMXNUjhGQuJlu995uleZGPZXAEl+FL vi8srwYaqF6Jw== Subject: [dpdk-dev] [PATCH v7 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. 16, 2020, 10:33 a.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 v6: * update tunnel offload API documentation v7: * testpmd: resolve "%lu" differences in ubuntu 32 & 64 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(-)