From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nipun Gupta Subject: [PATCH 1/4] bus/fslmc: fix registering dpaa2 mempool ops Date: Mon, 5 Feb 2018 10:51:54 +0530 Message-ID: <1517808117-28562-1-git-send-email-nipun.gupta@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: dev@dpdk.org, santosh.shukla@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, sunil.kori@nxp.com, Nipun Gupta To: thomas@monjalon.net, jerin.jacob@caviumnetworks.com Return-path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10061.outbound.protection.outlook.com [40.107.1.61]) by dpdk.org (Postfix) with ESMTP id 1A7D21B1AB for ; Mon, 5 Feb 2018 06:22:20 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: 8824b74d8f5f ("bus/fslmc: register platform HW mempool on runtime") Signed-off-by: Nipun Gupta --- Though I have sent these patches yesterday, but they did not reach out. If by any chance they have entered your mailbox before please ignore the older patches. drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c index 1539739..f1f14e2 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c @@ -77,8 +77,8 @@ RTE_LOG(DEBUG, PMD, "DPAA2: Added [dpbp.%d]\n", dpbp_id); if (!register_once) { - if (rte_mbuf_set_platform_mempool_ops(DPAA2_MEMPOOL_OPS_NAME)) - register_once = 1; + rte_mbuf_set_platform_mempool_ops(DPAA2_MEMPOOL_OPS_NAME); + register_once = 1; } return 0; -- 1.9.1