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 88D624611A; Fri, 24 Jan 2025 09:32:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 67AFF40E11; Fri, 24 Jan 2025 09:32:36 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 85D64402E9 for ; Fri, 24 Jan 2025 09:32:35 +0100 (CET) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4YfWGf6MhNz6K9Lx; Fri, 24 Jan 2025 16:30:34 +0800 (CST) Received: from frapeml100006.china.huawei.com (unknown [7.182.85.201]) by mail.maildlp.com (Postfix) with ESMTPS id 3723A1402DB; Fri, 24 Jan 2025 16:32:33 +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; Fri, 24 Jan 2025 09:32:33 +0100 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; Fri, 24 Jan 2025 09:32:33 +0100 From: Konstantin Ananyev To: Stephen Hemminger , "dev@dpdk.org" CC: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "Andrew Rybchenko" Subject: RE: [PATCH v3 09/15] mempool: add allocation function attributes Thread-Topic: [PATCH v3 09/15] mempool: add allocation function attributes Thread-Index: AQHbbbRLH7sY1V3DWU2oCAvUt3OoU7MlmYRA Date: Fri, 24 Jan 2025 08:32:32 +0000 Message-ID: References: <20250110170603.538756-1-stephen@networkplumber.or> <20250123163003.23394-1-stephen@networkplumber.org> <20250123163003.23394-10-stephen@networkplumber.org> In-Reply-To: <20250123163003.23394-10-stephen@networkplumber.org> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.156.8] 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 DQoNCj4gVXNlIGZ1bmN0aW9uIGF0dHJpYnV0ZXMgdG8gY2F0Y2ggY2FzZXMgd2hlcmUgbWVtcG9v bCBpcyBhbGxvY2F0ZWQNCj4gYnV0IG5vdCBmcmVlZCBjb3JyZWN0bHkuDQo+IA0KPiBTaWduZWQt b2ZmLWJ5OiBTdGVwaGVuIEhlbW1pbmdlciA8c3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc+DQo+ IFJldmlld2VkLWJ5OiBNb3J0ZW4gQnLDuHJ1cCA8bWJAc21hcnRzaGFyZXN5c3RlbXMuY29tPg0K PiAtLS0NCj4gIGxpYi9tZW1wb29sL3J0ZV9tZW1wb29sLmggfCAzNyArKysrKysrKysrKysrKysr KysrKy0tLS0tLS0tLS0tLS0tLS0tDQo+ICAxIGZpbGUgY2hhbmdlZCwgMjAgaW5zZXJ0aW9ucygr KSwgMTcgZGVsZXRpb25zKC0pDQo+IA0KPiBkaWZmIC0tZ2l0IGEvbGliL21lbXBvb2wvcnRlX21l bXBvb2wuaCBiL2xpYi9tZW1wb29sL3J0ZV9tZW1wb29sLmgNCj4gaW5kZXggN2JkYzkyYjgxMi4u YzQ5NWNjMDEyZiAxMDA2NDQNCj4gLS0tIGEvbGliL21lbXBvb2wvcnRlX21lbXBvb2wuaA0KPiAr KysgYi9saWIvbWVtcG9vbC9ydGVfbWVtcG9vbC5oDQo+IEBAIC0xMDEyLDYgKzEwMTIsMjAgQEAg dHlwZWR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