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 41D91A034F; Mon, 29 Mar 2021 22:10:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC9CC406B4; Mon, 29 Mar 2021 22:10:22 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2076.outbound.protection.outlook.com [40.107.220.76]) by mails.dpdk.org (Postfix) with ESMTP id D85EC4069D for ; Mon, 29 Mar 2021 22:10:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OZdSGt5ygLaCnsE1/zCPfZw4+NIPRWKP8T48iCe/Ddiq/z9MPY7ysjFoR6eJmlJOk0XSFJSF7IGVRuGdKWdcpdWgS6Vi2whfvq/W71rgFagfTPfeD0uy4MwZxWdfgjKObkedZXLnlDtmH3xsUwDH0A3h0fzWJvgVy1p448lGdWgHbvEQd8Tc7gvCQzftOVu5jbgmrMiYH4X2aCDn31+/EENoYeuK8BuBwxFa0JC/At40/j2YkP3sVVz6mD/e+/TAAK7GcF7r12t9rVL35vvsuuX81B4ZCtbRkjAznuO3BAWEZ9xiUdAAEfSQYWt3CKlKfzof9dj/AdkmTq0dP6whkQ== 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=f7lWYzwxiGcg/Wdy58Vfs72X9TpZx/GWgWx8BmT1p38=; b=Uh5rmvJuy9OUfkq2kUtp3B9LJurWpc+Z+zgeCk1qzZSrCn+CttTgGH2/pgQZlsle4aU7q9WotEyvi1FAS+c+KA5NSGdOiASCogjwORcbsDtur9M026DBxmudRmEcy9GP/bIisl4Ka73KcLF3sBF17aKQQNdV0dCaL0TCoBsKW6SMK41tXEv01hVlWgWSZJtGR4GTgJy98hM95xKiyY6l1TseQed68WRZhLkf+CS66sOeytgU70LC1JDesomUTzbAHWS/fkmiR9owsgzd1AeWSIf2ek6fpf0MHZHea+2kk/Epoh62+TAyQfVZpXM5UTZWkArVm1HJDgBooLX2GiFH0Q== 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=f7lWYzwxiGcg/Wdy58Vfs72X9TpZx/GWgWx8BmT1p38=; b=FNmI+00bpNDhex2jBuiA+gtKOQ/0FPO3xBivnvhYLBqFGT/GLIehen3LIrEynCdLIvBejK9rRqEQox4hfvg+h74C8NJu1BTm0q4jCK+ERQ0XFMZ2+Vx6x/Aol2MAKvsdBwDDLu87q5GXIxeRbRTSivaRoErpqCB2CgetzK74bIuKku3rMH7zyRY9OyzNz3HfRD2HRzD58JPdsEAgWbl68F2Ze3oK8Uw/T/edvpU+t0nZIEAqRlicYtLED4otrm5AOnBJcI6Y7G8P+oLOZoXyoup9RJQeaRLCfC/Bpo7wFOQoZjj26QIq8G9O65aE4HjvmySvVfLw9GI1g1TWCkxjEQ== Received: from BL0PR12MB2483.namprd12.prod.outlook.com (2603:10b6:207:4c::26) by BL0PR12MB2548.namprd12.prod.outlook.com (2603:10b6:207:41::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.24; Mon, 29 Mar 2021 20:10:17 +0000 Received: from BL0PR12MB2483.namprd12.prod.outlook.com ([fe80::2da7:6060:9bc4:6309]) by BL0PR12MB2483.namprd12.prod.outlook.com ([fe80::2da7:6060:9bc4:6309%5]) with mapi id 15.20.3933.039; Mon, 29 Mar 2021 20:10:17 +0000 From: Matan Azrad To: Jerin Jacob CC: "Dumitrescu, Cristian" , Li Zhang , Dekel Peled , Ori Kam , Slava Ovsiienko , Shahaf Shuler , "lironh@marvell.com" , "Singh, Jasvinder" , NBU-Contact-Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Hemant Agrawal , Ajit Khaparde , "Richardson, Bruce" , "Doherty, Declan" , "dev@dpdk.org" , Raslan Darawsheh , Roni Bar Yanai Thread-Topic: [PATCH 2/2] [RFC]: ethdev: manage meter API object handles by the drivers Thread-Index: AQHXG9Tf+hxjiPtdp0KoZArVyb7r8qqSIKAAgAIvtQCAA45pAIADlPYA Date: Mon, 29 Mar 2021 20:10:17 +0000 Message-ID: References: <20210318085815.804896-1-lizh@nvidia.com> <20210318085815.804896-2-lizh@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [79.182.29.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 157b3eec-4e4d-4d99-15f2-08d8f2eeac18 x-ms-traffictypediagnostic: BL0PR12MB2548: 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: O058bFGvamVioK8a2Rc2wH6MMcMnqnXoFvVzn+D+XSltj16yI6HJ2VQyeG5qswJWN7yhdfKYAD/RZhcCexwNYT1Q1nVmjSHEH4FVQA9+rbc6aRuq/FTCLDRod2s2qb/n5B47If0ApQy9ayAGeqHK/+hVbTN1+l2RVV5oZqsWvfBcpYhmCo+I/oVPZ8nABH60wAEpmXADgnIR61B9+wJQ/NMAbJjSYDHCVsFrvPzht0e4itW9UP18ICGkSpliiLt0EE0M04NRuYw4bM5Nhal4e6Q1KhF1Th3S3ZHUW3L0dxAQUseJHX4OYGxnlZ3y/oEa4D9Qco73Ef7qmjQK0dOAd+RoGYMJ4ECPPzYUOr1DbH4kELNqwN64EgVDnEEMxkoct/kjR63VvJXrnfO5NLYaIIkEiqfqQMansNYEcI/gDNSdes7AOfxnSZsQ7Lmhxk4/Gtcir8V0x052QBlFpCoHYWRWgeLyRTbIn0l9kjLh70n3tz0j+JYyjXAaPR8pJ21fICJqsMhlj16Wy6V2z6Z1kinLhjdsBqt056N9OUxAgdGVuH+iuo6D/SOrJRJCnc9jys5nlPFFbxgMpbfQeJ+qQEkRj4DoSqFNYkrFV2xpCPNB9RELE00Dyu9qXJgVdsMbCl/+k1K8gmcOHpFGJ8VbXx6RsamGGcmUEumpYRcENzs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR12MB2483.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(136003)(396003)(346002)(376002)(6506007)(53546011)(5660300002)(2906002)(54906003)(4326008)(66446008)(186003)(66476007)(66556008)(33656002)(26005)(76116006)(71200400001)(83380400001)(8936002)(478600001)(6916009)(107886003)(7696005)(8676002)(316002)(7416002)(9686003)(55016002)(38100700001)(64756008)(66946007)(52536014)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?YkZlWlZXU3VFbEovQlpidVZ5SWhjMEV0MTk0aVdQaHVkVHNqdXJ4VlBYL1Zw?= =?utf-8?B?TDNIeXFCeDlmdHp2NmIxREI5cFJVYTVpeXZ6UnUzL3N6OVI5T3VRb2JmU09W?= =?utf-8?B?d2gwNzBUZnVxeVl2WGpFYkVWU1h3SXVsY1ZlK2hjUWRoK0NhSzNIQUU2aEtQ?= =?utf-8?B?bGlNMDM3cmVwME5rRURSbE5zUXJaRVhRakQzMUZSV1VzRSt2ZDB0YlhQNG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a3ZUT01mTG1ncHJEWjFv?= =?utf-8?B?VlJwS3B5MnowTTI4VVFPY3BQaXk3d3grRGFFSCtpNjFrUzdlZXg4MEYyRnlT?= =?utf-8?B?Y3BjQkZOaUV3eHRaTm9oUytva2pDd3NONytWL3J1VHUrVUlHNWsvUjRGL1FD?= =?utf-8?B?Q3ZFWnRRSCt1azF6akhua3o4WHRvdGJNejdnTEFjWVFrOGE0UGlaOGhrbVlC?= =?utf-8?B?dS96VVIvOElBcmlJMTFPUWlEOVcwT3M5SkkzeGJvcit4V00zSTFSNnN6SXhP?= =?utf-8?B?MDgzK3ZjcEZTRktPVzV6a2RyUnV2MERmbnpScnVvTjJadzBaN3QzV0VROGlp?= =?utf-8?B?OWV5cHV4NzE2SGpGSmZtTnNlTnhRVG0zdDlSOHozZ3VIWkRPMXdUc2gyZFl3?= =?utf-8?B?VUxxZTZ1c3BqckFFT3VudnFrVFZEaFU1WERXQ1FrR2tBM0VvaEFWSDl6eEZ6?= =?utf-8?B?WGhOT2hTUzhWYnR0UHVBYUdYQnV4aFRhQ1RpRDlGUXVLS3lEYUlTR1BpNTZH?= =?utf-8?B?VVYwWFJJMTVSQzl3cDFYYTc3cmVDWXBxVEQrTnhkRHozSTNOaTNJd2tZSE96?= =?utf-8?B?c0FEcHJITEhzdW9nSHBRZFBwODAzU2F6ZTBXZ2lOVjVLTE9nN2RZSGNBTjR4?= =?utf-8?Q?7Sk0qLAO9jds39aKDQ=3D?= 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: BL0PR12MB2483.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 157b3eec-4e4d-4d99-15f2-08d8f2eeac18 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2021 20:10:17.4654 (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: UV0hoOJ2OP4g8Az1TE5WFpjj1VYPjwwZwjAzeBSLsoB6sGMPc5rddpm7jlL+IyOC1qFo0ezBpbHlAPYr2dxQ+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB2548 Subject: Re: [dpdk-dev] [PATCH 2/2] [RFC]: ethdev: manage meter API object handles by the drivers 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" SGkgSmVyaW4NCg0KVGhhbmtzIGZvciB0aGUgcmV2aWV3Lg0KUFNCDQoNCkZyb206IEplcmluIEph Y29iDQo+IE9uIFRodSwgTWFyIDI1LCAyMDIxIGF0IDE6NTEgUE0gTWF0YW4gQXpyYWQgPG1hdGFu QG52aWRpYS5jb20+IHdyb3RlOg0KPiA+DQo+ID4gSGkgQ3Jpc3RpYW4NCj4gPg0KPiA+IEZyb206 IER1bWl0cmVzY3UsIENyaXN0aWFuDQo+ID4gPiBIaSBMaSBhbmQgTWF0YW4sDQo+ID4gPg0KPiA+ ID4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+ID4gPiBGcm9tOiBMaSBaaGFuZyA8 bGl6aEBudmlkaWEuY29tPg0KPiA+ID4gPiBTZW50OiBUaHVyc2RheSwgTWFyY2ggMTgsIDIwMjEg ODo1OCBBTQ0KPiA+ID4gPiBUbzogZGVrZWxwQG52aWRpYS5jb207IG9yaWthQG52aWRpYS5jb207 IHZpYWNoZXNsYXZvQG52aWRpYS5jb207DQo+ID4gPiA+IG1hdGFuQG52aWRpYS5jb207IHNoYWhh ZnNAbnZpZGlhLmNvbTsgbGlyb25oQG1hcnZlbGwuY29tOyB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