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 E2BB6A0032; Mon, 18 Jul 2022 13:00:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF0744069F; Mon, 18 Jul 2022 13:00:06 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 1BF4C40041 for ; Mon, 18 Jul 2022 13:00:05 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v1 1/2] eal: add lcore busyness telemetry Date: Mon, 18 Jul 2022 12:59:59 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D871CE@smartserver.smartshare.dk> In-Reply-To: <9a27efbd-31d1-7525-51b0-ead0d969e98a@intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v1 1/2] eal: add lcore busyness telemetry Thread-Index: AdiaiuzX8K7KyucyQuaHjuIY4c3AvQAAE2hg References: <24c49429394294cfbf0d9c506b205029bac77c8b.1657890378.git.anatoly.burakov@intel.com> <98CBD80474FA8B44BF855DF32C47DC35D871CC@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D871CD@smartserver.smartshare.dk> <9a27efbd-31d1-7525-51b0-ead0d969e98a@intel.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Burakov, Anatoly" , "Honnappa Nagarahalli" , , "Bruce Richardson" , "Nicolas Chautru" , "Fan Zhang" , "Ashish Gupta" , "Akhil Goyal" , "David Hunt" , "Chengwen Feng" , "Kevin Laatz" , "Ray Kinsella" , , "Ferruh Yigit" , "Andrew Rybchenko" , , "Sachin Saxena" , , "Ori Kam" , "Konstantin Ananyev" Cc: "Conor Walsh" , "nd" 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 PiBGcm9tOiBCdXJha292LCBBbmF0b2x5IFttYWlsdG86YW5hdG9seS5idXJha292QGludGVsLmNv bV0NCj4gU2VudDogTW9uZGF5LCAxOCBKdWx5IDIwMjIgMTEuNDQNCj4gDQo+IE9uIDE3LUp1bC0y MiAxMDo1NiBBTSwgTW9ydGVuIEJyw7hydXAgd3JvdGU6DQo+ID4+IEZyb206IEhvbm5hcHBhIE5h Z2FyYWhhbGxpIFttYWlsdG86SG9ubmFwcGEuTmFnYXJhaGFsbGlAYXJtLmNvbV0NCj4gPj4gU2Vu dDogU3VuZGF5LCAxNyBKdWx5IDIwMjIgMDUuMTANCj4gPj4NCj4gPj4gPHNuaXA+DQo+ID4+DQo+ ID4+PiBTdWJqZWN0OiBSRTogW1BBVENIIHYxIDEvMl0gZWFsOiBhZGQgbGNvcmUgYnVzeW5lc3Mg dGVsZW1ldHJ5DQo+ID4+Pg0KPiA+Pj4+IEZyb206IEFuYXRvbHkgQnVyYWtvdiBbbWFpbHRvOmFu YXRvbHkuYnVyYWtvdkBpbnRlbC5jb21dDQo+ID4+Pj4gU2VudDogRnJpZGF5LCAxNSBKdWx5IDIw MjIgMTUuMTMNCj4gPj4+Pg0KPiA+Pj4+IEN1cnJlbnRseSwgdGhlcmUgaXMgbm8gd2F5IHRvIG1l YXN1cmUgbGNvcmUgYnVzeW5lc3MgaW4gYSBwYXNzaXZlDQo+ID4+IHdheSwNCj4gPj4+PiB3aXRo b3V0IGFueSBtb2RpZmljYXRpb25zIHRvIHRoZSBhcHBsaWNhdGlvbi4gVGhpcyBwYXRjaCBhZGRz IGENCj4gbmV3DQo+ID4+Pj4gRUFMIEFQSSB0aGF0IHdpbGwgYmUgYWJsZSB0byBw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