From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09D4CC0650E for ; Fri, 5 Jul 2019 02:14:53 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id B09D320B1F for ; Fri, 5 Jul 2019 02:14:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B09D320B1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D98442BD5; Fri, 5 Jul 2019 04:14:51 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id BA7D11041 for ; Fri, 5 Jul 2019 04:14:50 +0200 (CEST) From: Xiaoyu Min To: adrien.mazarguil@6wind.com, orika@mellanox.com, viacheslavo@mellanox.com Cc: dev@dpdk.org Date: Fri, 5 Jul 2019 10:14:41 +0800 Message-Id: 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 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v6 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. [1] https://patches.dpdk.org/patch/53432/ --- v2: * remove struct rte_flow_item_gre_key in order to comply new convention v3: * updated release note * fixed one bug v4: * resend patchs in thread mode v5: * report error when K is off but gre_key item present * removed ITEM_CRKSV, added c_bit, k_bit, s_bit in testpmd * document updated v6: * one fix in pmd -- 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 | 61 +++++++++++++++ doc/guides/prog_guide/rte_flow.rst | 9 +++ doc/guides/rel_notes/release_19_08.rst | 5 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 + drivers/net/mlx5/mlx5_flow.c | 63 +++++++++++++++- drivers/net/mlx5/mlx5_flow.h | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c | 84 +++++++++++++++++++++ drivers/net/mlx5/mlx5_prm.h | 6 +- lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 13 ++++ 10 files changed, 250 insertions(+), 2 deletions(-) -- 2.21.0