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 2326F45AF8; Wed, 9 Oct 2024 23:25:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1561740156; Wed, 9 Oct 2024 23:25:29 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 0CDF14014F for ; Wed, 9 Oct 2024 23:25:27 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id B4CE3206CC; Wed, 9 Oct 2024 23:25:26 +0200 (CEST) Content-class: urn:content-classes:message Subject: RE: [PATCH v6 7/7] vhost: optimize memcpy routines when cc memcpy is used MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Wed, 9 Oct 2024 23:25:25 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F7B2@smartserver.smartshare.dk> In-Reply-To: <20240920102716.738940-8-mattias.ronnblom@ericsson.com> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-TNEF-Correlator: Thread-Topic: [PATCH v6 7/7] vhost: optimize memcpy routines when cc memcpy is used Thread-Index: AdsLSQIcj5oO+nFfQhK3h7ysSB3t1QPSBT3Q References: <20240724075357.546248-2-mattias.ronnblom@ericsson.com> <20240920102716.738940-1-mattias.ronnblom@ericsson.com> <20240920102716.738940-8-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 PiArI2lmIGRlZmluZWQoUlRFX1VTRV9DQ19NRU1DUFkpICYmIGRlZmluZWQoUlRFX0FSQ0hfWDg2 XzY0KQ0KPiArc3RhdGljIF9fcnRlX2Fsd2F5c19pbmxpbmUgdm9pZA0KPiArcGt0Y3B5KHZvaWQg KnJlc3RyaWN0IGluX2RzdCwgY29uc3Qgdm9pZCAqcmVzdHJpY3QgaW5fc3JjLCBzaXplX3QgbGVu KQ0KPiArew0KDQpBIGNvbW1lbnQgZGVzY3JpYmluZyB3aHkgYmF0Y2hfY29weV9lbGVtLmRzdCBh bmQgc3JjIHBvaW50IHRvIDE2IGJ5dGUgYWxpZ25lZCBkYXRhIHdvdWxkIGJlIG5pY2UuDQoNCj4g Kwl2b2lkICpkc3QgPSBfX2J1aWx0aW5fYXNzdW1lX2FsaWduZWQoaW5fZHN0LCAxNik7DQo+ICsJ Y29uc3Qgdm9pZCAqc3JjID0gX19idWlsdGluX2Fzc3VtZV9hbGlnbmVkKGluX3NyYywgMTYpOw0K PiArDQo+ICsJaWYgKGxlbiA8PSAyNTYpIHsNCj4gKwkJc2l6ZV90IGxlZnQ7DQo+ICsNCj4gKwkJ Zm9yIChsZWZ0ID0gbGVuOyBsZWZ0ID49IDMyOyBsZWZ0IC09IDMyKSB7DQo+ICsJCQltZW1jcHko ZHN0LCBzcmMsIDMyKTsNCj4gKwkJCWRzdCA9IFJURV9QVFJfQUREKGRzdCwgMzIpOw0KPiArCQkJ c3JjID0gUlRFX1BUUl9BREQoc3JjLCAzMik7DQo+ICsJCX0NCj4gKw0KPiArCQltZW1jcHkoZHN0 LCBzcmMsIGxlZnQpOw0KPiArCX0gZWxzZQ0KPiArCQltZW1jcHkoZHN0LCBzcmMsIGxlbik7DQo+ ICt9DQo+ICs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