From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ori Kam Subject: [PATCH 0/3] app/testpmd: add l3 encap/decap cmd Date: Sat, 29 Sep 2018 20:07:18 +0000 Message-ID: <1538251641-91511-1-git-send-email-orika@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain Cc: dev@dpdk.org, dekelp@mellanox.com, thomas@monjalon.net, nelio.laranjeiro@6wind.com, yskoh@mellanox.com, orika@mellanox.com, shahafs@mellanox.com To: wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com, arybchenko@solarflare.com, ferruh.yigit@intel.com, stephen@networkplumber.org, adrien.mazarguil@6wind.com Return-path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20088.outbound.protection.outlook.com [40.107.2.88]) by dpdk.org (Postfix) with ESMTP id 19D9A7CEB for ; Sat, 29 Sep 2018 22:08:02 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Currently testpmd have support only for encapsulation and decapsulation for L2 tunnels. This series adds commands for L3 tunnels types, L3 tunnel is a tunnel that the inner packet is missing the L2 part. The encapsulation uses the encap_l3 command in-order to remove the inner l2. For decapsulation since the inner packet is missing the L2 there is a need to supply it to the NIC using the decap_l3. The tunnels are are implemented are: MPLSoGRE and MPLSoUDP while the decap can be used for all L3 tunnels. This series is based on add generic L2/L3 tunnel encapsulation actions [1] [1] https://mails.dpdk.org/archives/dev/2018-September/111781.html Ori Kam (3): app/testpmd: add MPLSoUDP encapsulation app/testpmd: add MPLSoGRE encapsulation app/testpmd: add decap l3 command app/test-pmd/cmdline.c | 434 ++++++++++++++++++++++++++++ app/test-pmd/cmdline_flow.c | 317 ++++++++++++++++++++ app/test-pmd/testpmd.h | 42 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 131 +++++++++ 4 files changed, 924 insertions(+) -- 1.8.3.1