RE: [PATCH v6 32/39] bpf: use C11 alignas

2024-02-27 Thread Konstantin Ananyev
> Subject: [PATCH v6 32/39] bpf: use C11 alignas > > The current location used for __rte_aligned(a) for alignment of types > and variables is not compatible with MSVC. There is only a single > location accepted by both toolchains. > > For variables standard C11 offers al

[PATCH v6 32/39] bpf: use C11 alignas

2024-02-26 Thread Tyler Retzlaff
The current location used for __rte_aligned(a) for alignment of types and variables is not compatible with MSVC. There is only a single location accepted by both toolchains. For variables standard C11 offers alignas(a) supported by conformant compilers i.e. both MSVC and GCC. For types the standa