Re: [dpdk-dev] [PATCH v6 4/4] kernel/linux/kni: add IOVA support in kni module

2019-07-11 Thread Stephen Hemminger
On Tue, 25 Jun 2019 09:27:00 +0530 wrote: > diff --git a/kernel/linux/kni/kni_misc.c b/kernel/linux/kni/kni_misc.c > index 1fc5eeb..b70c827 100644 > --- a/kernel/linux/kni/kni_misc.c > +++ b/kernel/linux/kni/kni_misc.c > @@ -294,6 +294,9 @@ kni_ioctl_create(struct net *net, uint32_t ioctl_num, >

Re: [dpdk-dev] [PATCH v6 4/4] kernel/linux/kni: add IOVA support in kni module

2019-07-11 Thread Ferruh Yigit
On 6/25/2019 4:57 AM, vattun...@marvell.com wrote: > From: Kiran Kumar K > > Patch adds support for kernel module to work in IOVA = VA mode, > the idea is to get physical address from iova address using > iommu_iova_to_phys API and later use phys_to_virt API to > convert the physical address to k

[dpdk-dev] [PATCH v6 4/4] kernel/linux/kni: add IOVA support in kni module

2019-06-24 Thread vattunuru
From: Kiran Kumar K Patch adds support for kernel module to work in IOVA = VA mode, the idea is to get physical address from iova address using iommu_iova_to_phys API and later use phys_to_virt API to convert the physical address to kernel virtual address. When compared with IOVA = PA mode, ther