From: Maxime Coquelin Date: Thu, 5 Oct 2017 08:36:27 +0000 (+0200) Subject: vhost: enable IOMMU support X-Git-Tag: spdx-start~1638 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=69c90e98f483682d283444d5e50a7a892a82bd8e;p=dpdk.git vhost: enable IOMMU support Signed-off-by: Maxime Coquelin Acked-by: Yuanhan Liu --- diff --git a/doc/guides/rel_notes/release_17_11.rst b/doc/guides/rel_notes/release_17_11.rst index 6a75ae00a1..ae2c1ecefa 100644 --- a/doc/guides/rel_notes/release_17_11.rst +++ b/doc/guides/rel_notes/release_17_11.rst @@ -64,6 +64,11 @@ New Features * Support for Flow API * Support for Tx and Rx descriptor status functions +* **Added IOMMU support to libvhost-user** + + Implemented device IOTLB in Vhost-user backend, and enabled Virtio's IOMMU + feature. + * **Added Membership library (rte_member).** Added membership library. It provides an API for DPDK applications to insert a diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index b633abafa1..01b17ca72c 100644 --- a/lib/librte_vhost/vhost.h +++ b/lib/librte_vhost/vhost.h @@ -211,7 +211,8 @@ struct vhost_msg { (1ULL << VIRTIO_NET_F_GUEST_TSO4) | \ (1ULL << VIRTIO_NET_F_GUEST_TSO6) | \ (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | \ - (1ULL << VIRTIO_NET_F_MTU)) + (1ULL << VIRTIO_NET_F_MTU) | \ + (1ULL << VIRTIO_F_IOMMU_PLATFORM)) struct guest_page {