Re: [dpdk-dev] [PATCH] test/mbuf: fix virtual address conversion

2021-07-06 Thread David Marchand
On Tue, Jul 6, 2021 at 1:50 PM David Marchand wrote: > > On Mon, Jul 5, 2021 at 9:28 AM Olivier Matz wrote: > > > > Seen with address sanitizer. > > > > rte_mempool_virt2iova() can only be used on mempool elements. In this case, > > it is incorrect, and rte_mem_virt2iova() has to be used. > > > >

Re: [dpdk-dev] [PATCH] test/mbuf: fix virtual address conversion

2021-07-06 Thread David Marchand
On Mon, Jul 5, 2021 at 9:28 AM Olivier Matz wrote: > > Seen with address sanitizer. > > rte_mempool_virt2iova() can only be used on mempool elements. In this case, > it is incorrect, and rte_mem_virt2iova() has to be used. > > Bugzilla ID: 737 > Fixes: 7b295dceea07 ("test/mbuf: add unit test cases

[dpdk-dev] [PATCH] test/mbuf: fix virtual address conversion

2021-07-05 Thread Olivier Matz
Seen with address sanitizer. rte_mempool_virt2iova() can only be used on mempool elements. In this case, it is incorrect, and rte_mem_virt2iova() has to be used. Bugzilla ID: 737 Fixes: 7b295dceea07 ("test/mbuf: add unit test cases") Cc: sta...@dpdk.org Reported-by: Zhihong Peng Signed-off-by: