From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 633651B1AD for ; Fri, 29 Sep 2017 10:21:00 +0200 (CEST) Received: from lfbn-lil-1-182-75.w90-45.abo.wanadoo.fr ([90.45.31.75] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dxqd9-0002fa-F8; Fri, 29 Sep 2017 10:26:45 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Fri, 29 Sep 2017 10:20:50 +0200 Date: Fri, 29 Sep 2017 10:20:50 +0200 From: Olivier MATZ To: santosh Cc: dev@dpdk.org, thomas@monjalon.net, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com Message-ID: <20170929082049.hrbfrysfjudht3ip@platinum> References: <20170906112834.32378-1-santosh.shukla@caviumnetworks.com> <20170907153042.30890-1-santosh.shukla@caviumnetworks.com> <20170907153042.30890-9-santosh.shukla@caviumnetworks.com> <20170925114141.ynhho56eciqlyxqu@platinum> <8326c640-93f9-2662-56fb-26f50e42161c@caviumnetworks.com> <66635b0c-2a96-a1cd-4f99-89fea50faf11@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66635b0c-2a96-a1cd-4f99-89fea50faf11@caviumnetworks.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v6 8/8] mempool: notify memory area to pool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 08:21:00 -0000 On Fri, Sep 29, 2017 at 05:53:43AM +0100, santosh wrote: > Hi Olivier, > > > On Monday 25 September 2017 11:18 PM, santosh wrote: > > On Monday 25 September 2017 12:41 PM, Olivier MATZ wrote: > >> On Thu, Sep 07, 2017 at 09:00:42PM +0530, Santosh Shukla wrote: > >>> + * Mempool handler usually get notified once for the case of mempool get full > >>> + * range of memory area. However, if several memory areas exist then mempool > >>> + * handler gets notified each time. > >> Not sure I understand this last paragraph. > > Refer v5 history [1] for same. > > > > [1] http://dpdk.org/dev/patchwork/patch/28419/ > > > > there will be a case where mempool handler may have more than one memory example, no-hugepage case. > > In that case _register_memory_area() ops will be called for more than once. > > > > In v5, you suggested to mention this case explicitly in api description. > > > > If your not clear with write up then could you propose one and also are you fine > > with [8/8] patch beside above note? planning to send v7 by tomorrow, appreciate if you answer question. > > Ping? > > IMO, remove above description keep it like: > "API to notify the mempool handler if a new memory area is added to pool." Is it ok with you? Can you pl. confirm, I need to send v7 and we want this series in -rc1, its blocking octeontx mempool and nw driver.. delayed review blocking progress. The proposed description is ok. I have no other comment for the rest of the patch.