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 D28FEA00C2; Mon, 26 Sep 2022 11:37:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE9844069B; Mon, 26 Sep 2022 11:37:32 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 2B3D5400D7 for ; Mon, 26 Sep 2022 11:37:31 +0200 (CEST) Received: from dggpeml500021.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Mbcxk69mBz1P724; Mon, 26 Sep 2022 17:33:14 +0800 (CST) Received: from fraeml712-chm.china.huawei.com (10.206.15.61) by dggpeml500021.china.huawei.com (7.185.36.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 26 Sep 2022 17:37:27 +0800 Received: from fraeml712-chm.china.huawei.com ([10.206.15.61]) by fraeml712-chm.china.huawei.com ([10.206.15.61]) with mapi id 15.01.2375.031; Mon, 26 Sep 2022 11:37:25 +0200 From: Konstantin Ananyev To: Kevin Laatz , "dev@dpdk.org" CC: "anatoly.burakov@intel.com" , Conor Walsh , David Hunt , Bruce Richardson , Nicolas Chautru , Fan Zhang , Ashish Gupta , Akhil Goyal , Fengchengwen , "Ray Kinsella" , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Jerin Jacob , Sachin Saxena , Hemant Agrawal , Ori Kam , "Honnappa Nagarahalli" , Konstantin Ananyev Subject: RE: [PATCH v7 1/4] eal: add lcore poll busyness telemetry Thread-Topic: [PATCH v7 1/4] eal: add lcore poll busyness telemetry Thread-Index: AQHYyBwnq1Rf9qaPr0irR9A4hv15eq3mcjuwgAUpd4CABeTakA== Date: Mon, 26 Sep 2022 09:37:25 +0000 Message-ID: References: <24c49429394294cfbf0d9c506b205029bac77c8b.1657890378.git.anatoly.burakov@intel.com> <20220914092929.1159773-1-kevin.laatz@intel.com> <20220914092929.1159773-2-kevin.laatz@intel.com> <9a6fec15f9684d21bb4730596cceacff@huawei.com> <4af4b5d6-57a9-39a4-2197-a2acdc57156b@intel.com> In-Reply-To: <4af4b5d6-57a9-39a4-2197-a2acdc57156b@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.195.34.91] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected 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 DQpIaSBLZXZpbiwNCg0KPiA+PiBDdXJyZW50bHksIHRoZXJlIGlzIG5vIHdheSB0byBtZWFzdXJl IGxjb3JlIHBvbGwgYnVzeW5lc3MgaW4gYSBwYXNzaXZlIHdheSwNCj4gPj4gd2l0aG91dCBhbnkg bW9kaWZpY2F0aW9ucyB0byB0aGUgYXBwbGljYXRpb24uIFRoaXMgcGF0Y2ggYWRkcyBhIG5ldyBF QUwgQVBJDQo+ID4+IHRoYXQgd2lsbCBiZSBhYmxlIHRvIHBhc3NpdmVseSB0cmFjayBjb3JlIHBv bGxpbmcgYnVzeW5lc3MuDQo+ID4+DQo+ID4+IFRoZSBwb2xsIGJ1c3luZXNzIGlzIGNhbGN1bGF0 ZWQgYnkgcmVseWluZyBvbiB0aGUgZmFjdCB0aGF0IG1vc3QgRFBESyBBUEkncw0KPiA+PiB3aWxs IHBvbGwgZm9yIHdvcmsgKHBhY2tldHMsIGNvbXBsZXRpb25zLCBldmVudGRldiBldmVudHMsIGV0 YykuIEVtcHR5DQo+ID4+IHBvbGxzIGNhbiBiZSBjb3VudGVk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