From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ori Kam Subject: [PATCH v2 0/3] app/testpmd: add l3 encap/decap cmd Date: Sun, 7 Oct 2018 14:41:50 +0000 Message-ID: <1538923293-127516-1-git-send-email-orika@mellanox.com> References: <1538251641-91511-1-git-send-email-orika@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Dekel Peled , Thomas Monjalon , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , Yongseok Koh , Ori Kam , Shahaf Shuler 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 Return-path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0077.outbound.protection.outlook.com [104.47.0.77]) by dpdk.org (Postfix) with ESMTP id C63FC2C28 for ; Sun, 7 Oct 2018 16:41:52 +0200 (CEST) In-Reply-To: <1538251641-91511-1-git-send-email-orika@mellanox.com> Content-Language: en-US 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 v2: * rebase on tip. 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 | 316 ++++++++++++++++++++ app/test-pmd/testpmd.h | 42 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 131 +++++++++ 4 files changed, 923 insertions(+) --=20 1.8.3.1