numam-dpdk/lib/librte_vhost
Maxime Coquelin 63b113afa5 vhost: use SMP memory barrier before kicking guest
vhost_vring_call() used rte_mb(), which translates into
mfence instruction on x86.

This patch changes to use rte_smp_mb(), which changed recently
to translate into a locked ADD instruction for performance
reason.

The measured gain is up to 3% with the testpmd benchmarks.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2018-06-15 12:27:25 +02:00
..
2018-05-14 22:31:03 +01:00
2018-04-14 00:40:21 +02:00
2018-06-15 09:49:39 +02:00
2018-04-14 00:40:21 +02:00
2018-06-15 09:49:39 +02:00
2018-06-15 12:27:25 +02:00