[dpdk-dev] [PATCH 1/4] bus/fslmc: fix registering dpaa2 mempool ops
Nipun Gupta
nipun.gupta at nxp.com
Mon Feb 5 06:21:54 CET 2018
Fixes: 8824b74d8f5f ("bus/fslmc: register platform HW mempool on runtime")
Signed-off-by: Nipun Gupta <nipun.gupta at nxp.com>
---
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
More information about the dev
mailing list