RE: [PATCH v3 39/39] ip_frag: use C11 alignas

2024-02-14 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 14 February 2024 08.06 > > * Move __rte_aligned from the end of {struct,union} definitions to > be between {struct,union} and tag. > > The placement between {struct,union} and the tag allows the desired > alignm

[PATCH v3 39/39] ip_frag: use C11 alignas

2024-02-13 Thread Tyler Retzlaff
* Move __rte_aligned from the end of {struct,union} definitions to be between {struct,union} and tag. The placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for all of GCC, LLVM, MSVC compilers buildin