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 EEEE07E93 for ; Wed, 7 Sep 2016 06:53:30 +0200 (CEST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1735620279; Wed, 7 Sep 2016 04:53:30 +0000 (UTC) Received: from [10.72.4.149] (vpn1-4-149.pek2.redhat.com [10.72.4.149]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u874rOe8024481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Sep 2016 00:53:26 -0400 To: Yuanhan Liu 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> Cc: dev@dpdk.org, huawei.xie@intel.com, mst@redhat.com, Thomas Monjalon , Victor Kaplansky From: Jason Wang Message-ID: Date: Wed, 7 Sep 2016 12:53:20 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160906074618.GB4357@yliu-dev.sh.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 07 Sep 2016 04:53:30 +0000 (UTC) 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: Wed, 07 Sep 2016 04:53:31 -0000 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.