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

Olivier MATZ olivier.matz at 6wind.com
Thu Sep 7 10:05:56 CEST 2017


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. If not then return -ENOSPC.
> This way, we make sure that all object within a pool is contiguous.
> 
> Signed-off-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>
> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list