[dpdk-dev] [PATCH] kni: fix crash on userspace VA for segmented packets

2021-06-22 Thread Ferruh Yigit
When IOVA=VA, address translation for segmented packets is wrong, it assumes the address in the mbuf->next is physical address, not VA address. Fixing the address translation to work both PA & VA mode. Fixes: e73831dc6c26 ("kni: support userspace VA") Cc: sta...@dpdk.org Signed-off-by: Ferruh Yi

Re: [dpdk-dev] [PATCH] kni: fix crash on userspace VA for segmented packets

2021-06-23 Thread Ajit Khaparde
On Tue, Jun 22, 2021 at 5:39 AM Ferruh Yigit wrote: > > When IOVA=VA, address translation for segmented packets is wrong, it > assumes the address in the mbuf->next is physical address, not VA > address. > > Fixing the address translation to work both PA & VA mode. > > Fixes: e73831dc6c26 ("kni: s