<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><span style="font-family:SimSun">Acked-by: </span><span
style="font-family:Calibri">Chengwen
Feng <a class="moz-txt-link-rfc2396E" href="mailto:fengchengwen@huawei.com"><fengchengwen@huawei.com></a></span></p>
<div class="moz-cite-prefix">On 2024/2/10 14:27,
<a class="moz-txt-link-abbreviated" href="mailto:pbhagavatula@marvell.com">pbhagavatula@marvell.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20240210062758.1510-1-pbhagavatula@marvell.com">
<pre class="moz-quote-pre" wrap="">From: Pavan Nikhilesh <a class="moz-txt-link-rfc2396E" href="mailto:pbhagavatula@marvell.com"><pbhagavatula@marvell.com></a>
Align fp_objects based on cacheline size defined
by build configuration.
Signed-off-by: Pavan Nikhilesh <a class="moz-txt-link-rfc2396E" href="mailto:pbhagavatula@marvell.com"><pbhagavatula@marvell.com></a>
---
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
</pre>
</blockquote>
</body>
</html>