Re: [dpdk-dev] [PATCH v1 1/1] bus/vdev: add get iommu class callback

2019-10-16 Thread Ferruh Yigit
On 10/16/2019 3:29 PM, vattun...@marvell.com wrote: > From: Vamsi Attunuru > > When DPDK application is run with vdevs, EAL decides > the iommu mode and accordingly application runs in > either of the modes. > > For KNI kind of functionality with vdevs, since there > is no backed device structur

Re: [dpdk-dev] [PATCH v1 1/1] bus/vdev: add get iommu class callback

2019-10-16 Thread Jerin Jacob
On Wed, Oct 16, 2019 at 7:59 PM wrote: > > From: Vamsi Attunuru > > When DPDK application is run with vdevs, EAL decides > the iommu mode and accordingly application runs in > either of the modes. > > For KNI kind of functionality with vdevs, since there > is no backed device structure in kernel,

[dpdk-dev] [PATCH v1 1/1] bus/vdev: add get iommu class callback

2019-10-16 Thread vattunuru
From: Vamsi Attunuru When DPDK application is run with vdevs, EAL decides the iommu mode and accordingly application runs in either of the modes. For KNI kind of functionality with vdevs, since there is no backed device structure in kernel, iommu_mode = PA needs to be enforced during eal init.