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:
parent
05e8568269
commit
23738dadf3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user