vhost: use SMP barriers instead of compiler ones
authorIlya Maximets <i.maximets@samsung.com>
Fri, 18 Mar 2016 12:23:53 +0000 (15:23 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 15:09:23 +0000 (17:09 +0200)
commite994bcda55cc137697393cb8160981ea734687d9
treed4ef274cd2f338bddd3c63ce2e4e0f4b8749080c
parent03ce29f2cb7e74fcc8457ae35367a1e7dc5250be
vhost: use SMP barriers instead of compiler ones

Since commit 4c02e453cc62 ("eal: introduce SMP memory barriers") virtio
uses architecture dependent SMP barriers. vHost should use them too.

Fixes: 4c02e453cc62 ("eal: introduce SMP memory barriers")

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
lib/librte_vhost/vhost_rxtx.c