From patchwork Tue Jul 2 03:08:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaoyu Min X-Patchwork-Id: 55832 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 399CA1B99E; Tue, 2 Jul 2019 05:08:12 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 58A701B99E for ; Tue, 2 Jul 2019 05:08:10 +0200 (CEST) From: Xiaoyu Min To: orika@mellanox.com Cc: dev@dpdk.org Date: Tue, 2 Jul 2019 11:08:02 +0800 Message-Id: <20190702030806.22199-1-jackmin@mellanox.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190624154018.128379-1-jackmin@mellanox.com> References: <20190624154018.128379-1-jackmin@mellanox.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 0/4] match on GRE's key 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 patchs are based on RFC [1], which enable the matching on GRE's key field. And enabled MLX5 device supports on this. Patch 4 is based on patch [2], which needs to be merged before this one. [1] https://patches.dpdk.org/patch/53432/ [2] https://patches.dpdk.org/patch/55773/ --- v2: * remove struct rte_flow_item_gre_key in order to comply new convention v3: * updated release note * fixed one bug --- Xiaoyu Min (4): ethdev: add GRE key field to flow API net/mlx5: support match GRE protocol on DR engine net/mlx5: match GRE's key and present bits app/testpmd: match GRE's key and present bits app/test-pmd/cmdline_flow.c | 32 ++++++++ doc/guides/prog_guide/rte_flow.rst | 8 ++ doc/guides/rel_notes/release_19_08.rst | 5 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 + drivers/net/mlx5/mlx5_flow.c | 52 ++++++++++++- drivers/net/mlx5/mlx5_flow.h | 5 ++ drivers/net/mlx5/mlx5_flow_dv.c | 81 +++++++++++++++++++++ drivers/net/mlx5/mlx5_prm.h | 6 +- lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 7 ++ 10 files changed, 199 insertions(+), 2 deletions(-)