[v3,16/16] crypto/mlx5: pack structures when building with MSVC

Message ID 1713225079-17938-17-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
State Superseded
Delegated to: Thomas Monjalon
Series fix packing of structs when building with MSVC |


Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/intel-Functional success Functional PASS

Commit Message

Tyler Retzlaff April 15, 2024, 11:51 p.m. UTC
  Add __rte_msvc_pack to all __rte_packed structs to cause packing
packing when building with MSVC.

Signed-off-by: Tyler Retzlaff <roretzla@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;
 struct mlx5_crypto_session {
 	union {
 		/**< AES-XTS configuration. */