> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Dmitry Kozlyuk > Sent: Monday, October 18, 2021 10:41 PM > To: dev@dpdk.org > Cc: David Marchand <david.march...@redhat.com>; Matan Azrad > <ma...@oss.nvidia.com>; Andrew Rybchenko > <andrew.rybche...@oktetlabs.ru>; Tahhan, Maryam > <maryam.tah...@intel.com>; Pattan, Reshma <reshma.pat...@intel.com>; > Olivier Matz <olivier.m...@6wind.com> > 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 <dkozl...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com> > Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> > --- > 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