From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id DB3DD1B26D for ; Mon, 6 Nov 2017 21:38:31 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0C2F576F6; Mon, 6 Nov 2017 20:38:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0C2F576F6 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=maxime.coquelin@redhat.com Received: from localhost.localdomain (ovpn-112-52.ams2.redhat.com [10.36.112.52]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8834A600D3; Mon, 6 Nov 2017 20:38:27 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, yliu@fridaylinux.org, mark.b.kavanagh@intel.com, thomas@monjalon.net, ktraynor@redhat.com Cc: Maxime Coquelin Date: Mon, 6 Nov 2017 21:38:09 +0100 Message-Id: <20171106203812.18428-1-maxime.coquelin@redhat.com> In-Reply-To: <20171103175735.24603-1-maxime.coquelin@redhat.com> References: <20171103175735.24603-1-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 06 Nov 2017 20:38:31 +0000 (UTC) Subject: [dpdk-dev] [PATCH v2 0/3] vhost: disable iommu support by default X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 20:38:32 -0000 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