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 6C914428CB; Tue, 4 Apr 2023 09:32:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C998410FB; Tue, 4 Apr 2023 09:32:43 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 9F22D410FA for ; Tue, 4 Apr 2023 09:32:41 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [RFC v2 2/2] eal: add high-performance timer facility Date: Tue, 4 Apr 2023 09:32:37 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D8784F@smartserver.smartshare.dk> In-Reply-To: <5ad97751-7026-7e44-8d63-3897a807333f@ericsson.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC v2 2/2] eal: add high-performance timer facility Thread-Index: AQHZV2Dxrx+nyF+7xkWB9CrMDNiRoK8Gwh0AgBLX9YCAAUXxQA== References: <20230228093916.87206-1-mattias.ronnblom@ericsson.com> <20230315170342.214127-1-mattias.ronnblom@ericsson.com> <20230315170342.214127-3-mattias.ronnblom@ericsson.com> <98CBD80474FA8B44BF855DF32C47DC35D877E2@smartserver.smartshare.dk> <5ad97751-7026-7e44-8d63-3897a807333f@ericsson.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , Cc: "Erik Gabriel Carrillo" , "David Marchand" , "Maria Lingemark" , "Stefan Sundkvist" , "Stephen Hemminger" , "Tyler Retzlaff" 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 PiBGcm9tOiBNYXR0aWFzIFLDtm5uYmxvbSBbbWFpbHRvOm1hdHRpYXMucm9ubmJsb21AZXJpY3Nz b24uY29tXQ0KPiBTZW50OiBNb25kYXksIDMgQXByaWwgMjAyMyAxNC4wNA0KPiANCj4gT24gMjAy My0wMy0yMiAxMzoxOCwgTW9ydGVuIEJyw7hydXAgd3JvdGU6DQo+ID4+IEZyb206IE1hdHRpYXMg UsO2bm5ibG9tIFttYWlsdG86bWF0dGlhcy5yb25uYmxvbUBlcmljc3Nvbi5jb21dDQo+ID4+IFNl bnQ6IFdlZG5lc2RheSwgMTUgTWFyY2ggMjAyMyAxOC4wNA0KPiA+DQo+ID4+ICsrKyBiL2xpYi9o dGltZXIvcnRlX2h0aW1lci5oDQo+ID4+IEBAIC0wLDAgKzEsNjggQEANCj4gPj4gKy8qIFNQRFgt TGljZW5zZS1JZGVudGlmaWVyOiBCU0QtMy1DbGF1c2UNCj4gPj4gKyAqIENvcHlyaWdodChjKSAy MDIzIEVyaWNzc29uIEFCDQo+ID4+ICsgKi8NCj4gPj4gKw0KPiA+PiArI2lmbmRlZiBfUlRFX0hU SU1FUl9IXw0KPiA+PiArI2RlZmluZSBfUlRFX0hUSU1FUl9IXw0KPiA+PiArDQo+ID4+ICsjaW5j bHVkZSA8c3RkYm9vbC5oPg0KPiA+PiArI2luY2x1ZGUgPHN0ZGludC5oPg0KPiA+PiArI2luY2x1 ZGUgPHN5cy9xdWV1ZS5oPg0KPiA+PiArDQo+ID4+ICsjaW5jbHVkZSA8cnRlX2JpdG9wcy5oPg0K PiA+PiArDQo+ID4+ICtzdHJ1Y3QgcnRlX2h0aW1lcjsNCj4gPj4gKw0KPiA+PiArdHlwZWRlZiB2 b2lkICgqcnRlX2h0aW1lcl9jYl90KShzdHJ1Y3QgcnRlX2h0aW1lciAqLCB2b2lkICopOw0KPiA+ PiArDQ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