From ddf06e8a084c8e677a8a4b9eee6175f07010c1ab Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Sun, 9 Feb 2020 13:14:15 +0100 Subject: [PATCH] net/memif: use common macros for cache line marker The macros RTE_MARKER and __rte_cache_aligned can be used for consistency for describing MEMIF_CACHELINE_ALIGN_MARK. Signed-off-by: Thomas Monjalon --- drivers/net/memif/memif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/memif/memif.h b/drivers/net/memif/memif.h index a4d88c044b..b912308904 100644 --- a/drivers/net/memif/memif.h +++ b/drivers/net/memif/memif.h @@ -162,7 +162,7 @@ typedef struct __rte_packed { } memif_desc_t; #define MEMIF_CACHELINE_ALIGN_MARK(mark) \ - uint8_t mark[0] __rte_aligned(RTE_CACHE_LINE_SIZE) + RTE_MARKER mark __rte_cache_aligned; typedef struct { MEMIF_CACHELINE_ALIGN_MARK(cacheline0); -- 2.20.1