vhost: add flag to enable IOMMU support
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 6 Nov 2017 20:38:11 +0000 (21:38 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Nov 2017 13:19:11 +0000 (14:19 +0100)
commit002d6a7e5517e27641d8a51b0e029f63e7aed6a0
treed7b9e589181b3b5124403132f529ccce7cda4ad2
parent6ea069651e72e6ee282e79e59ea0367d3f2f90e2
vhost: add flag to enable IOMMU support

Qemu versions from v2.7.0 to v2.9.0 have their reply-ack protocol
feature implementation broken with multiqueue. The reply-ack
protocol feature is optional except for IOMMU feature.

This patch introduce a new RTE_VHOST_USER_IOMMU_SUPPORT flag to
enable VIRTIO_F_IOMMU_PLATFORM virtio feature.

By default, the IOMMU support is now disabled.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
Tested-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Acked-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
doc/guides/prog_guide/vhost_lib.rst
doc/guides/rel_notes/release_17_11.rst
lib/librte_vhost/rte_vhost.h
lib/librte_vhost/socket.c