From patchwork Wed Jul 17 12:27:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaoyu Min X-Patchwork-Id: 56612 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 546C658C6; Wed, 17 Jul 2019 14:27:17 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 44EF52BAB for ; Wed, 17 Jul 2019 14:27:16 +0200 (CEST) From: Xiaoyu Min To: ferruh.yigit@intel.com Cc: dev@dpdk.org Date: Wed, 17 Jul 2019 20:27:06 +0800 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190624153736.127968-1-jackmin@mellanox.com> References: <20190624153736.127968-1-jackmin@mellanox.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v4 0/4] app/testpmd: support raw encap/decap actions 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" This series is based on RFC [1], which enable the testpmd to support the raw_encap/raw_decap actions in a generic and convenient way. Some rte_flow_item's fields are also opened in testpmd cmdline i.e. MPLS's TC & S in order to make sure the encapsulated tunnel header has the correct data. [1] https://patches.dpdk.org/patch/53456/ Reviewed-by: Ferruh Yigit --- v2: * add gre key support v3: * removed help string from help filters * rebased on 19.08-rc1 v4: * move help string of set vxlan/nvgre/raw_encap/raw_decap into filters section --- Xiaoyu Min (4): app/testpmd: put set vxlan/nvgre help in filters section app/testpmd: support raw encap/decap actions app/testpmd: support MPLS's TC and S bits app/testpmd: add GRE key for raw encap/decap app/test-pmd/cmdline.c | 62 ++- app/test-pmd/cmdline_flow.c | 562 +++++++++++++++++++- app/test-pmd/testpmd.h | 2 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 48 ++ 4 files changed, 646 insertions(+), 28 deletions(-)