Hi, 16/04/2019 06:55, kirankum...@marvell.com: > From: Kiran Kumar K <kirankum...@marvell.com> > > With current KNI implementation kernel module will work only in > IOVA=PA mode. This patch will add support for kernel module to work > with IOVA=VA mode. > > The idea is to get the physical address from iova address using > api iommu_iova_to_phys. Using this API, we will get the physical > address from iova address and later use phys_to_virt API to > convert the physical address to kernel virtual address. > > With this approach we have compared the performance with IOVA=PA > and there is no difference observed. Seems like kernel is the > overhead. > > Signed-off-by: Kiran Kumar K <kirankum...@marvell.com> > --- > > V3 Changes: > * Add new approach to work kni with IOVA=VA mode using > iommu_iova_to_phys API.
Compilation test is failing: http://mails.dpdk.org/archives/test-report/2019-April/080701.html