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: 9e89010326 ("net/axgbe: add Rx/Tx setup")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Pavan Nikhilesh 2018-04-18 01:34:58 +05:30 committed by Ferruh Yigit
parent 05e8568269
commit 23738dadf3

View File

@ -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 {