Re: [PATCH v6 07/30] drivers/bus: replace packed attributes

2024-12-04 Thread Tyler Retzlaff
On Tue, Nov 26, 2024 at 04:52:18PM -0800, Andre Muezerie wrote: > MSVC struct packing is not compatible with GCC. Replace macro > __rte_packed with __rte_packed_begin to push existing pack value > and set packing to 1-byte and macro __rte_packed_end to restore > the pack value prior to the push. >

[PATCH v6 07/30] drivers/bus: replace packed attributes

2024-11-26 Thread Andre Muezerie
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro __rte_packed_end to restore the pack value prior to the push. Macro __rte_packed_end is deliberately utilized to trigger a MSVC compile