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 2B1EFA0C48; Wed, 7 Jul 2021 09:19:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B15F4130B; Wed, 7 Jul 2021 09:19:36 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2081.outbound.protection.outlook.com [40.107.237.81]) by mails.dpdk.org (Postfix) with ESMTP id 3F831406FF for ; Wed, 7 Jul 2021 09:19:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T/6m3bfUVGdiVDKgzqgHwD2hJ+pbxbWbL+84SRT57Ue5XuIbExoxrtK3bAsLGjWCL4xaoAVJ7cdswPscbRwEhW0OExd4Wd3ZiO9vq3JOqxTY2JvQk4qbP4/tK/+g6luebkBuSRBz/1CBMqjfX8lem2NyDa9MsoqF8iqqxKrRYBspSrekwlVTKGmNAqnZFIo596856Xx5UXQZRRrxueGhuxR+WKpA/vxuhfB54Ne186nCB9tDyM7SDNJasoWk7Q6w4ev913rUeOYUdx+LOydMYo3BE63rmmJUFRaZ/FJ9fRAXV5TdrpdukXI8P9v0lLypwDERc9Z0Dy123J6Fm4w54w== 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=zTowTezthVEcl3Hi71ecfH8CyvKQWkmja9xg+zZi2xc=; b=JZPHPRXdaCBEXJ+IkrDQVVAtKo7TAajK5x+aRT/KmP+g+pJFrbfEIxon+P3ytetAwkjknuKYrbmn09m2qhrzaYh7o7BT6MDD5GC/mA13XAHRpsJbdTbXXzbSMdUDW4eIaXAChv2HhgzeNozarBGFsgAHzJWHLmEpBIJ7Qu5M2DE4Q7QoYM13MV9OFjiaUtY8Fbfp7GrWG49TAkuEBhm8r4AGOsi4nMJs6txIEzBH/SpsGUiOboJ4EaVnBJjjSZkVTtp92Ro2OfkXwNzNL6qWUwW7e9+X0spE+tbQkZUY7ME839bAo+8sF4Xiw8TUPkX5dsM/aiCQVvHUI7ToP0dwlA== 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=zTowTezthVEcl3Hi71ecfH8CyvKQWkmja9xg+zZi2xc=; b=TtV6iAAW+P5CTS/zOjCnorwY8bh/6G7nF434L9lJFksTuHsMJzRei2lCXMInZj9QdA7XX9Q8E7cD5sgHMQIl+t1RRdOmMZ5soHkiFnTxw/FjMoBeh+uqm0xumHBdxcCpo1mQwUlf/2e9EUy64U+Dm7uDUFnmVx7gBKxAnxxNA28EpPEOhsewvwgF1IE32gyt6oq/oUhL0MkOJ0mDjIUnmQqvU5ptbxmcyjPtsLZkeFyIfFefXeQbzprHUcQtrNeop8JsVSGROgQhPXHDJ3tWUIX5UNoXkzWYtamJXw9S94B2hlD6vUr4WlLUHquXHkuDDC5w+PRn3pweVRMHScCsmg== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM8PR12MB5429.namprd12.prod.outlook.com (2603:10b6:8:29::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.20; Wed, 7 Jul 2021 07:19:34 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a%4]) with mapi id 15.20.4308.021; Wed, 7 Jul 2021 07:19:34 +0000 From: Raslan Darawsheh To: Shun Hao , Ori Kam , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon Thread-Topic: [PATCH v1 0/4] Add support for meter hierarchy Thread-Index: AQHXcmj4QFgRSxAK3kunAVccrgFBKqs3G+zQ Date: Wed, 7 Jul 2021 07:19:33 +0000 Message-ID: References: <20210706131450.30917-1-shunh@nvidia.com> In-Reply-To: <20210706131450.30917-1-shunh@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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 02440256-a013-494e-ed05-08d94117921c x-ms-traffictypediagnostic: DM8PR12MB5429: 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:3383; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YMHnDCh6QA9z941Ttu5AQIi9U8fx0gRGgdNh6s/XM03YnrR4DR/3LYbizcJwTNM0fvn6+Q4YDrqneSS3Y4rCoI7oe+PV3a+ufSxCszDOlV4Y00o+HmvcopbUjolQtpW1z0gqztfcHdf+cFJVgY1YoSYPv3TkGtkDqwCE/qd7QzAK0AvZqtxUytPGa2VwMuzDwkhpQvZYWssW099JA0aymri3EOc3S8Wdnss92lP74EUxQZ341vGk5XV3zNjrC9QTSTQEFS6559NtSmEczdsJ8ww7eYcaDZJZ4fhYqCyQxVHeOqKfWGIaLi/fQNK82MjOid+oyAJFAjGnMqa4a0dZ6MQ56spPf5KzD8oq2TiWRjcVIk2yZDaPJ3O2ZV8wK96hpgt4OddP5HDbtgTQ48afPlTsXT3cGoEytPtDxvvm3m6UNyWn+Wvp+urnUE7GzyzxnGFrSjH/kN2Ups+RH5qcfk4iLtrd3sWOk4fBCwtIZeNLZREIIIvMEtVXbnGbSR9OYs3+uKnBDwlIOlHkRA965vQh8KpQXpnFWtQ6O0y93t4bkZpHwHyPU/N8HEDMdPmrdYnZw94GQUP77UI873mgZ1j6Ugzsnu7FKwnZLzP6Jf37Jiq4bo0r9s0BNoWaLaHOi+gBusfVDTh7SoPhd04CSw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(55016002)(38100700002)(8936002)(7696005)(86362001)(316002)(33656002)(5660300002)(66556008)(6636002)(52536014)(26005)(9686003)(66446008)(53546011)(66476007)(110136005)(8676002)(186003)(83380400001)(478600001)(122000001)(66946007)(2906002)(4326008)(54906003)(71200400001)(76116006)(64756008)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?z+uugEAHuD+w3e2xU7wjAWbkytldSnM+KEVDkMbZCaPDar41olPn+JVfVBsJ?= =?us-ascii?Q?tzMpiJLFHrHy09kTgACZKl9oZyqsAdmxLekLPnbpxHtGOz3NYdrGfd8HFC/w?= =?us-ascii?Q?6GtB84zwiGq7InDA95/cTily4CI51N4PwDQbvk5mAqe8ZLy716YFxTC2Jb2A?= =?us-ascii?Q?+D57qfEwXNgMeRIX360hfZU+aM756q4LdrZIgktsoRnys6Ca9WhDDK39SFUE?= =?us-ascii?Q?uYJ1tjLRiNmNAtuiF5gP7NSPnur+7uGtigL27844zE4fne/adKt3WAxEG8vs?= =?us-ascii?Q?GEo8JAbFRR2d4+ZdRsLSEKGDDk6hMlqD+R/00XRetIyDVB8M3SPxbfFRnDQz?= =?us-ascii?Q?6mcg+CMjfAlu+weL2SP/AD6LFMqxcX5cVgFLcVYMrPd9An7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1Bz1RB/Fg/Pa0+joLsFuruIt9PXdn5f7oJIu0HOIpqJH+hzTQ1?= =?us-ascii?Q?N6DOXXAvPw0B1b5dfasODvbW?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02440256-a013-494e-ed05-08d94117921c X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2021 07:19:34.0221 (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: AgPWZrhxVXRfIZrEuq3vvBCtbgacf2vdD+lmlEgPmfFM5Gfq+Zex1kZ6u9Be/8+ZcMOMTU//Cnh7rLMzDHSswQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5429 Subject: Re: [dpdk-dev] [PATCH v1 0/4] Add support for meter hierarchy 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: Shun Hao > Sent: Tuesday, July 6, 2021 4:15 PM > To: Ori Kam ; Slava Ovsiienko > ; Matan Azrad > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh > Subject: [PATCH v1 0/4] Add support for meter hierarchy >=20 > This adds support for meter hierarchy, which means multiple meters can > be chained together, and using the header meter of hierarchy in a flow > will apply all meters in hierarchy to that flow. >=20 > Shun Hao (4): > net/mlx5: support meter action in meter policy > net/mlx5: support meter hierarchy drop count > net/mlx5: meter hierarchy destroy and cleanup > net/mlx5: validate meter action in policy >=20 > doc/guides/nics/mlx5.rst | 15 + > doc/guides/rel_notes/release_21_08.rst | 6 + > drivers/net/mlx5/mlx5.h | 32 +- > drivers/net/mlx5/mlx5_flow.c | 123 +++-- > drivers/net/mlx5/mlx5_flow.h | 12 + > drivers/net/mlx5/mlx5_flow_dv.c | 701 +++++++++++++++++++++---- > drivers/net/mlx5/mlx5_flow_meter.c | 175 +++++- > 7 files changed, 935 insertions(+), 129 deletions(-) >=20 > -- > 2.21.0 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh