[dpdk-dev] [PATCH v2 0/3] Mempool fixes for FreeBSD
Dmitry Kozlyuk
dkozlyuk at oss.nvidia.com
Mon Nov 1 08:36:58 CET 2021
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.
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
More information about the dev
mailing list