eal/tile: define I/O device memory barriers
The patch does not provide any functional change for tile. I/O barriers are mapped to existing smp barriers. CC: Zhigang Lu <zlu@ezchip.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
This commit is contained in:
parent
e802521171
commit
dff90714b1
@ -85,6 +85,12 @@ static inline void rte_rmb(void)
|
||||
|
||||
#define rte_smp_rmb() rte_compiler_barrier()
|
||||
|
||||
#define rte_io_mb() rte_mb()
|
||||
|
||||
#define rte_io_wmb() rte_compiler_barrier()
|
||||
|
||||
#define rte_io_rmb() rte_compiler_barrier()
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user