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=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,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 E2F00C433E1 for ; Wed, 8 Jul 2020 21:40:07 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id A689F206A1 for ; Wed, 8 Jul 2020 21:40:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A689F206A1 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 5DFC01E49F; Wed, 8 Jul 2020 23:40:00 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id CC37D1DFED for ; Wed, 8 Jul 2020 23:39:57 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from andreyv@mellanox.com) with SMTP; 9 Jul 2020 00:39:53 +0300 Received: from r-arch-host11.mtr.labs.mlnx. (r-arch-host11.mtr.labs.mlnx [10.213.43.60]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 068LdrB1032740; Thu, 9 Jul 2020 00:39:53 +0300 From: Andrey Vesnovaty To: dev@dpdk.org Cc: jer@marvell.com, jerinjacobk@gmail.com, thomas@monjalon.net, ferruh.yigit@intel.com, stephen@networkplumber.org, bruce.richardson@intel.com, orika@mellanox.com, viacheslavo@mellanox.com, andrey.vesnovaty@gmail.com Date: Thu, 9 Jul 2020 00:39:39 +0300 Message-Id: <20200708213946.30108-1-andreyv@mellanox.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200702120511.16315-1-andreyv@mellanox.com> References: <20200702120511.16315-1-andreyv@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/6] add flow shared action API + PMD 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" Hi Jerin and Ori. V2 changes: - First version of PMD implementation for shared action API. - Simple example application demonstaration shared action update. - Changes to shred action API according to discussion of V1. @Jerin Jacob: please take a look at provided example, hopefully it will help to converge our API discussion and reach consensus on it. Thanks, Andrey Andrey Vesnovaty (6): ethdev: add flow shared action API common/mlx5: modify advanced Rx object via DevX net/mlx5: modify hash Rx queue objects net/mlx5: shared action PMD net/mlx5: driver support for shared action examples/flow_filtering: utilize shared RSS action doc/guides/sample_app_ug/flow_filtering.rst | 62 +- drivers/common/mlx5/mlx5_devx_cmds.c | 84 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 10 + drivers/common/mlx5/mlx5_prm.h | 29 + .../common/mlx5/rte_common_mlx5_version.map | 1 + drivers/net/mlx5/mlx5.c | 1 + drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_defs.h | 3 + drivers/net/mlx5/mlx5_flow.c | 492 ++++++++++++- drivers/net/mlx5/mlx5_flow.h | 83 +++ drivers/net/mlx5/mlx5_flow_dv.c | 671 +++++++++++++++++- drivers/net/mlx5/mlx5_rxq.c | 300 ++++++-- drivers/net/mlx5/mlx5_rxtx.h | 4 + examples/flow_filtering/flow_blocks.c | 30 +- examples/flow_filtering/main.c | 41 +- lib/librte_ethdev/rte_ethdev_version.map | 6 + lib/librte_ethdev/rte_flow.c | 81 +++ lib/librte_ethdev/rte_flow.h | 148 +++- lib/librte_ethdev/rte_flow_driver.h | 22 + 19 files changed, 1924 insertions(+), 146 deletions(-) -- 2.26.2