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 0B2F745634; Wed, 17 Jul 2024 12:32:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E92AB40608; Wed, 17 Jul 2024 12:32:07 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 410974042C for ; Wed, 17 Jul 2024 12:32:06 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4WPBzR2YfWz6JB4X; Wed, 17 Jul 2024 18:30:43 +0800 (CST) Received: from frapeml100006.china.huawei.com (unknown [7.182.85.201]) by mail.maildlp.com (Postfix) with ESMTPS id 7E3A4140C98; Wed, 17 Jul 2024 18:32:01 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100006.china.huawei.com (7.182.85.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 17 Jul 2024 12:32:01 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.039; Wed, 17 Jul 2024 12:32:01 +0200 From: Konstantin Ananyev To: Wathsala Vithanage , "dev@dpdk.org" , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko CC: "nd@arm.com" , Dhruv Tripathi Subject: RE: [RFC v2] ethdev: an API for cache stashing hints Thread-Topic: [RFC v2] ethdev: an API for cache stashing hints Thread-Index: AQHa1wQchJ5jOpINnUK35xPaSdWsu7H6uovQ Date: Wed, 17 Jul 2024 10:32:00 +0000 Message-ID: <4a974b363c304b768ac05ebe0e45335a@huawei.com> References: <20240715221141.16153-1-wathsala.vithanage@arm.com> In-Reply-To: <20240715221141.16153-1-wathsala.vithanage@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.146.14] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQoNCj4gQW4gYXBwbGljYXRpb24gcHJvdmlkZXMgY2FjaGUgc3Rhc2hpbmcgaGludHMgdG8gdGhl IGV0aGVybmV0IGRldmljZXMgdG8NCj4gaW1wcm92ZSBtZW1vcnkgYWNjZXNzIGxhdGVuY2llcyBm cm9tIHRoZSBDUFUgYW5kIHRoZSBOSUMuIFRoaXMgcGF0Y2gNCj4gaW50cm9kdWNlcyB0aHJlZSBk aXN0aW5jdCBoaW50cyBmb3IgdGhpcyBwdXJwb3NlLg0KPiANCj4gVGhlIFJURV9FVEhfREVWX1NU QVNIX0hJTlRfSE9TVF9XSUxMTkVFRCBoaW50IGluZGljYXRlcyB0aGF0IHRoZSBob3N0DQo+IChD UFUpIHJlcXVpcmVzIHRoZSBkYXRhIHdyaXR0ZW4gYnkgdGhlIE5JQyBpbW1lZGlhdGVseS4gVGhp cyBpbXBsaWVzDQo+IHRoYXQgdGhlIENQVSBleHBlY3RzIHRvIHJlYWQgZGF0YSBmcm9tIGl0cyBs b2NhbCBjYWNoZSByYXRoZXIgdGhhbiBMTEMNCj4gb3IgbWFpbiBtZW1vcnkgaWYgcG9zc2libGUu IFRoaXMgd291bGQgaW1wcm92ZSBtZW1vcnkgYWNjZXNzIGxhdGVuY3kgaW4NCj4gdGhlIFJ4IHBh dGguIEZvciBQQ0kgZGV2aWNlcyB3aXRoIFRQSCBjYXBhYmlsaXR5LCB0aGVzZSBoaW50cyB0cmFu c2xhdGUNCj4gaW50byBEV0hSIChEZXZpY2Ug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