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 25AAAA034F; Mon, 30 Aug 2021 15:53:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B517240E01; Mon, 30 Aug 2021 15:53:49 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B80D3406A3 for ; Mon, 30 Aug 2021 15:53:47 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17UDOgeV027872 for ; Mon, 30 Aug 2021 06:53:46 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=V2FKo4TeFD7afyzYPyl79rdNUtsLyAclXayOISTdjuI=; b=Lrc/nI8kPSqSdaIfDLPszGmGeP1FnjlDWu4tXcOFcwf6FM8/tTBLHAtqIIJThOhHQOOH odWt+VdlQ4bU7WTWL2vY+6zBJaj/WJugEYcFPYbNI4tzTSSArx6qKbcumDzQkGHU6sFl eNv4DO4iE/gZTMbf/YNh9F8mfG++w/pKkiDn0LHomfjksoH4q4Gffg+7LUUJKZIn9unI gvb4W0HcV1Zbr1atCImSlzfFp/+o+X8/1wBPXUYY3m5yZw2lohi0LOS/Zw0A5rhOsIhX l1lWrmhR0g3yD1Ia1LBRaCYli0D7ot71V03dBMo1A7JYaPFOCuzqp0z+zyw+Akl5ythG 1A== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3as06f83ka-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 30 Aug 2021 06:53:46 -0700 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.18; Mon, 30 Aug 2021 06:53:45 -0700 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.18 via Frontend Transport; Mon, 30 Aug 2021 06:53:44 -0700 Received: from lab-ci-142.marvell.com (unknown [10.28.36.142]) by maili.marvell.com (Postfix) with ESMTP id 6588F3F707C; Mon, 30 Aug 2021 06:53:43 -0700 (PDT) From: Ashwin Sekhar T K To: CC: , , , Date: Mon, 30 Aug 2021 19:22:31 +0530 Message-ID: <20210830135231.2610152-1-asekhar@marvell.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: XWyQeQsAzah5J2b1iAvQXV84jVkTA8Uw X-Proofpoint-ORIG-GUID: XWyQeQsAzah5J2b1iAvQXV84jVkTA8Uw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-08-30_05,2021-08-30_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH] common/cnxk: align npa stack to roc cache line size 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 Sender: "dev" NPA stack should be aligned to ROC cache line size. Fixes: f765f5611240 ("common/cnxk: add NPA pool HW operations") Signed-off-by: Ashwin Sekhar T K --- drivers/common/cnxk/roc_npa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_npa.c b/drivers/common/cnxk/roc_npa.c index d064d125c1..a0d2cc8f19 100644 --- a/drivers/common/cnxk/roc_npa.c +++ b/drivers/common/cnxk/roc_npa.c @@ -194,7 +194,7 @@ npa_stack_dma_alloc(struct npa_lf *lf, char *name, int pool_id, size_t size) { const char *mz_name = npa_stack_memzone_name(lf, pool_id, name); - return plt_memzone_reserve_cache_align(mz_name, size); + return plt_memzone_reserve_aligned(mz_name, size, 0, ROC_ALIGN); } static inline int -- 2.32.0