Re: [dpdk-dev] [PATCH] kni: fix possible kernel crash with va2pa

2019-06-14 Thread Dey, Souvik
] [PATCH] kni: fix possible kernel crash with va2pa NOTICE: This email was received from an EXTERNAL sender On 2/28/2019 7:30 AM, Yangchao Zhou wrote: > va2pa depends on the physical address and virtual address offset of > c

Re: [dpdk-dev] [PATCH] kni: fix possible kernel crash with va2pa

2019-03-06 Thread Ferruh Yigit
On 2/28/2019 7:30 AM, Yangchao Zhou wrote: > va2pa depends on the physical address and virtual address offset of > current mbuf. It may get the wrong physical address of next mbuf which > allocated in another hugepage segment. Hi Yangchao, The problem you described seems valid, when current mbuf

[dpdk-dev] [PATCH] kni: fix possible kernel crash with va2pa

2019-02-27 Thread Yangchao Zhou
va2pa depends on the physical address and virtual address offset of current mbuf. It may get the wrong physical address of next mbuf which allocated in another hugepage segment. Signed-off-by: Yangchao Zhou --- kernel/linux/kni/kni_net.c | 16 ++-- .../eal/inclu