DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] common/cnxk: align npa stack to roc cache line size
@ 2021-08-30 13:52 Ashwin Sekhar T K
  2021-09-16 14:27 ` Jerin Jacob
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ashwin Sekhar T K @ 2021-08-30 13:52 UTC (permalink / raw)
  To: dev; +Cc: jerinj, ndabilpuram, pbhagavatula, asekhar

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 <asekhar@marvell.com>
---
 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-21  9:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 13:52 [dpdk-dev] [PATCH] common/cnxk: align npa stack to roc cache line size Ashwin Sekhar T K
2021-09-16 14:27 ` Jerin Jacob
2021-09-16 15:15 ` Ferruh Yigit
2021-09-16 16:35   ` Jerin Jacob
2021-09-17 11:23 ` [dpdk-dev] [PATCH v2] common/cnxk: align NPA stack to ROC " Ashwin Sekhar T K
2021-09-21  9:12   ` Jerin Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).