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 1EC971B22C for ; Mon, 2 Oct 2017 16:31:58 +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 1dz1qo-00045B-UC; Mon, 02 Oct 2017 16:37:44 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Mon, 02 Oct 2017 16:31:50 +0200 Date: Mon, 2 Oct 2017 16:31:50 +0200 From: Olivier MATZ To: Santosh Shukla Cc: dev@dpdk.org, thomas@monjalon.net, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com Message-ID: <20171002143149.fjlr7n5cft3lyrc5@platinum> References: <20170911151837.25092-1-santosh.shukla@caviumnetworks.com> <20171001091440.10232-1-santosh.shukla@caviumnetworks.com> <20171001091440.10232-3-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171001091440.10232-3-santosh.shukla@caviumnetworks.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v5 2/2] ethdev: get the supported pool for a port 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: Mon, 02 Oct 2017 14:31:58 -0000 On Sun, Oct 01, 2017 at 02:44:40PM +0530, Santosh Shukla wrote: > Now that dpdk supports more than one mempool drivers and > each mempool driver works best for specific PMD, example: > - sw ring based mempool for Intel PMD drivers. > - dpaa2 HW mempool manager for dpaa2 PMD driver. > - fpa HW mempool manager for Octeontx PMD driver. > > Application would like to know the best mempool handle > for any port. > > Introducing rte_eth_dev_pool_ops_supported() API, > which allows PMD driver to advertise > his supported pool capability to the application. > > Supported pools are categorized in below priority:- > - Best mempool handle for this port (Highest priority '0') > - Port supports this mempool handle (Priority '1') > > Signed-off-by: Santosh Shukla Acked-by: Olivier Matz