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 6184443BE0; Tue, 27 Feb 2024 10:36:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F97042ECB; Tue, 27 Feb 2024 10:36:12 +0100 (CET) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mails.dpdk.org (Postfix) with ESMTP id B352242EC8 for ; Tue, 27 Feb 2024 10:36:10 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4TkXKp5xr7z1b14P; Tue, 27 Feb 2024 17:31:10 +0800 (CST) Received: from dggpeml500021.china.huawei.com (unknown [7.185.36.21]) by mail.maildlp.com (Postfix) with ESMTPS id EF470140384; Tue, 27 Feb 2024 17:36:08 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by dggpeml500021.china.huawei.com (7.185.36.21) 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:36:08 +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:36:06 +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 05/39] ring: use C11 alignas Thread-Topic: [PATCH v6 05/39] ring: use C11 alignas Thread-Index: AQHaaOFWTM4HS+BcOkWq4BzM8ikm4bEd7vCA Date: Tue, 27 Feb 2024 09:36:05 +0000 Message-ID: <2744ad8d5ed945ce90b09f5b25e8e8d8@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-6-git-send-email-roretzla@linux.microsoft.com> In-Reply-To: <1708971946-18231-6-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 DQoNCj4gU3ViamVjdDogW1BBVENIIHY2IDA1LzM5XSByaW5nOiB1c2UgQzExIGFsaWduYXMNCj4g DQo+IFRoZSBjdXJyZW50IGxvY2F0aW9uIHVzZWQgZm9yIF9fcnRlX2FsaWduZWQoYSkgZm9yIGFs aWdubWVudCBvZiB0eXBlcw0KPiBhbmQgdmFyaWFibGVzIGlzIG5vdCBjb21wYXRpYmxlIHdpdGgg TVNWQy4gVGhlcmUgaXMgb25seSBhIHNpbmdsZQ0KPiBsb2NhdGlvbiBhY2NlcHRlZCBieSBib3Ro IHRvb2xjaGFpbnMuDQo+IA0KPiBGb3IgdmFyaWFibGVzIHN0YW5kYXJkIEMxMSBvZmZlcnMgYWxp Z25hcyhhKSBzdXBwb3J0ZWQgYnkgY29uZm9ybWFudA0KPiBjb21waWxlcnMgaS5lLiBib3RoIE1T VkMgYW5kIEdDQy4NCj4gDQo+IEZvciB0eXBlcyB0aGUgc3RhbmRhcmQgb2ZmZXJzIG5vIGFsaWdu bWVudCBmYWNpbGl0eSB0aGF0IGNvbXBhdGlibHkNCj4gaW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