From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix default mempool ops returning NULL Date: Wed, 31 Jan 2018 00:58:26 +0100 Message-ID: <4097735.pk0praW3z7@xps> References: <20180130155747.12501-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, hemant.agrawal@nxp.com, olivier.matz@6wind.com, santosh.shukla@caviumnetworks.com, jerin.jacob@caviumnetworks.com To: Pavan Nikhilesh Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id A8EE61B665 for ; Wed, 31 Jan 2018 00:59:12 +0100 (CET) In-Reply-To: <20180130155747.12501-1-pbhagavatula@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" 30/01/2018 16:57, Pavan Nikhilesh: > If '--mbuf-pool-ops' is not passed to EAL as command line argument then > rte_eal_mbuf_default_mempool_ops will return NULL. > > Instead check if internal_config.user_mbuf_pool_ops_name is NULL and > return compile time RTE_MBUF_DEFAULT_MEMPOOL_OPS. > > Fixes: 8b0f7f43413 ("mbuf: maintain user and compile time mempool ops name") > > Signed-off-by: Pavan Nikhilesh Applied, thanks