[v4,12/16] net/octeon_ep: pack structures when building with MSVC
Checks
Commit Message
Add __rte_msvc_pack to all __rte_packed structs to cause packing
when building with MSVC.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
drivers/net/octeon_ep/otx_ep_mbox.h | 1 +
1 file changed, 1 insertion(+)
@@ -70,6 +70,7 @@ enum otx_ep_link_autoneg {
#define OTX_EP_MBOX_MORE_FRAG_FLAG 1
#define OTX_EP_MBOX_WRITE_WAIT_TIME msecs_to_jiffies(1)
+__rte_msvc_pack
union otx_ep_mbox_word {
uint64_t u64;
struct {