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

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 16 20:10:31 CEST 2019


On 10/16/2019 3:29 PM, vattunuru at marvell.com wrote:
> From: Vamsi Attunuru <vattunuru at 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 <vattunuru at marvell.com>

NACK, more comment on other thread:
https://mails.dpdk.org/archives/dev/2019-October/147459.html



More information about the dev mailing list