From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v5 6/8] mempool: detect physical contiguous object in pool Date: Thu, 7 Sep 2017 10:05:56 +0200 Message-ID: <20170907080555.bdw7fmah763jzjkb@neon> References: <20170815060743.21076-1-santosh.shukla@caviumnetworks.com> <20170906112834.32378-1-santosh.shukla@caviumnetworks.com> <20170906112834.32378-7-santosh.shukla@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, thomas@monjalon.net, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com To: Santosh Shukla Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 6D5BE16829 for ; Thu, 7 Sep 2017 10:06:04 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170906112834.32378-7-santosh.shukla@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Signed-off-by: Jerin Jacob Acked-by: Olivier Matz