From patchwork Wed Jul 8 21:39:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Vesnovaty X-Patchwork-Id: 73555 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8A61BA0526; Wed, 8 Jul 2020 23:40:07 +0200 (CEST) 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 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(-)