On Tue, 12 Mar 2019 17:22:32 +0800 Yangchao Zhou <zhouya...@gmail.com> 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 of > contiguous memory could be failed. Then, it would reserve memory in > several memzones that have different physical address and virtual address > offsets. The rte_mempool_populate_default() is used by > rte_pktmbuf_pool_create(). > > Signed-off-by: Yangchao Zhou <zhouya...@gmail.com> Could you add a Fixes tag?