Skip to content

Commit

Permalink
vhost: enable IOMMU support
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
  • Loading branch information
mcoquelin authored and yuanhanliu committed Oct 10, 2017
1 parent 36031f8 commit 69c90e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions doc/guides/rel_notes/release_17_11.rst
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion lib/librte_vhost/vhost.h
Expand Up @@ -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 {
Expand Down

0 comments on commit 69c90e9

Please sign in to comment.