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 4B29743BE0; Tue, 27 Feb 2024 10:42:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3617F402A7; Tue, 27 Feb 2024 10:42:19 +0100 (CET) Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by mails.dpdk.org (Postfix) with ESMTP id E94F240150 for ; Tue, 27 Feb 2024 10:42:17 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4TkXXs6qBJz1xpYg; Tue, 27 Feb 2024 17:40:45 +0800 (CST) Received: from dggpeml100022.china.huawei.com (unknown [7.185.36.176]) by mail.maildlp.com (Postfix) with ESMTPS id 012F91A016B; Tue, 27 Feb 2024 17:42:15 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by dggpeml100022.china.huawei.com (7.185.36.176) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 27 Feb 2024 17:42:14 +0800 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.035; Tue, 27 Feb 2024 10:42:12 +0100 From: Konstantin Ananyev To: Tyler Retzlaff , "dev@dpdk.org" CC: Andrew Rybchenko , Bruce Richardson , Fengchengwen , Cristian Dumitrescu , David Christensen , David Hunt , Ferruh Yigit , Honnappa Nagarahalli , Jasvinder Singh , Jerin Jacob , Kevin Laatz , Konstantin Ananyev , Min Zhou , "Ruifeng Wang" , Sameh Gobriel , Stanislaw Kardach , Thomas Monjalon , Vladimir Medvedkin , Yipeng Wang Subject: RE: [PATCH v6 27/39] mempool: use C11 alignas Thread-Topic: [PATCH v6 27/39] mempool: use C11 alignas Thread-Index: AQHaaOGeIroZ3JwCEkqSYQ70qqOlOrEd8KAw Date: Tue, 27 Feb 2024 09:42:12 +0000 Message-ID: <0ca7d74951aa41c6ac2e48772fd9734d@huawei.com> References: <1707873986-29352-1-git-send-email-roretzla@linux.microsoft.com> <1708971946-18231-1-git-send-email-roretzla@linux.microsoft.com> <1708971946-18231-28-git-send-email-roretzla@linux.microsoft.com> In-Reply-To: <1708971946-18231-28-git-send-email-roretzla@linux.microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] 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 DQoNCj4gU3ViamVjdDogW1BBVENIIHY2IDI3LzM5XSBtZW1wb29sOiB1c2UgQzExIGFsaWduYXMN Cj4gDQo+IFRoZSBjdXJyZW50IGxvY2F0aW9uIHVzZWQgZm9yIF9fcnRlX2FsaWduZWQoYSkgZm9y IGFsaWdubWVudCBvZiB0eXBlcw0KPiBhbmQgdmFyaWFibGVzIGlzIG5vdCBjb21wYXRpYmxlIHdp dGggTVNWQy4gVGhlcmUgaXMgb25seSBhIHNpbmdsZQ0KPiBsb2NhdGlvbiBhY2NlcHRlZCBieSBi b3RoIHRvb2xjaGFpbnMuDQo+IA0KPiBGb3IgdmFyaWFibGVzIHN0YW5kYXJkIEMxMSBvZmZlcnMg YWxpZ25hcyhhKSBzdXBwb3J0ZWQgYnkgY29uZm9ybWFudA0KPiBjb21waWxlcnMgaS5lLiBib3Ro IE1TVkMgYW5kIEdDQy4NCj4gDQo+IEZvciB0eXBlcyB0aGUgc3RhbmRhcmQgb2ZmZXJzIG5vIGFs aWdubWVudCBmYWNpbGl0eSB0aGF0IGNvbXBhdGlibHkN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