From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 547415901 for ; Tue, 6 Sep 2016 09:34:14 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 06 Sep 2016 00:34:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,291,1470726000"; d="scan'208";a="1025621013" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga001.jf.intel.com with ESMTP; 06 Sep 2016 00:34:13 -0700 Date: Tue, 6 Sep 2016 15:46:18 +0800 From: Yuanhan Liu To: Jason Wang Cc: dev@dpdk.org, huawei.xie@intel.com, mst@redhat.com, Thomas Monjalon Message-ID: <20160906074618.GB4357@yliu-dev.sh.intel.com> References: <1472798220-7121-1-git-send-email-jasowang@redhat.com> <1472798220-7121-2-git-send-email-jasowang@redhat.com> <20160905071626.GM30752@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160905071626.GM30752@yliu-dev.sh.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 07:34:14 -0000 Oops, seems I failed to send it out (I happened to know it when I was checking the patchwork status: I didn't find my comment). I also happened to find out that I failed to receive quite many emails, including some patches. Seems something went wrong :( --yliu On Mon, Sep 05, 2016 at 03:16:26PM +0800, Yuanhan Liu wrote: > On Fri, Sep 02, 2016 at 02:37:00PM +0800, Jason Wang wrote: > > Virtio pmd doesn't support VFIO in the past since devices bypass IOMMU > > completely. But recently, the work of making virtio device work with > > IOMMU is near to complete. So this patch make pmd support IOMMU by: > > > > - Allow VFIO mapping by setting RTE_PCI_DRV_NEED_MAPPING flag > > I think that's not needed, since virtio_read_caps() invokes > rte_eal_pci_map_device(). > > --yliu