Re: [PATCH v11 00/30] fix packing of structs when building with MSVC

2025-01-15 Thread Andre Muezerie
On Wed, Jan 15, 2025 at 05:13:22PM +0100, David Marchand wrote: > Hello Andre, > > On Fri, Jan 10, 2025 at 11:17 PM Andre Muezerie > wrote: > > > > MSVC struct packing is not compatible with GCC. Different alternatives > > were considered: > > > > 1) Have a macro __RTE_PACKED(decl) to which the s

Re: [PATCH v11 00/30] fix packing of structs when building with MSVC

2025-01-15 Thread David Marchand
Hello Andre, On Fri, Jan 10, 2025 at 11:17 PM Andre Muezerie wrote: > > MSVC struct packing is not compatible with GCC. Different alternatives > were considered: > > 1) Have a macro __RTE_PACKED(decl) to which the struct/union is passed >and the macro would define the struct/union with the ap

Re: [PATCH v11 00/30] fix packing of structs when building with MSVC

2025-01-13 Thread David Marchand
On Fri, Jan 10, 2025 at 11:17 PM Andre Muezerie wrote: > > MSVC struct packing is not compatible with GCC. Different alternatives > were considered: > > 1) Have a macro __RTE_PACKED(decl) to which the struct/union is passed >and the macro would define the struct/union with the appropriate >

[PATCH v11 00/30] fix packing of structs when building with MSVC

2025-01-10 Thread Andre Muezerie
MSVC struct packing is not compatible with GCC. Different alternatives were considered: 1) Have a macro __RTE_PACKED(decl) to which the struct/union is passed and the macro would define the struct/union with the appropriate packing attribute for the compiler in use. Advantages: * Can be pl