vhost: enable IOMMU support

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
This commit is contained in:
Maxime Coquelin 2017-10-05 10:36:27 +02:00 committed by Yuanhan Liu
parent 36031f80cc
commit 69c90e98f4
2 changed files with 7 additions and 1 deletions

View File

@ -64,6 +64,11 @@ New Features
* Support for Flow API * Support for Flow API
* Support for Tx and Rx descriptor status functions * 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 (rte_member).**
Added membership library. It provides an API for DPDK applications to insert a Added membership library. It provides an API for DPDK applications to insert a

View File

@ -211,7 +211,8 @@ struct vhost_msg {
(1ULL << VIRTIO_NET_F_GUEST_TSO4) | \ (1ULL << VIRTIO_NET_F_GUEST_TSO4) | \
(1ULL << VIRTIO_NET_F_GUEST_TSO6) | \ (1ULL << VIRTIO_NET_F_GUEST_TSO6) | \
(1ULL << VIRTIO_RING_F_INDIRECT_DESC) | \ (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | \
(1ULL << VIRTIO_NET_F_MTU)) (1ULL << VIRTIO_NET_F_MTU) | \
(1ULL << VIRTIO_F_IOMMU_PLATFORM))
struct guest_page { struct guest_page {