[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-07 Thread Jason Wang
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

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-06 Thread Yuanhan Liu
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

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-05 Thread Jason Wang
On 2016?09?04? 16:08, Alejandro Lucero wrote: > I know RedHat is working on a vIOMMU so I guess this work is related > to that effort, but it is a surprise virtio using IOMMU. I thought > IOMMU just made sense when using SRIOV. My second guess is using IOMMU > with virtio is a matter of

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-05 Thread Jason Wang
On 2016?09?02? 21:04, Thomas Monjalon wrote: > 2016-09-02 14:37, Jason Wang: >> 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. > Good news! > What are the requirements

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-05 Thread Jason Wang
On 2016?09?02? 21:04, Thomas Monjalon wrote: > 2016-09-02 14:37, Jason Wang: >> 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. > Good news! > What are the requirements

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-04 Thread Alejandro Lucero
I know RedHat is working on a vIOMMU so I guess this work is related to that effort, but it is a surprise virtio using IOMMU. I thought IOMMU just made sense when using SRIOV. My second guess is using IOMMU with virtio is a matter of security, but by other hand, virtio + IOMMU could imply serious

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-02 Thread Michael S. Tsirkin
On Fri, Sep 02, 2016 at 03:04:56PM +0200, Thomas Monjalon wrote: > 2016-09-02 14:37, Jason Wang: > > 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. > > Good news! >

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-02 Thread Thomas Monjalon
2016-09-02 14:37, Jason Wang: > 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. Good news! What are the requirements for Qemu and Linux version numbers please?

[dpdk-dev] [PATCH 2/2] virtio: support IOMMU platform

2016-09-02 Thread Jason Wang
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 - Negotiate feature