numam-dpdk/lib/librte_vhost
Maxime Coquelin b473ec1131 vhost: batch used descs chains write-back with packed ring
Instead of writing back descriptors chains in order, let's
write the first chain flags last in order to improve batching.

Also, move the write barrier in logging cache sync, so that it
is done only when logging is enabled. It means there is now
one more barrier for split ring when logging is enabled.

With Kernel's pktgen benchmark, ~3% performance gain is measured.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2018-12-21 16:22:41 +01:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
iotlb.h vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
Makefile vhost/crypto: fix shared lib build without cryptodev 2018-10-26 22:14:05 +02:00
meson.build vhost: add config flag for postcopy 2018-10-18 10:24:39 +02:00
rte_vdpa.h vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
rte_vhost_crypto.h
rte_vhost_version.map vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
rte_vhost.h vhost: restrict postcopy live-migration enablement 2018-10-18 10:24:39 +02:00
socket.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
vdpa.c vhost: provide helpers for virtio ring relay 2018-12-21 16:22:40 +01:00
vhost_crypto.c vhost/crypto: fix packet copy in chaining mode 2018-11-14 00:35:53 +01:00
vhost_user.c vhost: provide helper for host notifier ctrl 2018-12-21 16:22:40 +01:00
vhost_user.h vhost: enable postcopy protocol feature 2018-10-18 10:24:39 +02:00
vhost.c vhost: remove unused function 2018-12-21 16:22:40 +01:00
vhost.h vhost: batch used descs chains write-back with packed ring 2018-12-21 16:22:41 +01:00
virtio_crypto.h
virtio_net.c vhost: batch used descs chains write-back with packed ring 2018-12-21 16:22:41 +01:00