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

2019-06-18 Thread Stephen Hemminger
On Tue, 12 Mar 2019 17:22:32 +0800 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. > > In rte_mempool_populate_default(), trying to allocat

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

2019-06-17 Thread Dey, Souvik
:49 PM To: Yangchao Zhou ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] kni: fix possible kernel crash with va2pa NOTICE: This email was received from an EXTERNAL sender On 3/12/2019 9:22 AM, Yangchao Zhou wrote: > va2pa depends

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

2019-03-22 Thread Ferruh Yigit
On 3/12/2019 9:22 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. > > In rte_mempool_populate_default(), trying to allocate whole block o

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

2019-03-19 Thread Ferruh Yigit
On 3/12/2019 9:22 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. > > In rte_mempool_populate_default(), trying to allocate whole block o