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 05CEE440F2; Tue, 28 May 2024 11:08:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7F09402D2; Tue, 28 May 2024 11:08:00 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 0CD8E4029A for ; Tue, 28 May 2024 11:08:00 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id DDE4520992; Tue, 28 May 2024 11:07:59 +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] eal: provide option to use compiler memcpy instead of RTE X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 28 May 2024 11:07:58 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F4B7@smartserver.smartshare.dk> In-Reply-To: <6c21fd93-a875-4fde-ae02-0a146f0efdb4@lysator.liu.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC v2] eal: provide option to use compiler memcpy instead of RTE Thread-Index: Adqw3WzC3tThQDWeSS6bjuI8n53OzgAAC2sA References: <20240527111151.188607-1-mattias.ronnblom@ericsson.com> <20240528074354.190779-1-mattias.ronnblom@ericsson.com> <738e376c-c5b6-44dc-ad51-00f40d2ea6b5@lysator.liu.se> <6c21fd93-a875-4fde-ae02-0a146f0efdb4@lysator.liu.se> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "Bruce Richardson" Cc: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , , "Stephen Hemminger" 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 PiBGcm9tOiBNYXR0aWFzIFLDtm5uYmxvbSBbbWFpbHRvOmhvZm9yc0BseXNhdG9yLmxpdS5zZV0N Cj4gU2VudDogVHVlc2RheSwgMjggTWF5IDIwMjQgMTEuMDANCj4gDQo+IE9uIDIwMjQtMDUtMjgg MTA6MjcsIEJydWNlIFJpY2hhcmRzb24gd3JvdGU6DQo+ID4gT24gVHVlLCBNYXkgMjgsIDIwMjQg YXQgMTA6MTk6MTVBTSArMDIwMCwgTWF0dGlhcyBSw7ZubmJsb20gd3JvdGU6DQo+ID4+IE9uIDIw MjQtMDUtMjggMDk6NDMsIE1hdHRpYXMgUsO2bm5ibG9tIHdyb3RlOg0KPiA+Pj4gUHJvdmlkZSBi dWlsZCBvcHRpb24gdG8gaGF2ZSBmdW5jdGlvbnMgaW4gPHJ0ZV9tZW1jcHkuaD4gZGVsZWdhdGUg dG8NCj4gPj4+IHRoZSBzdGFuZGFyZCBjb21waWxlci9saWJjIG1lbWNweSgpLCBpbnN0ZWFkIG9m IHVzaW5nIHRoZSB2YXJpb3VzDQo+ID4+PiB0cmFkaXRpb25hbCwgaGFuZGNyYWZ0ZWQsIHBlci1h cmNoaXRlY3R1cmUgcnRlX21lbWNweSgpDQo+ID4+PiBpbXBsZW1lbnRhdGlvbnMuDQo+ID4+Pg0K PiA+Pj4gQSBuZXcgbWVzb24gYnVpbGQgb3B0aW9uICd1c2VfY2NfbWVtY3B5JyBpcyBhZGRlZC4g VGhlIGRlZmF1bHQgaXMNCj4gPj4+IHRydWUuIEl0J3Mgbm90IG9idmlvdXMgd2hhdCBzaG91bGQg YmUgdGhlIGRlZmF1bHQsIGJ1dCBjb21waWxlcg0KPiA+Pj4gbWVtY3B5KCkgaXMgZW5hYmxlZC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