Re: [dpdk-dev] [PATCH v8 2/4] mempool: add non-IO flag

2021-10-28 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of Dmitry Kozlyuk > Sent: Monday, October 18, 2021 10:41 PM > To: dev@dpdk.org > Cc: David Marchand ; Matan Azrad > ; Andrew Rybchenko > ; Tahhan, Maryam > ; Pattan, Reshma ; > Olivier Matz > Subject: [dpdk-dev] [

[dpdk-dev] [PATCH v8 2/4] mempool: add non-IO flag

2021-10-18 Thread Dmitry Kozlyuk
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 or