Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-03-30 Thread Thomas Monjalon
2017-02-17 12:29, Ferruh Yigit: > On 1/18/2017 12:27 PM, Alejandro Lucero wrote: > > For using a DPDK app when iommu is enabled, it requires to > > add iommu=pt to the kernel command line. But using igb_uio driver > > makes DMAR errors because the device has not an IOMMU domain. > > > > Since kern

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-17 Thread Ferruh Yigit
On 1/18/2017 12:27 PM, Alejandro Lucero wrote: > For using a DPDK app when iommu is enabled, it requires to > add iommu=pt to the kernel command line. But using igb_uio driver > makes DMAR errors because the device has not an IOMMU domain. > > Since kernel 3.15, iommu=pt requires to use the intern

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-13 Thread Ferruh Yigit
On 2/13/2017 1:38 PM, Alejandro Lucero wrote: > > > On Fri, Feb 10, 2017 at 7:06 PM, Ferruh Yigit > wrote: > > On 2/10/2017 7:03 PM, Ferruh Yigit wrote: > > On 2/8/2017 11:54 AM, Alejandro Lucero wrote: > >> Hi Ferruh, > >> > >> On Tue, Feb 7,

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-13 Thread Alejandro Lucero
On Fri, Feb 10, 2017 at 7:06 PM, Ferruh Yigit wrote: > On 2/10/2017 7:03 PM, Ferruh Yigit wrote: > > On 2/8/2017 11:54 AM, Alejandro Lucero wrote: > >> Hi Ferruh, > >> > >> On Tue, Feb 7, 2017 at 3:59 PM, Ferruh Yigit >> > wrote: > >> > >> Hi Alejandro, > >> >

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-13 Thread Alejandro Lucero
On Fri, Feb 10, 2017 at 7:03 PM, Ferruh Yigit wrote: > On 2/8/2017 11:54 AM, Alejandro Lucero wrote: > > Hi Ferruh, > > > > On Tue, Feb 7, 2017 at 3:59 PM, Ferruh Yigit > > wrote: > > > > Hi Alejandro, > > > > On 1/18/2017 12:27 PM, Alejandro Lucero wrote:

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-10 Thread Ferruh Yigit
On 2/10/2017 7:03 PM, Ferruh Yigit wrote: > On 2/8/2017 11:54 AM, Alejandro Lucero wrote: >> Hi Ferruh, >> >> On Tue, Feb 7, 2017 at 3:59 PM, Ferruh Yigit > > wrote: >> >> Hi Alejandro, >> >> On 1/18/2017 12:27 PM, Alejandro Lucero wrote: >> > For using a

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-10 Thread Ferruh Yigit
On 2/8/2017 11:54 AM, Alejandro Lucero wrote: > Hi Ferruh, > > On Tue, Feb 7, 2017 at 3:59 PM, Ferruh Yigit > wrote: > > Hi Alejandro, > > On 1/18/2017 12:27 PM, Alejandro Lucero wrote: > > For using a DPDK app when iommu is enabled, it requires to >

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-08 Thread Alejandro Lucero
Hi Ferruh, On Tue, Feb 7, 2017 at 3:59 PM, Ferruh Yigit wrote: > Hi Alejandro, > > On 1/18/2017 12:27 PM, Alejandro Lucero wrote: > > For using a DPDK app when iommu is enabled, it requires to > > add iommu=pt to the kernel command line. But using igb_uio driver > > makes DMAR errors because the

Re: [dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-02-07 Thread Ferruh Yigit
Hi Alejandro, On 1/18/2017 12:27 PM, Alejandro Lucero wrote: > For using a DPDK app when iommu is enabled, it requires to > add iommu=pt to the kernel command line. But using igb_uio driver > makes DMAR errors because the device has not an IOMMU domain. Please help to understand the scope of the

[dpdk-dev] [PATCH] igb_uio: map dummy dma forcing iommu domain attachment

2017-01-18 Thread Alejandro Lucero
For using a DPDK app when iommu is enabled, it requires to add iommu=pt to the kernel command line. But using igb_uio driver makes DMAR errors because the device has not an IOMMU domain. Since kernel 3.15, iommu=pt requires to use the internal kernel DMA API for attaching the device to the IOMMU 1