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 04FCD456E2; Mon, 29 Jul 2024 13:00:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4DEA40261; Mon, 29 Jul 2024 13:00:15 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 867F44021D for ; Mon, 29 Jul 2024 13:00:14 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 6D84020778; Mon, 29 Jul 2024 13:00:13 +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 v5 6/6] vhost: optimize memcpy routines when cc memcpy is used Date: Mon, 29 Jul 2024 13:00:10 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F5B8@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20240724075357.546248-7-mattias.ronnblom@ericsson.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v5 6/6] vhost: optimize memcpy routines when cc memcpy is used Thread-Index: AdrdoAJY4kAvIMXoSrqwESVj51pZuAEAgypg References: <20240620175731.420639-2-mattias.ronnblom@ericsson.com> <20240724075357.546248-1-mattias.ronnblom@ericsson.com> <20240724075357.546248-7-mattias.ronnblom@ericsson.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , Cc: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "Stephen Hemminger" , "David Marchand" , "Pavan Nikhilesh" , "Bruce Richardson" 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 b24uY29tXQ0KPiBTZW50OiBXZWRuZXNkYXksIDI0IEp1bHkgMjAyNCAwOS41NA0KDQpXaGljaCBw YWNrZXQgbWl4IHdhcyB1c2VkIGZvciB5b3VyIHRlc3RzPyBTeW50aGV0aWMgSU1JWCwgb3Igc29t ZSBsaXZlIGRhdGE/DQoNCj4gKy8qIFRoZSBjb2RlIGdlbmVyYXRlZCBieSBHQ0MgKGFuZCB0byBh IGxlc3NlciBleHRlbnQsIGNsYW5nKSB3aXRoIGp1c3QNCj4gKyAqIGEgc3RyYWlnaHQgbWVtY3B5 KCkgdG8gY29weSBwYWNrZXRzIGlzIGxlc3MgdGhhbiBvcHRpbWFsIG9uIEludGVsDQo+ICsgKiBQ LWNvcmVzLCBmb3Igc21hbGwgcGFja2V0cy4gVGh1cyB0aGUgbmVlZCBvZiB0aGlzIHNwZWNpYWxp emVkDQo+ICsgKiBtZW1jcHkoKSBpbiBidWlsZHMgd2hlcmUgdXNlX2NjX21lbWNweSBpcyBzZXQg dG8gdHJ1ZS4NCj4gKyAqLw0KPiArI2lmIGRlZmluZWQoUlRFX1VTRV9DQ19NRU1DUFkpICYmIGRl ZmluZWQoUlRFX0FSQ0hfWDg2XzY0KQ0KPiArc3RhdGljIF9fcnRlX2Fsd2F5c19pbmxpbmUgdm9p ZA0KPiArcGt0Y3B5KHZvaWQgKnJlc3RyaWN0IGluX2RzdCwgY29uc3Qgdm9pZCAqcmVzdHJpY3Qg aW5fc3JjLCBzaXplX3QgbGVuKQ0KPiArew0KPiArCXZvaWQgKmRzdCA9IF9fYnVpbHRpbl9hc3N1 bWVfYWxpZ25lZChpbl9k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