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 5A1974333B for ; Wed, 15 Nov 2023 22:16:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42A7740A70; Wed, 15 Nov 2023 22:16:48 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 5C21C402B2; Wed, 15 Nov 2023 22:16:45 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 891FF20B74C1; Wed, 15 Nov 2023 13:16:44 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 891FF20B74C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1700083004; bh=YUJj2ZmGkxktVvllrc0b48d0mt6zFz93knAMDVXUt7M=; h=From:To:Cc:Subject:Date:From; b=Zp8T78wIeDeUGiNkj0igAcJFrTq4oSsvi53A866uxJKmUO2FBv1UstHP5q+P6Go3c 721swvagJsuuw9kz6uculEejKxK1mJqOQlbVGe4QmYJG5Jn3+d79BKXVANu0zmmlEh 2+nPXLEscDucPYPDQA4JGfvDfLuW4IOnMxUENhnQ= From: Tyler Retzlaff To: dev@dpdk.org Cc: Michal Mazurek , Stanislaw Kardach , mb@smartsharesystems.com, Tyler Retzlaff , stable@dpdk.org Subject: [PATCH] eal: fix alignment of RISCV xmm vector type Date: Wed, 15 Nov 2023 13:16:43 -0800 Message-Id: <1700083003-6641-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Fix the alignment for rte_xmm_t it should be 16 instead of 8 bytes. Fixes: f22e705ebf12 ("eal/riscv: support RISC-V architecture") Cc: maz@semihalf.com Cc: stable@dpdk.org Signed-off-by: Tyler Retzlaff --- lib/eal/riscv/include/rte_vect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eal/riscv/include/rte_vect.h b/lib/eal/riscv/include/rte_vect.h index 2f97f43..da9092a 100644 --- a/lib/eal/riscv/include/rte_vect.h +++ b/lib/eal/riscv/include/rte_vect.h @@ -29,7 +29,7 @@ uint32_t u32[XMM_SIZE / sizeof(uint32_t)]; uint64_t u64[XMM_SIZE / sizeof(uint64_t)]; double pd[XMM_SIZE / sizeof(double)]; -} __rte_aligned(8) rte_xmm_t; +} __rte_aligned(16) rte_xmm_t; static inline xmm_t vect_load_128(void *p) -- 1.8.3.1