mempool_autotest was failing on FreeBSD, because rte_virt2iova() is not implemented. After the test started using memzones, it appeared that in --no-huge memzones have iova=RTE_BAD_IOVA, which is unexpected and contradicts with selected IOVA-as-PA. Intead of working around this in the unit test, fix FreeBSD EAL to select IOVA-as-VA in --no-huge mode.
v3: * Fix IOVA mode logging (Bruce). v2: * Add the EAL changes. * Fix a failure with --no-huge (Olivier). Dmitry Kozlyuk (3): eal/freebsd: fix IOVA mode selection app/test: fix mempool test on FreeBSD app/test: fix mempool test in no-huge mode app/test/test_mempool.c | 62 ++++++++++++++++++++++------------------- lib/eal/freebsd/eal.c | 37 ++++++++++++++++-------- 2 files changed, 58 insertions(+), 41 deletions(-) -- 2.25.1