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 40EC843ADE; Sat, 10 Feb 2024 07:28:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7747402DD; Sat, 10 Feb 2024 07:28:08 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 615E9402DA for ; Sat, 10 Feb 2024 07:28:07 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41A5sEwh031465; Fri, 9 Feb 2024 22:28:05 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= pfpt0220; bh=xwfnTZP5UCdWvFczdmgd1wBSGTtx3OTu60JzMMjK4Cs=; b=eBj e2jaU4JFPiWiz9vu9sr0JKcwGzQolZhZqHJ6y4Xl62chL1awdAuR/GWfGfwxm16d x6s/VEu8RRg/LG1TUP1JNqYKEFOfash/pJmfhp4X2TkNeMilOfBSg19qd7eBnKzN 4mdxuegNQYYQYmQx0IE0m1uID6vUIIyD6Vp6SjTuyQQIqy6kmUmz9GZckT1LwSZI l5PAOoYbv2amHhkkkQ1HqHvjVlPrYRPCmQRKdQBS0KTIFy9KEHSRkzgeYLlRny0M kxHiWiD46LL4v77igADY7BOiWtzgjGgtSZGThxFHcbOX5bDsMZvQfBM7098PaUYq pz0x/ZSXyzzF/q2Eraw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3w62rrr3m7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 09 Feb 2024 22:28:05 -0800 (PST) Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 9 Feb 2024 22:28:03 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 9 Feb 2024 22:28:03 -0800 Received: from MININT-80QBFE8.corp.innovium.com (MININT-80QBFE8.marvell.com [10.28.164.106]) by maili.marvell.com (Postfix) with ESMTP id 7DB633F704C; Fri, 9 Feb 2024 22:28:00 -0800 (PST) From: To: , , Kevin Laatz , Bruce Richardson CC: , Pavan Nikhilesh Subject: [PATCH v2] dmadev: standardize alignment Date: Sat, 10 Feb 2024 11:57:58 +0530 Message-ID: <20240210062758.1510-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240202090633.10816-1-pbhagavatula@marvell.com> References: <20240202090633.10816-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: O1NNoG0BKQEDu9k0GBuk4YEd9j6Ezxjz X-Proofpoint-GUID: O1NNoG0BKQEDu9k0GBuk4YEd9j6Ezxjz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-10_05,2024-02-08_01,2023-05-22_02 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 From: Pavan Nikhilesh Align fp_objects based on cacheline size defined by build configuration. Signed-off-by: Pavan Nikhilesh --- v2 Changes: - Drop malloc changes. lib/dmadev/rte_dmadev_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dmadev/rte_dmadev_core.h b/lib/dmadev/rte_dmadev_core.h index 064785686f..e8239c2d22 100644 --- a/lib/dmadev/rte_dmadev_core.h +++ b/lib/dmadev/rte_dmadev_core.h @@ -73,7 +73,7 @@ struct rte_dma_fp_object { rte_dma_completed_t completed; rte_dma_completed_status_t completed_status; rte_dma_burst_capacity_t burst_capacity; -} __rte_aligned(128); +} __rte_cache_aligned; extern struct rte_dma_fp_object *rte_dma_fp_objs; -- 2.25.1