From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC9ACA0547; Sun, 18 Apr 2021 21:34:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72AB741108; Sun, 18 Apr 2021 21:34:03 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2064.outbound.protection.outlook.com [40.107.237.64]) by mails.dpdk.org (Postfix) with ESMTP id 8AF10410D7 for ; Sun, 18 Apr 2021 21:34:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EuYjhy0LW9bZ8l1SBr1slLYuBbeZBMFtygxQwTjWPb93XKBIkNCDjHCwnNvE3dQARYo/9g1DSMOGCkEUCIL+es4bQDR5ElvuYMSzHDAev2erPe679fpcA76+gYfgAF9MwvjzPV9JCV11E7us4AgMVxtKYEpt8nAzWHB7+wV9FisteQL4di591LXPCFmkSFZE3sFVxZq4X2rZNVt57XVY4zDDwVZcUVmik0y0ByjrYWiQUvDVt4BfbquiKo3FCdiRIUnp2hx3q22DWeTs53o5Sn1jLtc8AUQoQimBUQoaOenDEokHrfHsPGNWkK3Cs0tF+8Ps40yS3Xt3L/6Q0WPagw== 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=idGnOJa4QEFkittw2rTZQbpgNLFlYXPfH7umVrpFk1U=; b=WcS6AyrP0zV4lLc9jNaSIRCl27DxFIzHhayBrAe5Qy9Ee7c2fVrC5z6jZPqLBwRX804GdST0bhK0oXNdFUSKfidMw9c0PNouvvfg2twrnAF2Kd8fbAZD7S5NexS0VMVZHMeCXIdfJtRhNk1mccOYXj7PjlBE+5q25HPfg6q8MSZBorkutnmWEdD3tnjay1CgeebJCi2jjpWap4UZPyQprwNMgrSn6S/nHgEq5+6S2fycgmvJfOPKkvdX2l7Bm6YWtN+p6fJLJUdc0TzjznCyKAEJUxflKfo4m/DgVBGJCjA1HfU2a1+twuOfaANlpuEp46/D+QAbnUT1GI/akMxDOg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=idGnOJa4QEFkittw2rTZQbpgNLFlYXPfH7umVrpFk1U=; b=pbppQUSZSmpF80Xiaf4nbdCW0bcbHi0ZIenr/Z8TFs8aapcQ2ggjC0OYQEPuAEa5FZ1uNkJMD7Cj1s8WhbD3pEQDQxFa9VeawiZrMp+1ZJ4Osh2aQBsNjlp3EafBcYV77MiuJN5zxhq3Kj7mPUlEmtNaKMCz6IvmYmafQedpwqMpB3mYjAmxUFGfF1togx97ojV+q6fNM8C3KtF2ZhWGON6UFv8PhwslosP4GdVoQH26IL4ozmmAnS9fDsJUTdUlFwZ8fOvyndqiQ0EHNP1HZ4RHbpOw6aSBeJOD/jt0kiyWxVkeJmbTL9wM+AwCSKdp+FCa4OpsIYpelQCVyGuGjA== Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB4844.namprd12.prod.outlook.com (2603:10b6:5:1d0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Sun, 18 Apr 2021 19:33:56 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::d011:3b55:aafb:9280]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::d011:3b55:aafb:9280%5]) with mapi id 15.20.4042.024; Sun, 18 Apr 2021 19:33:56 +0000 From: Raslan Darawsheh To: Li Zhang , "dekelp@nvidia.com" , Ori Kam , Slava Ovsiienko , Matan Azrad , Shahaf Shuler CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , Roni Bar Yanai Thread-Topic: [PATCH v5 00/14] Add ASO meter support in MLX5 PMD Thread-Index: AQHXMgmndBkY1F5dyEWywAQlsRHvP6q6r2UA Date: Sun, 18 Apr 2021 19:33:56 +0000 Message-ID: References: <20210331073632.1443011-1-lizh@nvidia.com> <20210415151135.2098674-1-lizh@nvidia.com> In-Reply-To: <20210415151135.2098674-1-lizh@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: [188.161.230.60] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dee727d3-25e3-446f-cb97-08d902a0e85c x-ms-traffictypediagnostic: DM6PR12MB4844: 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:4303; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qfAzEHKjdZRkSR2FDK0+qHcqkwYPRwD5P7HyY3BE5INI0XbJBMw4/5zuUDkHlB/w3d/HDtDK5qsdqaFfQ9f0VlSLtecIrvfTuR8REAaHQx30N3OofpIPK8e4h1gAhULdRuYCtiSR6gAN2cdYYzvSlMG7/Mem85kiurB5xYHS0m8gMA/hDIhnQfPhO4zF67UgXjrfQKGRrQecmdM+9dK0sG3YSi8Pbb47ChRXKtUD5d4S4mXL/mzQv1Wet83ijjYSsPoLPYCKnoCKz2Vee1t5WKAVWhjGP7TpBFZsCdZ55b+HOAE2q0tepCgnWjuMn9EKCXdYW2W2ML78PvgxHZsplIohXtWuYrBU7u8YKJvhpkDg6PH7AUOZbDRAyuxHARYTAkodWrPYRF2gT8aND2zJ4V0D13n9RwgArv+jgcp6ji4EemJ89beJWRbe1t3ieUaFTR5lKNsew4EUpd8RV8TKpAcvEI9+YYeN/y3DVcT7tLjVxDshSSCzdjh7OKkfr8qBfa+WJmNwbd2dnKhQy8y+HvQWgoA6kubYCOrOciA4b5wkppzPYZ6aO73iQHW2u2sbti9FIZOVgr7DsHngmX1jsg8h3xsrD25TRw2JesBMS7E= 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)(136003)(376002)(366004)(346002)(396003)(39860400002)(33656002)(478600001)(83380400001)(38100700002)(186003)(8676002)(8936002)(54906003)(316002)(110136005)(26005)(66446008)(66946007)(66476007)(66556008)(64756008)(86362001)(4326008)(71200400001)(76116006)(122000001)(2906002)(107886003)(9686003)(6636002)(53546011)(7696005)(52536014)(6506007)(5660300002)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?9VqAIYfDrgTcLOXW2PMkJ5Rc1jQZyy8aHiLkrqLlvFPIBhDri6GsyUo0+d2+?= =?us-ascii?Q?Ve2ji7oP+gj+qoWvwxbYSJXZ/wnmk8NdnbMRgkZzs0fTVQ3Za6KA0qRALZxD?= =?us-ascii?Q?JVLab/h0WRiimMccfytvL1yO4BcgO56sZyx0QhU44Hi8t9MKGaqE0MBVQV0C?= =?us-ascii?Q?bXRJAcFXU/z/GDnECKfnc90BXkY6aRgOKcWOAR9sllB1ZGmioZiD71NxP20c?= =?us-ascii?Q?Z2eNm2U0Wqd1wfunJvWBJTuXhlH2WU9mdvLMKwVjxBmY+Lpq7OQ5Ybf2cfv9?= =?us-ascii?Q?zXBjH1YePWpqaQVePEeDjn9ha8nCM2sfpLcgPKtNqBlMEw8lo2cdOIbJzf9Z?= =?us-ascii?Q?jNjQ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ytBkl2kuSDM?= =?us-ascii?Q?MNgaMUDRB4SisZnFwxy8yIY0cw5ww60/CTaf3en0HQmY6L7nOx92ne8zRp54?= =?us-ascii?Q?ejKx+VBECOZGOXvUGG0be+5U?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dee727d3-25e3-446f-cb97-08d902a0e85c X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2021 19:33:56.5354 (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: zmNpzw+cpoa1nmzdMKlPTkaEik3JUKJvWB6ZxjLugLAOkBvQA6KGYzbfMyVsJR0sU2LapwrvbE45vhNAnHj/0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4844 Subject: Re: [dpdk-dev] [PATCH v5 00/14] Add ASO meter support in MLX5 PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Li Zhang > Sent: Thursday, April 15, 2021 6:11 PM > To: dekelp@nvidia.com; Ori Kam ; Slava Ovsiienko > ; Matan Azrad ; Shahaf > Shuler > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh ; Roni > Bar Yanai > Subject: [PATCH v5 00/14] Add ASO meter support in MLX5 PMD >=20 > To support more meters and better performance, > MLX HW provide ASO flow meter. > It can expose millions of ASO flow meter context's in HW. > This ASO object can allocate the large bulk meter objects. > This patch set implement the ASO flow meter for mlx5 driver. > MLX5 PMD driver will be responsible for ASO flow meter manage to HW. >=20 > V2: Fix compile error issue (mlx5_glue->destroy_flow_action) > V3: Fix comments. > V4: Fix comments and add Acked. > V5: Fix unused log_obj_size issue. >=20 > Li Zhang (10): > net/mlx5: optimize meter statistics > common/mlx5: add definitions for ASO flow meter > common/mlx5: add read ASO flow meter HCA capability > common/mlx5: add DevX API to create ASO flow meter object > net/mlx5: flow meter pool to manage meter object > net/mlx5: initialize the flow meter ASO SQ > net/mlx5: aso flow meter send WQE and CQE handle > net/mlx5: add support of ASO meter action > net/mlx5: make ASO meter queue thread-safe > net/mlx5: allow multiple flow tables on the same level >=20 > Shun Hao (3): > common/mlx5: add color register idle bits definition > net/mlx5: fix meter statistics > net/mlx5: use mask for meter register setting >=20 > Suanming Mou (1): > net/mlx5: support three level table walk >=20 > doc/guides/nics/mlx5.rst | 6 + > drivers/common/mlx5/mlx5_devx_cmds.c | 68 ++ > drivers/common/mlx5/mlx5_devx_cmds.h | 26 +- > drivers/common/mlx5/mlx5_prm.h | 81 +- > drivers/common/mlx5/version.map | 1 + > drivers/net/mlx5/linux/mlx5_os.c | 20 +- > drivers/net/mlx5/meson.build | 2 +- > drivers/net/mlx5/mlx5.c | 98 +- > drivers/net/mlx5/mlx5.h | 258 +++++- > drivers/net/mlx5/mlx5_flow.c | 334 +++++-- > drivers/net/mlx5/mlx5_flow.h | 212 ++--- > .../mlx5/{mlx5_flow_age.c =3D> mlx5_flow_aso.c} | 289 +++++- > drivers/net/mlx5/mlx5_flow_dv.c | 792 +++++++++++----- > drivers/net/mlx5/mlx5_flow_meter.c | 873 ++++++++++++------ > drivers/net/mlx5/mlx5_utils.h | 90 ++ > 15 files changed, 2320 insertions(+), 830 deletions(-) > rename drivers/net/mlx5/{mlx5_flow_age.c =3D> mlx5_flow_aso.c} (65%) >=20 > -- > 2.27.0 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh