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 E9C8EA0C45; Thu, 16 Sep 2021 16:27:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D7C341102; Thu, 16 Sep 2021 16:27:35 +0200 (CEST) Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) by mails.dpdk.org (Postfix) with ESMTP id C297A40151 for ; Thu, 16 Sep 2021 16:27:31 +0200 (CEST) Received: by mail-il1-f175.google.com with SMTP id b6so6868198ilv.0 for ; Thu, 16 Sep 2021 07:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r3QzbsKn5LmYAw0vrwKfRLH/2AXpdkKrHjR9LCnyxfM=; b=SBSJOhI1Mk57xM0oYUlrMII85IjpZiG3fdPLOR+HDA3Lr7Yp7j5HUlAK92+0PJQWER kT7LmjTk7683AWCqHvk1Q5zhQ73OQ6GOanQ7gDNDqltQs52MnJg+vLAyJ0tSkE+Po1Jq ptXG22Owvfj++QfG1q9RLnwWP3kPHqqF79iWkbS3U9+CyQ3CisXx436tqaEgxMz0C77W hAn+AlZGJrml+SVZHzQaUvF5ibq6ei6en9yM58V/EAWhhOumFmtXDTKVuWkdWM3/+n1H M61Eng8+WAV6ICTZyVXONTNEX+MDybinCQO77NV6a99anLo+KKwRmTl2V5mkJDgwk5UL citg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r3QzbsKn5LmYAw0vrwKfRLH/2AXpdkKrHjR9LCnyxfM=; b=FNbnG+YN2bhpvGRD3sa2QZ1m+3OHvPpJdXJzreq7ax9ettqw1iufRTYvajvzHmMM9N w6Dpk2+4hbSNxLUgdzd5jqA7Zjpc/YSZOnAYZCTDyI4Fd1yqcROKOGxo8YDMRHGPqoZw 8lE9F11N+rXQkYzYRzP77myAyrno4W5+I0yymW7/s6W1ljBpvqL01xMk9sit+JDtVne6 NerauYcshX6BUTmoxm3Y1PtOk8hyTmGExnEQv2bHn80uyfhMAONdj9YMtTb3oXP2r2+6 OjFLpdKgMVjbrfSAH/JoNefmtPd8w/QeoMhg4lbUewMIoN0IY6cTTXPxj16eqJLllPC+ 8BSQ== X-Gm-Message-State: AOAM532MP8POfFRCc2+UGLDWg+NXHOsXNANfxdT6UnTK3/vfTjspUvWE 6CnP/AZVul0V0hOFyDR0FMnE5llG2SM4jS6GwF4= X-Google-Smtp-Source: ABdhPJxJcjZBAce+c2pIv5Jtk8xIhWR5G5n6I+mVOtZG+Zy9I9I9zBI1qfqEA9Jx1SxtikcpS1sB3qEBMbucQZGb8ec= X-Received: by 2002:a05:6e02:1906:: with SMTP id w6mr4288332ilu.295.1631802451107; Thu, 16 Sep 2021 07:27:31 -0700 (PDT) MIME-Version: 1.0 References: <20210830135231.2610152-1-asekhar@marvell.com> In-Reply-To: <20210830135231.2610152-1-asekhar@marvell.com> From: Jerin Jacob Date: Thu, 16 Sep 2021 19:57:04 +0530 Message-ID: To: Ashwin Sekhar T K , Ferruh Yigit Cc: dpdk-dev , Jerin Jacob , Nithin Dabilpuram , Pavan Nikhilesh Content-Type: text/plain; charset="UTF-8" Subject: Re: [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" On Mon, Aug 30, 2021 at 7:23 PM Ashwin Sekhar T K wrote: > > 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 Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/for-next-net. Thanks > --- > 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 >