From 23738dadf37b375f2fc6faf039ec75448b522120 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Wed, 18 Apr 2018 01:34:58 +0530 Subject: [PATCH] net/axgbe: fix incorrect cache alignment macro Due to missing ____cacheline_aligned definition compiler treats it as a global variable replace it with proper cache alignment macro. Fixes: 9e890103267e ("net/axgbe: add Rx/Tx setup") Signed-off-by: Pavan Nikhilesh Reviewed-by: Ferruh Yigit --- drivers/net/axgbe/axgbe_rxtx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/axgbe/axgbe_rxtx.h b/drivers/net/axgbe/axgbe_rxtx.h index 1ec6c2ca6f..917da58ce4 100644 --- a/drivers/net/axgbe/axgbe_rxtx.h +++ b/drivers/net/axgbe/axgbe_rxtx.h @@ -94,7 +94,7 @@ struct axgbe_rx_queue { /* Number of mbufs allocated from pool*/ uint64_t mbuf_alloc; -} ____cacheline_aligned; +} __rte_cache_aligned; /*Tx descriptor format */ struct axgbe_tx_desc { -- 2.20.1