[dpdk-dev] [PATCH v5 6/8] mempool: detect physical contiguous object in pool

2017-09-06 Thread Santosh Shukla
The memory area containing all the objects must be physically contiguous. Introducing MEMPOOL_F_CAPA_PHYS_CONTIG flag for such use-case. The flag useful to detect whether pool area has sufficient space to fit all objects. If not then return -ENOSPC. This way, we make sure that all object within a

Re: [dpdk-dev] [PATCH v5 6/8] mempool: detect physical contiguous object in pool

2017-09-07 Thread Olivier MATZ
On Wed, Sep 06, 2017 at 04:58:32PM +0530, Santosh Shukla wrote: > The memory area containing all the objects must be physically > contiguous. > Introducing MEMPOOL_F_CAPA_PHYS_CONTIG flag for such use-case. > > The flag useful to detect whether pool area has sufficient space > to fit all objects.