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 7FBE8439D0; Fri, 26 Jan 2024 11:18:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AD2C402E0; Fri, 26 Jan 2024 11:18:53 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 4078640289 for ; Fri, 26 Jan 2024 11:18:52 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 1C15C207C3; Fri, 26 Jan 2024 11:18:52 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH] RFC: use C11 alignas instead of GCC attribute aligned X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 26 Jan 2024 11:18:50 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F1A7@smartserver.smartshare.dk> In-Reply-To: <91ba1ece-10dd-4698-acd9-6b51cfc63cd9@lysator.liu.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] RFC: use C11 alignas instead of GCC attribute aligned Thread-Index: AdpQPzNSAvkz3+GpTFidfXUFHmM2HAAAN6ew References: <1700069997-4399-1-git-send-email-roretzla@linux.microsoft.com> <20240125183713.GA27715@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <98CBD80474FA8B44BF855DF32C47DC35E9F1A3@smartserver.smartshare.dk> <91ba1ece-10dd-4698-acd9-6b51cfc63cd9@lysator.liu.se> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "Tyler Retzlaff" , Cc: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "Anatoly Burakov" , "Bruce Richardson" , "David Christensen" , "Harry van Haaren" , "Konstantin Ananyev" , "Min Zhou" , "Ruifeng Wang" , "Stanislaw Kardach" , 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 PiBGcm9tOiBNYXR0aWFzIFLDtm5uYmxvbSBbbWFpbHRvOmhvZm9yc0BseXNhdG9yLmxpdS5zZV0N Cj4gU2VudDogRnJpZGF5LCAyNiBKYW51YXJ5IDIwMjQgMTEuMDUNCj4gDQo+IE9uIDIwMjQtMDEt MjUgMjM6NTMsIE1vcnRlbiBCcsO4cnVwIHdyb3RlOg0KPiA+PiBGcm9tOiBUeWxlciBSZXR6bGFm ZiBbbWFpbHRvOnJvcmV0emxhQGxpbnV4Lm1pY3Jvc29mdC5jb21dDQo+ID4+IFNlbnQ6IFRodXJz ZGF5LCAyNSBKYW51YXJ5IDIwMjQgMTkuMzcNCj4gPj4NCj4gPj4gcGluZy4NCj4gPj4NCj4gPj4g UGxlYXNlIHJldmlldyB0aGlzIHRocmVhZCBpZiB5b3UgaGF2ZSB0aW1lLCB0aGUgbWFpbiBwb2lu dCBvZg0KPiA+PiBkaXNjdXNzaW9uDQo+ID4+IEkgd291bGQgbGlrZSB0byByZWNlaXZlIGNvbnNl bnN1cyBvbiB0aGUgZm9sbG93aW5nIHF1ZXN0aW9ucy4NCj4gPj4NCj4gPj4gMS4gU2hvdWxkIHdl IGNvbnRpbnVlIHRvIGV4cGFuZCBjb21tb24gYWxpZ25tZW50cyBiZWhpbmQgYW4NCj4gX19ydGVf bWFjcm8NCj4gPj4NCj4gPj4gICAgaS5lLiB3aGF0IGRvIHdlIHByZWZlciB0byBhcHBlYXIgaW4g Y29kZQ0KPiA+Pg0KPiA+PiA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