From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C90F343E7F; Tue, 16 Apr 2024 01:53:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2279640EF1; Tue, 16 Apr 2024 01:51:51 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id DF95240648 for ; Tue, 16 Apr 2024 01:51:23 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 761FD20FD463; Mon, 15 Apr 2024 16:51:21 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 761FD20FD463 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1713225082; bh=fJtz7AGGrATDrb/nYDni5lujBzEJy+nvqaYgXZv295Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nU9Q+qhwwMcOosQWoMw9H4z+yoHma4ntp1bOHPQ4kCRMYAMkdnxmru9lXR4NnZ6YA 77sA5SHimhS9Hqj0LqGdqzla4xo3nHXnnA9kG7DetrQz3lvYp+pjqE94nmcER7LxtH WNw4D0Z0Yes/+afdjeXHc2raE2bQ7+rwPajxclgM= From: Tyler Retzlaff To: dev@dpdk.org Cc: Akhil Goyal , Aman Singh , Anatoly Burakov , Bruce Richardson , Byron Marohn , Conor Walsh , Cristian Dumitrescu , Dariusz Sosnowski , David Hunt , Jerin Jacob , Jingjing Wu , Kirill Rybalchenko , Konstantin Ananyev , Matan Azrad , Ori Kam , Radu Nicolau , Ruifeng Wang , Sameh Gobriel , Sivaprasad Tummala , Suanming Mou , Sunil Kumar Kori , Vamsi Attunuru , Viacheslav Ovsiienko , Vladimir Medvedkin , Yipeng Wang , Yuying Zhang , Yuying Zhang , Tyler Retzlaff Subject: [PATCH v3 16/16] crypto/mlx5: pack structures when building with MSVC Date: Mon, 15 Apr 2024 16:51:19 -0700 Message-Id: <1713225079-17938-17-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1713225079-17938-1-git-send-email-roretzla@linux.microsoft.com> References: <1710968771-16435-1-git-send-email-roretzla@linux.microsoft.com> <1713225079-17938-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add __rte_msvc_pack to all __rte_packed structs to cause packing packing when building with MSVC. Signed-off-by: Tyler Retzlaff --- 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