From: Thomas Monjalon Date: Sun, 9 Feb 2020 12:14:15 +0000 (+0100) Subject: net/memif: use common macros for cache line marker X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ddf06e8a084c8e677a8a4b9eee6175f07010c1ab;p=dpdk.git 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 --- 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);