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 DCBBA4597F; Fri, 13 Sep 2024 16:40:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BAF94060B; Fri, 13 Sep 2024 16:40:18 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 0BF1040295 for ; Fri, 13 Sep 2024 16:40:16 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 82E4820EE8; Fri, 13 Sep 2024 16:40:15 +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: [PATCH v3 3/7] eal: add lcore variable performance test Date: Fri, 13 Sep 2024 16:40:12 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F6E2@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3 3/7] eal: add lcore variable performance test Thread-Index: AdsFz3OuOR7ue2lETtuCkJJAxJPcvgAFrZJw References: <20240911170430.701685-2-mattias.ronnblom@ericsson.com> <20240912084429.703405-1-mattias.ronnblom@ericsson.com> <20240912084429.703405-4-mattias.ronnblom@ericsson.com> <88a778d3-e157-41cd-9da7-2d06864a654d@lysator.liu.se> <0a8dd454-976c-4f17-a870-09ba2d90c717@lysator.liu.se> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Jerin Jacob" , =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= Cc: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , , "Stephen Hemminger" , "Konstantin Ananyev" , "David Marchand" , "Jerin Jacob" 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 PiBGcm9tOiBKZXJpbiBKYWNvYiBbbWFpbHRvOmplcmluamFjb2JrQGdtYWlsLmNvbV0NCj4gU2Vu dDogRnJpZGF5LCAxMyBTZXB0ZW1iZXIgMjAyNCAxMy4yNA0KPiANCj4gT24gRnJpLCBTZXAgMTMs IDIwMjQgYXQgMTI6MTfigK9QTSBNYXR0aWFzIFLDtm5uYmxvbSA8aG9mb3JzQGx5c2F0b3IubGl1 LnNlPg0KPiB3cm90ZToNCj4gPg0KPiA+IE9uIDIwMjQtMDktMTIgMTc6MTEsIEplcmluIEphY29i IHdyb3RlOg0KPiA+ID4gT24gVGh1LCBTZXAgMTIsIDIwMjQgYXQgNjo1MOKAr1BNIE1hdHRpYXMg UsO2bm5ibG9tIDxob2ZvcnNAbHlzYXRvci5saXUuc2U+DQo+IHdyb3RlOg0KPiA+ID4+DQo+ID4g Pj4gT24gMjAyNC0wOS0xMiAxNTowOSwgSmVyaW4gSmFjb2Igd3JvdGU6DQo+ID4gPj4+IE9uIFRo dSwgU2VwIDEyLCAyMDI0IGF0IDI6MzTigK9QTSBNYXR0aWFzIFLDtm5uYmxvbQ0KPiA+ID4+PiA8 bWF0dGlhcy5yb25uYmxvbUBlcmljc3Nvbi5jb20+IHdyb3RlOg0KPiA+ID4+Pj4gK3N0YXRpYyBk b3VibGUNCj4gPiA+Pj4+ICtiZW5jaG1hcmtfYWNjZXNzX21ldGhvZCh2b2lkICgqaW5pdF9mdW4p KHZvaWQpLCB2b2lkDQo+ICgqdXBkYXRlX2Z1bikodm9pZCkpDQo+ID4gPj4+PiArew0KPiA+ID4+ Pj4gKyAgICAgICB1aW50NjRfdCBpOw0KPiA+ID4+Pj4gKyAgICAgICB1a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