Signed-off-by: Jens Freimann <jfreim...@redhat.com> --- config/common_base | 1 + lib/librte_vhost/socket.c | 4 ++++ 2 files changed, 5 insertions(+)
diff --git a/config/common_base b/config/common_base index cd4b419b4..bf969d82d 100644 --- a/config/common_base +++ b/config/common_base @@ -783,6 +783,7 @@ CONFIG_RTE_LIBRTE_PDUMP=y CONFIG_RTE_LIBRTE_VHOST=n CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_LIBRTE_VHOST_DEBUG=n +CONFIG_RTE_LIBRTE_VHOST_PQ=n # # Compile vhost PMD diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c index 636fc25c6..72d769e6a 100644 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c @@ -850,6 +850,10 @@ rte_vhost_driver_register(const char *path, uint64_t flags) vsocket->features &= ~(1ULL << VIRTIO_F_IOMMU_PLATFORM); } +#ifndef RTE_LIBRTE_VHOST_PQ + vsocket->features &= ~(1ULL << VIRTIO_F_RING_PACKED); +#endif + if ((flags & RTE_VHOST_USER_CLIENT) != 0) { vsocket->reconnect = !(flags & RTE_VHOST_USER_NO_RECONNECT); if (vsocket->reconnect && reconn_tid == 0) { -- 2.14.3