This series disables IOMMU feature by default, and introduce a new flag passed at vhost device registration time to enable it explicitly.
When disabled, patch 1 also disables reply-ack protocol feature to avoid Qemu v2.7.0-v2.9.0 reply-ack bug with multiqueue. Last patch adds a Vhost PMD "iommu-support" parameter to enable the IOMMU feature. Maxime Coquelin (3): vhost: disable reply-ack protocol feature if iommu feature disabled vhost: add flag to enable iommu support net: vhost: add iommu-support parameter to enable IOMMU feature doc/guides/nics/vhost.rst | 5 +++++ doc/guides/prog_guide/vhost_lib.rst | 14 ++++++++++++++ doc/guides/rel_notes/release_17_11.rst | 3 ++- drivers/net/vhost/rte_eth_vhost.c | 13 +++++++++++++ lib/librte_vhost/rte_vhost.h | 1 + lib/librte_vhost/socket.c | 6 ++++++ lib/librte_vhost/vhost_user.c | 24 ++++++++++++++++++++++-- 7 files changed, 63 insertions(+), 3 deletions(-) -- 2.13.6