On 10/16/2019 3:29 PM, vattun...@marvell.com wrote: > From: Vamsi Attunuru <vattun...@marvell.com> > > 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. > > Patch adds get_iommu_class callback in vdev bus driver > and returns iommu mode as PA when vdevs are used for > kni functionality, callback returns iommu mode as DC > in normal cases. > > Signed-off-by: Vamsi Attunuru <vattun...@marvell.com>
NACK, more comment on other thread: https://mails.dpdk.org/archives/dev/2019-October/147459.html