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 D4E0EA0C3F; Thu, 15 Apr 2021 17:13:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61CCC162383; Thu, 15 Apr 2021 17:13:11 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2059.outbound.protection.outlook.com [40.107.243.59]) by mails.dpdk.org (Postfix) with ESMTP id BAE8C162314 for ; Thu, 15 Apr 2021 17:13:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzLQZZwJoDjmUimvFDnIbLLMisza/wj5ruGMMsxrc0aqctVG8df8YGuLqH1zyeHKaLI1P7CGRJXpcvZVQEO5UvOiD4jgkMWNaPJVP3cqQotl/pvHwF8qAGquBOH+n9hSKk+zosv2vB+m6iLFoSS5Or+PfJqDVLV3jrwdH2O6BdhPdH2xOZ/4qsJxXb3mfb5ZQ7AsNZ/QcfaAjXB81mFfpm2evnCc1yDNTqYXTAWNOcMtbfzhL+6ZBZ4ny/vcmdegQAeu4x7ShmM8Fs2M35prRGr8v61nKMB68obSIuJytzjNCJtkCpPzBwGTFyp0AtF3cOsamext2FEQIZ5VZRePFw== 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=xfKlupnk5zbLVL+QSO4ggWe+ojt2hEvdKd0ID57ipYI=; b=BpIhNjRxeJWqw78dZvPMZqepj5f6h52Tt0TCyNYvomgYtCcr0xXzNk7V0Nx09qBeKFpQ6CqSOmBioC9bREhaHPdq0aBFphXZuTFnMMXS5vggAKTD9ELvbIZstiGNOaibItsUn4G+maI4yoU/5sU+RL67WJ75SzFgmPhPTtwjytwc1jvShc68Ffb9cHK4PNzHStKCHYxlwoNrXEfuG0vbt5LWWwuzwRU2BSCZxXL1tWr8CXr/5EnL/k0hXue9jEqqr1k8dLVCX9Ytlt7UqV1NVqZowCsFfO9LNvR3f9FVgguAbYf05TEcbnEyp0iTYyvDwGMmqwX4xWuwKl0nHn4S8w== 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=xfKlupnk5zbLVL+QSO4ggWe+ojt2hEvdKd0ID57ipYI=; b=aN4slRq3B3LVswi1YffqLc5epVXRQ/2XIR7/m6z0tiAKX5lUbOhZ0+wExSXoz4ZFudysuFXeM6uY5REO5LISYMudNpOBmTBSIppyc1tSPFxCmqGYj21pVWKShwy5P+6CPlXINvxNZZtIMrXVaRPsp1Rs1XyJkYM+8VOkeGYv0B2Mwl5JG9i8/A4Oo3aGizJawrM79ldNyK6fzKSC+wlJEyESosJSJSMI5HkKxCbV2RSU8LoBx+e03vm90QVsbHuIfgr+ihBuH5sBEXq8/TPt6070K3HftGKNOAjkoW4GY8UzYwkxEVxLG28MuDZ9gjj7zTz1mBAC5EdhOIIG3rLb4w== Received: from DM6PR12MB4987.namprd12.prod.outlook.com (2603:10b6:5:163::31) by DM6PR12MB3689.namprd12.prod.outlook.com (2603:10b6:5:1c7::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16; Thu, 15 Apr 2021 15:13:05 +0000 Received: from DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308]) by DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308%7]) with mapi id 15.20.4020.022; Thu, 15 Apr 2021 15:13:05 +0000 From: Ori Kam To: Li Zhang , "dekelp@nvidia.com" , Slava Ovsiienko , Matan Azrad , Shahaf Shuler , "cristian.dumitrescu@intel.com" , "lironh@marvell.com" , "jerinj@marvell.com" , "ferruh.yigit@intel.com" , "ajit.khaparde@broadcom.com" , Wisam Monther , Xiaoyun Li , Jasvinder Singh , NBU-Contact-Thomas Monjalon , Andrew Rybchenko , Ray Kinsella , Neil Horman CC: "dev@dpdk.org" , Raslan Darawsheh , Roni Bar Yanai , Haifei Luo , "Jiawei(Jonny) Wang" Thread-Topic: [PATCH v8 1/2] ethdev: add pre-defined meter policy API Thread-Index: AQHXMdiaa/tP3JJqk0uJV7bmWDM+nqq1rypQ Date: Thu, 15 Apr 2021 15:13:04 +0000 Message-ID: References: <20210318085815.804896-1-lizh@nvidia.com> <20210415092023.2089541-1-lizh@nvidia.com> <20210415092023.2089541-2-lizh@nvidia.com> In-Reply-To: <20210415092023.2089541-2-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: [147.236.145.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6b0d9d57-42a4-4ddc-f5c3-08d90020f810 x-ms-traffictypediagnostic: DM6PR12MB3689: 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:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nqI3H+diphA9u7dRoF3rBdzsZdYNj5nwRz4Xo8asciag8nfkN6Y1Wh3HG4h48p7wfJV1oqzgap5pAWT03hTkIN5semHNfQtlMDpA8SnmWdWKoUeybPCiyzbEuOmkjFGfL8sjRjYk1V9wUk9LidKRiiHHaBWgKp1SjdaQfogRP0VkUTqIGvYgx2Zxg4S9hIXRORIUJAnMSYjomaBR6rt/cJkZoJ3TuwwPC64RM7lvfIyZQUJaxi7ZYJWEpN7lM2mvLVhdJJVZprChg8+N+oxYnNxpjS6gCwFFlnBxQh47oag/T5W0OZnnhBjKhgzO+tyaPu6vAw7V+jnkhrdsUHxXVSXaDzcsurm+iuH9ZR1LmcCUuE1qPcfCs/oQas+T+wRzqKA60KDGVY2mQfId9f+N67Vc8WjBytApE8q+qO2LgoIdE5v+4H/qNQ+ecou86w4fWHrNyj7y1JDoU+VOdj3VrbEHvwYELW9kyclmWVSOtpw5PXzBYGFwqAqL+3b/Wtw+QVsaE18no2tm5ehR5y7JOfTrBmxrsQTozZkENcZ/QPH8agQPEoPEsd7HELsEbfEN9wognwpyY+sddAV5nSVR1T75WbFc9l+qt58TvyhRYuC7wtJk0w1DDQ/pixuKwDfLggX97MjRHAK2df2h4P7cYQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4987.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(39860400002)(346002)(376002)(2906002)(8936002)(66476007)(83380400001)(7696005)(76116006)(110136005)(54906003)(6506007)(478600001)(5660300002)(53546011)(71200400001)(33656002)(52536014)(8676002)(55016002)(26005)(66446008)(316002)(122000001)(4326008)(66946007)(921005)(7416002)(107886003)(66556008)(86362001)(38100700002)(9686003)(64756008)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?Z3FMRjkvL1ZGdXRBa0lPOXg2blVPeElPUjlaVWpLQlZxYTNqQXhPSnJYNkhE?= =?utf-8?B?ZXdEZnZZcWdFdk1oVnZ2L0xrTURoc2g1WHlqVXpBaVd2S0FqMzFpc1dlc29W?= =?utf-8?B?dG02QkszTExmSVNFeHE4N3ZOZDNjc0YzcWtKUE1kcWJLaE93WW4zU2QrWWs3?=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iOFVOQ0Vk?= =?utf-8?B?SG8vNTJUMmsvTXR6NXNXdzhRWmlnY005OExjckJzdGR0a1dJWjc1MDBBUFpG?= =?utf-8?B?VC9XZ29BTHBaQXM1SFB4eVlqbTFtYVoyOUpZaTBKamJWZmZnS2w4U1ExeExR?= =?utf-8?B?K2JEd0syUXc1c1JkeXJNR1FOclpaMUVTOGJOQTR2ekIwSTlUcXZZMGxtN2RB?= =?utf-8?B?N25mSXovVmhIVC9LMTZDOHA1OHN1OHRXemVZbHVLRU81bkNyMCticXVldW1T?= =?utf-8?B?aldMcWFGb2VMMmhPc1dhV2ZURWpxdmlEUnlmemg0NEd6Tnd5Vm9PVHZFUGJr?= =?utf-8?B?Z05HMGc4bzV4WDh6ajdhNWFHWEd1cEY4Qm5DS0NYZ3NLTXRkZEdtMG9RVjU5?= =?utf-8?B?VnEzSzI0WE9jQUorZzFkeWs5bFRuanV5N3JleDQ2b1BBWWQxZkkwNHRhL0NJ?= =?utf-8?B?Ym1pVE8wZ0MrM0MwMUxxOGpmRWYxREJhWVFWcnNpOWZIUCt2OVlwa2ZqOEU3?= =?utf-8?B?KzdhUDUreWtBOWFNYmlVcEgwbXZKUEx3bjA5Tkh1aTZRb3hZN2VJY3lSTUNv?= =?utf-8?B?YUlvalQyd2hyb0gvd0FUNkh1ZEdwR1hZbkhsREdFaXhRSUw0UG95Um1iT3JG?= =?utf-8?B?U2hWa082WTNscEcwa3ZmU1ltWmRSQkVhQzJMaG1uNE9FZ0thYjM4WHNTdTlT?= =?utf-8?Q?zD/8tGL3D1R+f2WLD4/KdU6I91mMjRa0icvG9K0?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4987.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b0d9d57-42a4-4ddc-f5c3-08d90020f810 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2021 15:13:04.9161 (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: cFNeDr8JoQallbS/+m0MgvxM5hgM+lTuXVHfPlW920grBNC38OtkUP18SoV2kYg+dWLg8HjQZLiMANAlOSZjMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3689 Subject: Re: [dpdk-dev] [PATCH v8 1/2] ethdev: add pre-defined meter policy API 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" SGkgTGkNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMaSBaaGFuZyA8 bGl6aEBudmlkaWEuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgQXByaWwgMTUsIDIwMjEgMTI6MjAg UE0NCj4gU3ViamVjdDogW1BBVENIIHY4IDEvMl0gZXRoZGV2OiBhZGQgcHJlLWRlZmluZWQgbWV0 ZXIgcG9saWN5IEFQSQ0KPiANCj4gQ3VycmVudGx5LCB0aGUgZmxvdyBtZXRlciBwb2xpY3kgZG9l cyBub3Qgc3VwcG9ydCBtdWx0aXBsZSBhY3Rpb25zDQo+IHBlciBjb2xvcjsgYWxzbyB0aGUgYWxs b3dlZCBhY3Rpb24gdHlwZXMgcGVyIGNvbG9yIGFyZSB2ZXJ5IGxpbWl0ZWQuDQo+IEluIGFkZGl0 aW9uLCB0aGUgcG9saWN5IGNhbm5vdCBiZSBwcmUtZGVmaW5lZC4NCj4gDQo+IER1ZSB0byB0aGUg Z3Jvd2luZyBpbiBmbG93IGFjdGlvbnMgb2ZmbG9hZCBh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