From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6B8A8A04B5; Sun, 25 Oct 2020 13:43:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B0EFA2A62; Sun, 25 Oct 2020 13:43:22 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by dpdk.org (Postfix) with ESMTP id CD08929D6 for ; Sun, 25 Oct 2020 13:43:20 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 25 Oct 2020 05:43:25 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 25 Oct 2020 12:43:05 +0000 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.51) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 25 Oct 2020 12:43:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k0l8rVsR7yW1C249vJXn9YEt9cP+JrQj6dG8aqsRupdHAcuYRTJUHRBuPqCUFCzIXM21yhnSpJr55cOjQc1QsBMShvq/gKg4r9xNMm/53dJtkjP8nAHyhhj+0a7QODelN/JxKLOix/Ni+Eqp/dFaA+SchUN5itG3lWETR4dGGQBdvkt26DsSd0wMRWNdQVVCKI0JPpyUgtFU7B3er+ftv/VQOiOsf1FqtdWjTp7w0LMRfvhUPe3960npiT3Ut+OtwVvV0x1LWI4w0AF317yyl+uFDByvOfggD5m/+JYcUEwrpAzcReW6tWQ9W0keVn3lwzFHRdRxEvg650zUPQV0QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DeNq4DI4Gs8JqaS8jw01pObuow1Xy3dC0FpbY3GXTdw=; b=f6nY3oAAEMEZH2Kzn/1bbyTIwE+AuEekd7ZfODEv983GU5YMkIG/xXmoA3NZmt3cUfnw0JkWqs8pX950Vx0zrl4z3Muh4VJtED7cl+H0LXtHm11I8ZZQ7YaE8XryKWhfYc+sQBGkBFnaQHEq0lOauif+mPvcKjtRj0A9oMJB9LjC7o1DJzBYFzQH29/cdK/v5VLa0ariJDPwB1c2X61AaQBB0JHr8pKBdjQQb9dc6WWgeF3ru/Wiq5W/hSmRwjqMGBeHfuObsXQ+sG+ndACNAROcZmR2OlcaDvdgrYXHQ1ss8BRHgeRG4NewTR3ztsEKUQZL1AiuenpZWW4Ws75skw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM5PR12MB1196.namprd12.prod.outlook.com (2603:10b6:3:74::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Sun, 25 Oct 2020 12:43:03 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::f506:4af8:281b:cdeb]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::f506:4af8:281b:cdeb%7]) with mapi id 15.20.3477.028; Sun, 25 Oct 2020 12:43:03 +0000 From: Raslan Darawsheh To: Andrey Vesnovaty , "dev@dpdk.org" CC: "jer@marvell.com" , "jerinjacobk@gmail.com" , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , "stephen@networkplumber.org" , "bruce.richardson@intel.com" , Ori Kam , Slava Ovsiienko , "andrey.vesnovaty@gmail.com" , "mdr@ashroe.eu" , "nhorman@tuxdriver.com" , "ajit.khaparde@broadcom.com" , "samik.gupta@broadcom.com" Thread-Topic: [dpdk-dev] [PATCH v2 0/4] Shared action RSS PMD impl Thread-Index: AQHWqSa7Ja32WVDxOUKx48ypLmKR1amoRgfw Date: Sun, 25 Oct 2020 12:43:02 +0000 Message-ID: References: <20201008121848.15330-1-andreyv@nvidia.com> <20201023102410.20317-1-andreyv@nvidia.com> In-Reply-To: <20201023102410.20317-1-andreyv@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab14aebf-a2b1-4001-5568-08d878e38374 x-ms-traffictypediagnostic: DM5PR12MB1196: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1360; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vjy/tvX6CJxM9EQC2ZOc0hDavsoZoV35BRS0I+KccPdWJSrZEhgMZLpFcFkXhLrgl0HThUzq/PSpcmIndjU83kTmbRWUqUlsnyjyh3D6RqRLPEx53WiddL4YNx/tK4AIGMf2r3rYNIWzT54htJvN/mC/MACMmGDGmyJi4FPoov0oUHnu+tp84gsp4k09g584beKXSLqntTKW5IF4Ywtc1TIehZTKikCbvisZfuH6zv3D7lXfqUGLipAJcc9ECFAzw3UabmI2H1Asd3r13d9bKBDBuEOKcG13HM1CtMDiPFziRKfAD6ZZ+Kwh4XXWt8wEoTyomI/NZT0vXar6aj6CNJ0bfTBTYlzSWOyaWSuviEVNSvs/lrRqXrdlNzwiOI8DcZcC7I8XG5lttE8zK0fUMg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39850400004)(396003)(366004)(136003)(376002)(966005)(53546011)(5660300002)(54906003)(7696005)(55016002)(8936002)(45080400002)(110136005)(478600001)(316002)(2906002)(186003)(86362001)(33656002)(26005)(6506007)(8676002)(83380400001)(66476007)(9686003)(64756008)(66556008)(7416002)(66446008)(71200400001)(52536014)(76116006)(4326008)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: yYEUP9mEyJAN9hCc7Ialfm1AoNqacOCFIO2/aSett64Wc92DZgTV8tZ2BwFKgBC8L9LRVW+DWIr3i8cKHxTgE9OE7tb6tf/dA1XfG7fRuZhDYwa53QHFhkzUGOKVPEo0TD9jqb+UK6JfGiNwKXPYNuUhcKS35Zvue9LFI1AA/quf+i3kKAlFoqkZIhjg7C/o2ALA5y1Kj1REeuJUPBozxT4C+UejCPoDNIecTaYbYkWMEOB7adxbUTKr4zWpoGfcy6BZxFkBbVEOPhaktk0ldH1aTXgGfMLRpS4NtS80m7gu1Qv2dIFRi3RSkyoxNAVgjV3txTnTBf8cTAKmjcFJRF7kTPNIq+goF1PBRhxnlhEuKq/5Wk1+9cctW4eBAxhVYsZZCXqw1K/gYlDnmnFShHDfA9H8XUqVBMjoeIpW8RfKQNDc2PcD5WkUTXLuA3eVHsYFfV2K5nqPLsrSFwzigJbRfkDPf4xjcGs9EiXQ7OtAhWcxBvLjYC3O/+FGVkBPSUJWLqv6uplu2rNzwyYxZHTgiGGvTLMvTZ8UHma11ttFsmAiIIOc6jb7nPDuyDL71Kp2LiAfLC1hfdmZUip66/T89AXgZ9EzAIRV+3yF8hzuZRp5sbsyXjwB4NwZSvx7cu43T39yE2XO34qge8VxuA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab14aebf-a2b1-4001-5568-08d878e38374 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2020 12:43:03.0284 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ckm29ruLw1420ULzdXd/Zh9vwlNb5cQtDH1j8bphLRpj1+l3eRR9rxmW9GCb4HQIVwlcP+MJFZRk9CngoE3gSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1196 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603629805; bh=DeNq4DI4Gs8JqaS8jw01pObuow1Xy3dC0FpbY3GXTdw=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=e7paAeHBBxgeWClfvTyPkpK6h1CX7h+NuOWy8QEqO8+r9IjEfp2k4wCnsQRb+wHSj wtAviIjHIeVNiXkhsIUIvTXk89SLTr3YMQ/uY5cxw5bwsrsNjXspRZ7hvLB1vWjWDl bx8mpPYlO8WET9fZ8mubVZ1gJy1qgEHxhNMFlt2eyTz02YO+31+r6Jl94sh//Dic1Y kS+dicuaPaFYKyA0Cd7+gOxnbRx1iUAhZoepDozFLlJrLfIR+oX1cXh6g2VnxCwXIX X7fp3yAYihsp4NiOwKABI1yVc1/kkRh5sWNzT0hYDs4+tBcqUnFy8HEjqiX4zNMbZP YiBj+/2oHQHiA== Subject: Re: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, > -----Original Message----- > From: dev 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 ; ferruh.yigit@intel.com; > stephen@networkplumber.org; bruce.richardson@intel.com; Ori Kam > ; Slava Ovsiienko ; > 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 >=20 > 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). >=20 > PMD implementation of this patchset is based on RTE flow API [3]. >=20 > 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 >=20 > [1] RTE flow shared action API v1 > https://nam11.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Finbox > .dpdk.org%2Fdev%2F20200702120511.16315-1- > andreyv%40mellanox.com%2F&data=3D04%7C01%7Crasland%40nvidia.co > m%7C7b680d1b14f54e64ea6308d8773ddcb4%7C43083d15727340c1b7db39ef > d9ccc17a%7C0%7C0%7C637390454872691372%7CUnknown%7CTWFpbGZsb3 > d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0 > %3D%7C1000&sdata=3Dvt5%2FEROn9p1F2g%2FklmD%2Fr5TqThYS4ldui6y > wdK51cdc%3D&reserved=3D0 > [2] RTE flow shared action API v4 > https://nam11.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Finbox > .dpdk.org%2Fdev%2F20201006200835.30017-1- > andreyv%40nvidia.com%2F&data=3D04%7C01%7Crasland%40nvidia.com% > 7C7b680d1b14f54e64ea6308d8773ddcb4%7C43083d15727340c1b7db39efd9cc > c17a%7C0%7C0%7C637390454872691372%7CUnknown%7CTWFpbGZsb3d8ey > JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D% > 7C1000&sdata=3D1ats9R%2BuNxzEakcT3BhwaWc3xk6Swv33WVm5q11Hc > %2FQ%3D&reserved=3D0 > [3] RTE flow shared action API v8 > https://nam11.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Finbox > .dpdk.org%2Fdev%2F20201014114015.17197-1- > andreyv%40nvidia.com%2F&data=3D04%7C01%7Crasland%40nvidia.com% > 7C7b680d1b14f54e64ea6308d8773ddcb4%7C43083d15727340c1b7db39efd9cc > c17a%7C0%7C0%7C637390454872691372%7CUnknown%7CTWFpbGZsb3d8ey > JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D% > 7C1000&sdata=3DHyQu2GHjHbtOJcSueXb9i9wrZ%2Fz5BxUN2pOOQ5TV4e > c%3D&reserved=3D0 >=20 > 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 >=20 > 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(-) >=20 > -- > 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 c= onsideration this one as well. Kindest regards, Raslan Darawsheh