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 607FEA0548; Wed, 21 Apr 2021 08:51:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45E464195D; Wed, 21 Apr 2021 08:51:35 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2089.outbound.protection.outlook.com [40.107.244.89]) by mails.dpdk.org (Postfix) with ESMTP id 20D6241932 for ; Wed, 21 Apr 2021 08:51:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FDjzpgfJ2HQz9YJeUWdTa1NMVO/2xI0bdebJ3jYS2HzKashrLU0IblDsDlChSL4vF1jtMD03KxzVoCXzvibA5Lyq699UMqI4akC2m4i1NUySSmhlrhxCvbxl46a4+oAG1c5X+Jfxts0kpJvXYJ64tePzu6SYm1qGc4LXWpktNA1+vYeD4WVkquveRUYg/YwQ7R7uM6BubGGBd5LOoQBvNUDWPPsNdWJCSEPun2BtpDyeRCnmxIsUR28Q0cDMMZdeZmTADoFR7p/3dOBcsDmbjzOCiGfvShIGQTdXOc+1XM8+o2FJw4tBOZbuW0GEN2iRHu8bDtwsG4d+q1y+XbkORg== 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=l/S1ufGT2QDhb/+pqITyRfprpszB+3HLtMCU18PrsgQ=; b=iI+m1fsL8AvogpATF9T7QQbe6fEKYicOXyToLrUkDBC8twGDyI08B0QthFRKS8HMIxjF4remtGRmL5aOwBB4jRi1OgwDzTom35pdlD0XyHtm4F3Ok8QBsbG3kkB6Sf6kvHGyQdkZrPJr9F/jdbgjdrG4wtwLD9rXQNm5zEn6u/DeuNnlI6wLInivRO6LVAhvgP8EHcgoCRq+pBDXbUZxZ/5XrMfKPXeSom5+qBKexp3WxYX8rdbMBgV01Hd8CBDZTJfIRjxlsO9X8C0EfIakYFpPe1ES5nNQxd+0rqmziabfSKvZFbaGXnLo0WlKzBoXw/ABqFBYG/Tu5U3DE2SNww== 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=l/S1ufGT2QDhb/+pqITyRfprpszB+3HLtMCU18PrsgQ=; b=csjqMNskL5rPXUnWzb24iOH0BXQU8eZin2WaZfBRrjt6+NRFK1VTAeR06oXWcNkX4e60xVfX4end5+e5RQhjDQxGgKvUp7W3o6eUHwX7Yf4OCA9ro2JR09l3WuPPe7+6CvscwC3F/ELNNofjyYARgsLUVejGdXlFx4JqkyyaiOZVZ//Z+1O8H2TJGrRFKcLTlL+7d8e25IUZUPRdaYtwhcb+ZijJOllXz0rGl8yiaQF+jhBQxenZI1fudza8tq/JdNk4AAA1seckJrzX6HmQgvl8lHHEF0c/ZrvrKgwry4CsgtC8Xc+twurgCjsfHCg/rzNGkkHxePgWUOOQopfGYw== Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB4877.namprd12.prod.outlook.com (2603:10b6:5:1bb::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Wed, 21 Apr 2021 06:51:32 +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; Wed, 21 Apr 2021 06:51:32 +0000 From: Raslan Darawsheh To: "Jiawei(Jonny) Wang" , Matan Azrad , Ori Kam , Slava Ovsiienko , "ferruh.yigit@intel.com" , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Asaf Penso Thread-Topic: [PATCH v6 00/15] Add ASO meter support in MLX5 PMD Thread-Index: AQHXNdOs6rG8ZLVTskWOCjEC8LrAjKq+icDw Date: Wed, 21 Apr 2021 06:51:32 +0000 Message-ID: References: <20210331073632.1443011-1-lizh@nvidia.com> <1618916122-181792-1-git-send-email-jiaweiw@nvidia.com> In-Reply-To: <1618916122-181792-1-git-send-email-jiaweiw@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.229.242] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3a3b9e00-7d60-4b0d-65ba-08d90491e642 x-ms-traffictypediagnostic: DM6PR12MB4877: 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: KoMO7hGum4oIs73clIQliPFUer2iA7q4ur1NyRZ660ThtoPb3aLz9MSQ/rMHXZAaEWzLYHNzg6hE0QCUm5Owg/TKVY7X0CB69oKw4wYRIDBbjLBQeYRzmszLVxsaVdk+UOGAkAtU+wZy67sM+xqwdbtTliI0UNGooNPeaN1feaqHFjI1iQpslt4gYav9e9OKmRrfAn+qlr5jVXnFB7zXDjxw1CdXMK7iJAF4HcIGUM8ZQSKJpnRTxUyVWMnwruL5CbXpMODMTteyyU5M0AuF/oODW/DidFNfbCA9waw0SWADVjuDPhcJyWpXKSB9VOdj1n8JRcR3qxay27CncfdHoySi9580DO4krKMBerHVTRDLJmUSq5cCZETvBdtwpNyxhl0nQCXXh57Ka3zvKOwYwglgocv/f8nkqkpTwtjqDnPHztl/hJaTDoQ/n6zpalRuH5OiI0UktQKlliiQsG9F+jSmQHyL0ZoafWCqCUSi2Hd05E861HiPDgrn+6ighr+P7n7myV9LLkcTqHEOcsfdNQiqbj5dppo0bSPXiUJpapJ7R8Q9xntTkkM5htimEXsILBpKL8yecijQ/SSbPUzF2rKaY23Hfbbpxlldo3drL5U= 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)(396003)(366004)(376002)(346002)(136003)(39860400002)(6506007)(53546011)(71200400001)(186003)(83380400001)(2906002)(8936002)(86362001)(64756008)(66946007)(52536014)(66446008)(66556008)(478600001)(4326008)(110136005)(316002)(38100700002)(66476007)(26005)(76116006)(54906003)(55016002)(107886003)(7696005)(9686003)(33656002)(8676002)(122000001)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?DJTn68RDqCHGb5rS81ew6t4mBBjsuG8yN/yprAgD/AeL7Bh4x2y6L4J5riv5?= =?us-ascii?Q?TNjc6XGpAhex0lQjNx2d6b7FDLfPCn2DEygOCI97OGrnemyi9e5+ODMz+xJo?= =?us-ascii?Q?EieUFl7deXkFapHXtDiAW1h3WzudMVLlBsdXyHrinNSRqSx3+tgtnlurS+Nt?= =?us-ascii?Q?F+74EWHPXqpgF5W9ZW1dMrjoDtelhf3JFetGcZvs0o8LYjSP6czTn7g84kDf?= =?us-ascii?Q?5H3t1gHZ23nFqsyGRdPLACH092ZI7XFyRPCDLPMcy2r+V92JvLg46i+KOG13?= =?us-ascii?Q?YDG//iwzypTOI+DKWRzuFxKPiQnemOUxEdaHj/8qSjoggqg4Dr0n+sAXLNLT?= =?us-ascii?Q?hamHFWx5Xq0ZW3m8i6G3fBySnoUeVBurOfau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v8h7hJTUjgxTuvkDcXZJzZKYxhaYw3+8l7MKOTrDPKUSc0MM?= =?us-ascii?Q?Ioak+c/m7JAOoQ8FiqEJ0Y8/?= 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: 3a3b9e00-7d60-4b0d-65ba-08d90491e642 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2021 06:51:32.8566 (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: eAdGJ8OQbm1NDDwqFBU+7UDDnPv5oUEKXdMmg1+b27NxJQnI/ghgyJJBbnwKvEj4/T5ha1dKj5Df9xKAsSVu7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4877 Subject: Re: [dpdk-dev] [PATCH v6 00/15] 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: Jiawei Wang > Sent: Tuesday, April 20, 2021 1:55 PM > To: Matan Azrad ; Ori Kam ; Slava > Ovsiienko ; ferruh.yigit@intel.com; NBU-Contact- > Thomas Monjalon > Cc: dev@dpdk.org; Raslan Darawsheh ; Asaf Penso > > Subject: [PATCH v6 00/15] Add ASO meter support in MLX5 PMD >=20 > To support more meters and better performance, > MLX HW provides ASO (Advanced Steering Operation) 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. > V6: Fix comments and update release notes. >=20 > Jiawei Wang (1): > doc: update release notes for ASO meter >=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: add meter ASO queue management > 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 + > doc/guides/rel_notes/release_21_05.rst | 1 + > 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 +++----- > drivers/net/mlx5/mlx5_flow_age.c | 591 ---------------------- > drivers/net/mlx5/mlx5_flow_aso.c | 850 > ++++++++++++++++++++++++++++++++ > drivers/net/mlx5/mlx5_flow_dv.c | 792 +++++++++++++++++++++------ > --- > drivers/net/mlx5/mlx5_flow_meter.c | 873 +++++++++++++++++++++---- > -------- > drivers/net/mlx5/mlx5_utils.h | 90 ++++ > 17 files changed, 2897 insertions(+), 1406 deletions(-) > delete mode 100644 drivers/net/mlx5/mlx5_flow_age.c > create mode 100644 drivers/net/mlx5/mlx5_flow_aso.c >=20 > -- > 1.8.3.1 Removed V5 and v6 applied to next-net-mlx, Kindest regards, Raslan Darawsheh