From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: [PATCH 2/2] virtio: support IOMMU platform Date: Wed, 7 Sep 2016 12:53:20 +0800 Message-ID: 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> <20160906074618.GB4357@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, huawei.xie@intel.com, mst@redhat.com, Thomas Monjalon , Victor Kaplansky To: Yuanhan Liu Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id EEEE07E93 for ; Wed, 7 Sep 2016 06:53:30 +0200 (CEST) In-Reply-To: <20160906074618.GB4357@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" On 2016年09月06日 15:46, Yuanhan Liu wrote: > 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 Right. Thanks.