> -----Original Message----- > From: dev <[email protected]> On Behalf Of Dmitry Kozlyuk > Sent: Monday, October 18, 2021 10:41 PM > To: [email protected] > Cc: David Marchand <[email protected]>; Matan Azrad > <[email protected]>; Andrew Rybchenko > <[email protected]>; Tahhan, Maryam > <[email protected]>; Pattan, Reshma <[email protected]>; > Olivier Matz <[email protected]> > Subject: [dpdk-dev] [PATCH v8 2/4] mempool: add non-IO flag > > Mempool is a generic allocator that is not necessarily used for device IO > operations and its memory for DMA. > Add MEMPOOL_F_NON_IO flag to mark such mempools automatically > a) if their objects are not contiguous; > b) if IOVA is not available for any object. > Other components can inspect this flag > in order to optimize their memory management. > > Discussion: https://mails.dpdk.org/archives/dev/2021-August/216654.html > > Signed-off-by: Dmitry Kozlyuk <[email protected]> > Acked-by: Matan Azrad <[email protected]> > Reviewed-by: Andrew Rybchenko <[email protected]> > --- > app/proc-info/main.c | 6 +- > app/test/test_mempool.c | 114 +++++++++++++++++++++++++ > doc/guides/rel_notes/release_21_11.rst | 3 + > lib/mempool/rte_mempool.c | 10 +++ > lib/mempool/rte_mempool.h | 2 + > 5 files changed, 133 insertions(+), 2 deletions(-) > Hi Dmitry,
We meet an issue based on this patch that mempool_autotest execute failed on FreeBSD13.0, bug id is https://bugs.dpdk.org/show_bug.cgi?id=863, could you pls have a look? Reproduce steps: 2.lanch app # ./x86_64-native-bsdapp-gcc/app/test/dpdk-test -n 4 -c f 3. execute dpdk command # mempool_autotest common_pool_count=1598 no statistics available EAL: Test assert test_mempool_flag_non_io_unset_when_populated_with_valid_iova line 781 failed: Cannot get IOVA test failed at test_mempool():1030 Test Failed

