numam-dpdk/lib/librte_vhost
Maxime Coquelin 2304dd73d2 vhost: support indirect Tx descriptors
Indirect descriptors are usually supported by virtio-net devices,
allowing to dispatch a larger number of requests.

When the virtio device sends a packet using indirect descriptors,
only one slot is used in the ring, even for large packets.

The main effect is to improve the 0% packet loss benchmark.
A PVP benchmark using Moongen (64 bytes) on the TE, and testpmd
(fwd io for host, macswap for VM) on DUT shows a +50% gain for
zero loss.

On the downside, micro-benchmark using testpmd txonly in VM and
rxonly on host shows a loss between 1 and 4%. But depending on
the needs, feature can be disabled at VM boot time by passing
indirect_desc=off argument to vhost-user device in Qemu.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-09-28 02:18:33 +02:00
..
fd_man.c vhost: remove sub-directory 2016-09-13 05:25:08 +02:00
fd_man.h vhost: remove sub-directory 2016-09-13 05:25:08 +02:00
Makefile vhost: refactor code structure 2016-09-13 05:25:08 +02:00
rte_vhost_version.map vhost: export queue free entries 2016-06-22 09:02:58 +02:00
rte_virtio_net.h vhost: remove obsolete comment 2016-09-13 05:25:09 +02:00
socket.c vhost: refactor code structure 2016-09-13 05:25:08 +02:00
vhost_user.c vhost: simplify features set/get 2016-09-13 05:25:09 +02:00
vhost_user.h vhost: refactor code structure 2016-09-13 05:25:08 +02:00
vhost.c vhost: support indirect Tx descriptors 2016-09-28 02:18:33 +02:00
vhost.h vhost: refactor code structure 2016-09-13 05:25:08 +02:00
virtio_net.c vhost: support indirect Tx descriptors 2016-09-28 02:18:33 +02:00