summaryrefslogtreecommitdiff
path: root/drivers/mempool
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-01-29 13:40:49 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-01-29 19:02:05 +0100
commit8824b74d8f5ff84e5b71bf964570437bf2c5d7cf (patch)
tree5643c0c2c1be1c0778a4c72bed0602173cc7b837 /drivers/mempool
parent2bd0d5b951a92ce1be828f6614a27197b30e1e07 (diff)
downloaddpdk-8824b74d8f5ff84e5b71bf964570437bf2c5d7cf.zip
dpdk-8824b74d8f5ff84e5b71bf964570437bf2c5d7cf.tar.gz
dpdk-8824b74d8f5ff84e5b71bf964570437bf2c5d7cf.tar.xz
bus/fslmc: register platform HW mempool on runtime
Detect if the DPAA2 mempool objects are present and register it as platform default hw mempool Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'drivers/mempool')
-rw-r--r--drivers/mempool/dpaa2/dpaa2_hw_mempool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
index afda2c2..2bd62e8 100644
--- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
+++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
@@ -354,7 +354,7 @@ rte_hw_mbuf_get_count(const struct rte_mempool *mp)
}
struct rte_mempool_ops dpaa2_mpool_ops = {
- .name = "dpaa2",
+ .name = DPAA2_MEMPOOL_OPS_NAME,
.alloc = rte_hw_mbuf_create_pool,
.free = rte_hw_mbuf_free_pool,
.enqueue = rte_hw_mbuf_free_bulk,