bus/vmbus: use SMP memory barrier for signaling read
authorLong Li <longli@microsoft.com>
Fri, 17 Jul 2020 20:18:29 +0000 (13:18 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 29 Jul 2020 14:17:54 +0000 (16:17 +0200)
commit52c9a533b4179e9d16dfdc03410440c39b61e5af
tree9d16e4add004cdfa9064dfeb1207641e187001b1
parent25d5c40f252fb77ed78a7baa5d6e54912ad83941
bus/vmbus: use SMP memory barrier for signaling read

rte_smp_mb() uses the same locked ADD as the in-kernel vmbus driver,
and it has slightly performance improvement over rte_mb().

Signed-off-by: Long Li <longli@microsoft.com>
drivers/bus/vmbus/vmbus_channel.c