Re: [dpdk-dev] [PATCH 2/4] mempool: detect physical contiguous object in pool

2017-07-05 Thread santosh
Hi Olivier, On Monday 03 July 2017 10:07 PM, Olivier Matz wrote: > On Wed, 21 Jun 2017 17:32:46 +, Santosh Shukla > wrote: >> HW mempool blocks may need physical contiguous obj in a pool. > This should be clarified: the memory area containing all the > objects must be physically contiguous,

Re: [dpdk-dev] [PATCH 2/4] mempool: detect physical contiguous object in pool

2017-07-03 Thread Olivier Matz
On Wed, 21 Jun 2017 17:32:46 +, Santosh Shukla wrote: > HW mempool blocks may need physical contiguous obj in a pool. This should be clarified: the memory area containing all the objects must be physically contiguous, right? > Introducing MEMPOOL_F_POOL_CONTIG flag for such use-case. The f

[dpdk-dev] [PATCH 2/4] mempool: detect physical contiguous object in pool

2017-06-21 Thread Santosh Shukla
HW mempool blocks may need physical contiguous obj in a pool. Introducing MEMPOOL_F_POOL_CONTIG flag for such use-case. The flag useful to detect whether all buffer fits within a hugepage or not. If not then return -ENOSPC. This way, we make sure that all object within a pool is contiguous. Signe