Add __rte_msvc_pack to all __rte_packed structs to cause packing packing when building with MSVC.
Signed-off-by: Tyler Retzlaff <roret...@linux.microsoft.com> --- drivers/crypto/mlx5/mlx5_crypto.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/mlx5/mlx5_crypto.h b/drivers/crypto/mlx5/mlx5_crypto.h index 36dacdc..3b4916d 100644 --- a/drivers/crypto/mlx5/mlx5_crypto.h +++ b/drivers/crypto/mlx5/mlx5_crypto.h @@ -95,6 +95,7 @@ struct mlx5_crypto_devarg_params { uint32_t is_aes_gcm:1; }; +__rte_msvc_pack struct mlx5_crypto_session { union { /**< AES-XTS configuration. */ -- 1.8.3.1