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 747C745B34; Mon, 14 Oct 2024 09:56:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FC1B40273; Mon, 14 Oct 2024 09:56:09 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 6762140151 for ; Mon, 14 Oct 2024 09:56:08 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 1DF2F208AF; Mon, 14 Oct 2024 09:56:08 +0200 (CEST) Content-class: urn:content-classes:message Subject: RE: [PATCH v2 1/6] eal: add static per-lcore memory allocation facility MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Mon, 14 Oct 2024 09:56:06 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F7D0@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: [PATCH v2 1/6] eal: add static per-lcore memory allocation facility Thread-Index: AdsJs0RPdFtKwJ8ZSOWjEV0HJLgqeAUU67xQ References: <20240910070344.699183-2-mattias.ronnblom@ericsson.com> <20240911170430.701685-1-mattias.ronnblom@ericsson.com> <20240911170430.701685-2-mattias.ronnblom@ericsson.com> <98CBD80474FA8B44BF855DF32C47DC35E9F6D3@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35E9F6DB@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "Jerin Jacob" , Cc: , "Chengwen Feng" , "Stephen Hemminger" , "Konstantin Ananyev" , "David Marchand" , "Anatoly Burakov" 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 dDogV2VkbmVzZGF5LCAxOCBTZXB0ZW1iZXIgMjAyNCAxMi4xMg0KPiANCj4gT24gVGh1LCBTZXAg MTIsIDIwMjQgYXQgODo1MuKAr1BNIEplcmluIEphY29iIDxqZXJpbmphY29ia0BnbWFpbC5jb20+ DQo+IHdyb3RlOg0KPiA+DQo+ID4gT24gVGh1LCBTZXAgMTIsIDIwMjQgYXQgNzoxMeKAr1BNIE1v cnRlbiBCcsO4cnVwDQo+IDxtYkBzbWFydHNoYXJlc3lzdGVtcy5jb20+IHdyb3RlOg0KPiA+ID4N Cj4gPiA+ID4gRnJvbTogSmVyaW4gSmFjb2IgW21haWx0bzpqZXJpbmphY29ia0BnbWFpbC5jb21d DQo+ID4gPiA+IFNlbnQ6IFRodXJzZGF5LCAxMiBTZXB0ZW1iZXIgMjAyNCAxNS4xNw0KPiA+ID4g Pg0KPiA+ID4gPiBPbiBUaHUsIFNlcCAxMiwgMjAyNCBhdCAyOjQw4oCvUE0gTW9ydGVuIEJyw7hy dXANCj4gPG1iQHNtYXJ0c2hhcmVzeXN0ZW1zLmNvbT4NCj4gPiA+ID4gd3JvdGU6DQo+ID4gPiA+ ID4NCj4gPiA+ID4gPiA+ICsjZGVmaW5lIExDT1JFX0JVRkZFUl9TSVpFIChSVEVfTUFYX0xDT1JF X1ZBUiAqDQo+IFJURV9NQVhfTENPUkUpDQo+ID4gPiA+ID4NCj4gPiA+ID4gPiBDb25zaWRlcmlu ZyBodWdlcGFnZXMu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