Re: [dpdk-dev] [PATCH v4 5/7] mempool: detect physical contiguous object in pool

2017-09-04 Thread Olivier MATZ
On Mon, Sep 04, 2017 at 08:17:11PM +0530, santosh wrote: > > On Monday 04 September 2017 08:13 PM, Olivier MATZ wrote: > > On Tue, Aug 15, 2017 at 11:37:41AM +0530, Santosh Shukla wrote: > >> The memory area containing all the objects must be physically > >> contiguous. > >> Introducing MEMPOOL_F_

Re: [dpdk-dev] [PATCH v4 5/7] mempool: detect physical contiguous object in pool

2017-09-04 Thread santosh
On Monday 04 September 2017 08:13 PM, Olivier MATZ wrote: > On Tue, Aug 15, 2017 at 11:37:41AM +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 det

Re: [dpdk-dev] [PATCH v4 5/7] mempool: detect physical contiguous object in pool

2017-09-04 Thread Olivier MATZ
On Tue, Aug 15, 2017 at 11:37:41AM +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.

[dpdk-dev] [PATCH v4 5/7] mempool: detect physical contiguous object in pool

2017-08-14 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