Message ID | 20201023102410.20317-1-andreyv@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 12418A04DE; Fri, 23 Oct 2020 12:24:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 57CA4A92B; Fri, 23 Oct 2020 12:24:22 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id AFF466968 for <dev@dpdk.org>; Fri, 23 Oct 2020 12:24:20 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from andreyv@nvidia.com) with SMTP; 23 Oct 2020 13:24:16 +0300 Received: from nvidia.com (r-arch-host11.mtr.labs.mlnx [10.213.43.60]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09NAOGCu009185; Fri, 23 Oct 2020 13:24:16 +0300 From: Andrey Vesnovaty <andreyv@nvidia.com> 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@nvidia.com, viacheslavo@nvidia.com, andrey.vesnovaty@gmail.com, mdr@ashroe.eu, nhorman@tuxdriver.com, ajit.khaparde@broadcom.com, samik.gupta@broadcom.com Date: Fri, 23 Oct 2020 13:24:06 +0300 Message-Id: <20201023102410.20317-1-andreyv@nvidia.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201008121848.15330-1-andreyv@nvidia.com> References: <20201008121848.15330-1-andreyv@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] Shared action RSS PMD impl X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series | Shared action RSS PMD impl | |
Message
Andrey Vesnovaty
Oct. 23, 2020, 10:24 a.m. UTC
This patchset introduces Mellanox PMD implementation for shared RSS action. It was part of the 'RTE flow shared action API' patchset [1]. After v3 the ptchset was split to RTE flow layer [2] and PMD implementation (this patchset). PMD implementation of this patchset is based on RTE flow API [3]. v2 changes (v1 was a draft): * lots fo cosmetic changes * fix spelling/rephrases in comments and commit messages * fix code styling issues * code cleanups * bugfix: prevent non shared action modification [1] RTE flow shared action API v1 http://inbox.dpdk.org/dev/20200702120511.16315-1-andreyv@mellanox.com/ [2] RTE flow shared action API v4 http://inbox.dpdk.org/dev/20201006200835.30017-1-andreyv@nvidia.com/ [3] RTE flow shared action API v8 http://inbox.dpdk.org/dev/20201014114015.17197-1-andreyv@nvidia.com/ Andrey Vesnovaty (4): 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 drivers/common/mlx5/mlx5_devx_cmds.c | 84 ++++ drivers/common/mlx5/mlx5_devx_cmds.h | 10 + drivers/common/mlx5/mlx5_prm.h | 29 ++ drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/mlx5.c | 1 + drivers/net/mlx5/mlx5.h | 7 + drivers/net/mlx5/mlx5_defs.h | 3 + drivers/net/mlx5/mlx5_devx.c | 151 ++++-- drivers/net/mlx5/mlx5_flow.c | 499 +++++++++++++++++-- drivers/net/mlx5/mlx5_flow.h | 86 ++++ drivers/net/mlx5/mlx5_flow_dv.c | 705 +++++++++++++++++++++++++-- drivers/net/mlx5/mlx5_flow_verbs.c | 3 +- drivers/net/mlx5/mlx5_rxq.c | 110 ++++- drivers/net/mlx5/mlx5_rxtx.h | 7 +- 14 files changed, 1596 insertions(+), 100 deletions(-)
Comments
Hi, > -----Original Message----- > From: dev <dev-bounces@dpdk.org> On Behalf Of Andrey Vesnovaty > Sent: Friday, October 23, 2020 1:24 PM > To: dev@dpdk.org > Cc: jer@marvell.com; jerinjacobk@gmail.com; NBU-Contact-Thomas > Monjalon <thomas@monjalon.net>; ferruh.yigit@intel.com; > stephen@networkplumber.org; bruce.richardson@intel.com; Ori Kam > <orika@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; > andrey.vesnovaty@gmail.com; mdr@ashroe.eu; nhorman@tuxdriver.com; > ajit.khaparde@broadcom.com; samik.gupta@broadcom.com > Subject: [dpdk-dev] [PATCH v2 0/4] Shared action RSS PMD impl > > This patchset introduces Mellanox PMD implementation for shared RSS > action. It was part of the 'RTE flow shared action API' patchset [1]. > After v3 the ptchset was split to RTE flow layer [2] and PMD > implementation (this patchset). > > PMD implementation of this patchset is based on RTE flow API [3]. > > v2 changes (v1 was a draft): > * lots fo cosmetic changes > * fix spelling/rephrases in comments and commit messages > * fix code styling issues > * code cleanups > * bugfix: prevent non shared action modification > > [1] RTE flow shared action API v1 > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finbox > .dpdk.org%2Fdev%2F20200702120511.16315-1- > andreyv%40mellanox.com%2F&data=04%7C01%7Crasland%40nvidia.co > m%7C7b680d1b14f54e64ea6308d8773ddcb4%7C43083d15727340c1b7db39ef > d9ccc17a%7C0%7C0%7C637390454872691372%7CUnknown%7CTWFpbGZsb3 > d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0 > %3D%7C1000&sdata=vt5%2FEROn9p1F2g%2FklmD%2Fr5TqThYS4ldui6y > wdK51cdc%3D&reserved=0 > [2] RTE flow shared action API v4 > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finbox > .dpdk.org%2Fdev%2F20201006200835.30017-1- > andreyv%40nvidia.com%2F&data=04%7C01%7Crasland%40nvidia.com% > 7C7b680d1b14f54e64ea6308d8773ddcb4%7C43083d15727340c1b7db39efd9cc > c17a%7C0%7C0%7C637390454872691372%7CUnknown%7CTWFpbGZsb3d8ey > JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D% > 7C1000&sdata=1ats9R%2BuNxzEakcT3BhwaWc3xk6Swv33WVm5q11Hc > %2FQ%3D&reserved=0 > [3] RTE flow shared action API v8 > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finbox > .dpdk.org%2Fdev%2F20201014114015.17197-1- > andreyv%40nvidia.com%2F&data=04%7C01%7Crasland%40nvidia.com% > 7C7b680d1b14f54e64ea6308d8773ddcb4%7C43083d15727340c1b7db39efd9cc > c17a%7C0%7C0%7C637390454872691372%7CUnknown%7CTWFpbGZsb3d8ey > JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D% > 7C1000&sdata=HyQu2GHjHbtOJcSueXb9i9wrZ%2Fz5BxUN2pOOQ5TV4e > c%3D&reserved=0 > > Andrey Vesnovaty (4): > 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 > > drivers/common/mlx5/mlx5_devx_cmds.c | 84 ++++ > drivers/common/mlx5/mlx5_devx_cmds.h | 10 + > drivers/common/mlx5/mlx5_prm.h | 29 ++ > drivers/common/mlx5/version.map | 1 + > drivers/net/mlx5/mlx5.c | 1 + > drivers/net/mlx5/mlx5.h | 7 + > drivers/net/mlx5/mlx5_defs.h | 3 + > drivers/net/mlx5/mlx5_devx.c | 151 ++++-- > drivers/net/mlx5/mlx5_flow.c | 499 +++++++++++++++++-- > drivers/net/mlx5/mlx5_flow.h | 86 ++++ > drivers/net/mlx5/mlx5_flow_dv.c | 705 +++++++++++++++++++++++++- > - > drivers/net/mlx5/mlx5_flow_verbs.c | 3 +- > drivers/net/mlx5/mlx5_rxq.c | 110 ++++- > drivers/net/mlx5/mlx5_rxtx.h | 7 +- > 14 files changed, 1596 insertions(+), 100 deletions(-) > > -- > 2.26.2 Series applied to next-net-mlx, With small comment that you are still using rte_atomic operation but since we have a commitment on changing this for all MLX PMD's need to take into consideration this one as well. Kindest regards, Raslan Darawsheh