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

2021-10-12 Thread Dmitry Kozlyuk
> -Original Message- > From: Andrew Rybchenko > Sent: 12 октября 2021 г. 15:53 > To: Dmitry Kozlyuk ; dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon ; Matan Azrad > ; Olivier Matz > Subject: Re: [PATCH v3 2/4] mempool: add non-IO flag > > External email: Use caution opening links or atta

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

2021-10-12 Thread Andrew Rybchenko
On 10/12/21 3:40 PM, Dmitry Kozlyuk wrote: >> [...] >>> +#define MEMPOOL_F_NON_IO 0x0040 /**< Not used for device IO >> (DMA). */ >> >> Doesn't it imply MEMPOOL_F_NO_IOVA_CONTIG? > > Let's leave this explicit. NO_IOVA_CONFIG could result in MEMZONE_IOVA_CONTIG > (although it doesn't now),

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

2021-10-12 Thread Dmitry Kozlyuk
> [...] > > +#define MEMPOOL_F_NON_IO 0x0040 /**< Not used for device IO > (DMA). */ > > Doesn't it imply MEMPOOL_F_NO_IOVA_CONTIG? Let's leave this explicit. NO_IOVA_CONFIG could result in MEMZONE_IOVA_CONTIG (although it doesn't now), which can affect how many pages are used, which may

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

2021-10-11 Thread Andrew Rybchenko
On 10/12/21 3:04 AM, Dmitry Kozlyuk wrote: > 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. > Discussion: https://mails.dpdk.org/archives/dev/2021-August/216654.html > > Signed-off-by

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

2021-10-11 Thread Jerin Jacob
On Tue, Oct 12, 2021 at 5:34 AM Dmitry Kozlyuk wrote: > > 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. > Discussion: https://mails.dpdk.org/archives/dev/2021-August/216654.html > >

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

2021-10-11 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. Discussion: https://mails.dpdk.org/archives/dev/2021-August/216654.html Signed-off-by: Dmitry Kozlyuk Acked-by: Matan Azrad --- doc/guide