git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9576ded
)
bus/fslmc: fix mempool ops registration
author
Nipun Gupta
<nipun.gupta@nxp.com>
Mon, 5 Feb 2018 05:21:54 +0000
(10:51 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 5 Feb 2018 23:37:56 +0000
(
00:37
+0100)
Fixes:
8824b74d8f5f
("bus/fslmc: register platform HW mempool on runtime")
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
patch
|
blob
|
history
diff --git
a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
index
1539739
..
f1f14e2
100644
(file)
--- a/
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
+++ b/
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
@@
-77,8
+77,8
@@
dpaa2_create_dpbp_device(int vdev_fd __rte_unused,
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;