summaryrefslogtreecommitdiff
path: root/lib/librte_vhost
diff options
context:
space:
mode:
authorMaxime Coquelin <maxime.coquelin@redhat.com>2018-10-31 11:26:40 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-11-05 15:01:25 +0100
commit708e14d8b9acfa4669d75d42d0c56537e02c2f04 (patch)
tree68310fa646b853ec92f4b16b9c3d4ef5b3114c86 /lib/librte_vhost
parent2ce8b8973d2173ba23f54afb9f4122847e6bb1b5 (diff)
downloaddpdk-708e14d8b9acfa4669d75d42d0c56537e02c2f04.zip
dpdk-708e14d8b9acfa4669d75d42d0c56537e02c2f04.tar.gz
dpdk-708e14d8b9acfa4669d75d42d0c56537e02c2f04.tar.xz
vhost: advertize packed ring layout support
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Jens Freimann <jfreimann@redhat.com> Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Diffstat (limited to 'lib/librte_vhost')
-rw-r--r--lib/librte_vhost/vhost.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index b4abad3..760f421 100644
--- a/lib/librte_vhost/vhost.h
+++ b/lib/librte_vhost/vhost.h
@@ -275,7 +275,8 @@ struct vring_packed_desc_event {
(1ULL << VIRTIO_RING_F_EVENT_IDX) | \
(1ULL << VIRTIO_NET_F_MTU) | \
(1ULL << VIRTIO_F_IN_ORDER) | \
- (1ULL << VIRTIO_F_IOMMU_PLATFORM))
+ (1ULL << VIRTIO_F_IOMMU_PLATFORM) | \
+ (1ULL << VIRTIO_F_RING_PACKED))
struct guest_page {