eal: introduce I/O device memory barriers
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 18 Jan 2017 01:21:14 +0000 (06:51 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Jan 2017 15:57:11 +0000 (16:57 +0100)
commit1ea155733e33716fd7275f9c361ee8c20224df7d
tree8bf769e3d0e1a1864e04662b0e7bdbdcc2a4fe9c
parent92fdc2327755f334ca2c9beb1fa51481c6b07062
eal: introduce I/O device memory barriers

This commit introduce rte_io_mb(), rte_io_wmb() and rte_io_rmb(), in
order to enable memory barriers between I/O device and CPU.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eal/common/include/generic/rte_atomic.h