From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH 2/2] virtio: support IOMMU platform Date: Tue, 6 Sep 2016 15:46:18 +0800 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 Cc: dev@dpdk.org, huawei.xie@intel.com, mst@redhat.com, Thomas Monjalon To: Jason Wang 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) Content-Disposition: inline In-Reply-To: <20160905071626.GM30752@yliu-dev.sh.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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