[dpdk-dev] [PATCH v2 11/30] mempool/dpaa: reduce debug messages
From: Sachin Saxena <hidden>
Date: 2019-08-29 10:43:26
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Sachin Saxena <hidden>
Date: 2019-08-29 10:43:26
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Hemant Agrawal <redacted> Signed-off-by: Hemant Agrawal <redacted> Reviewed-by: Sachin Saxena <redacted> --- drivers/mempool/dpaa/dpaa_mempool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c
index c371d3a6b..a25697f05 100644
--- a/drivers/mempool/dpaa/dpaa_mempool.c
+++ b/drivers/mempool/dpaa/dpaa_mempool.c@@ -298,8 +298,6 @@ dpaa_populate(struct rte_mempool *mp, unsigned int max_objs, struct dpaa_bp_info *bp_info; unsigned int total_elt_sz; - MEMPOOL_INIT_FUNC_TRACE(); - if (!mp || !mp->pool_data) { DPAA_MEMPOOL_ERR("Invalid mempool provided\n"); return 0;
@@ -311,7 +309,7 @@ dpaa_populate(struct rte_mempool *mp, unsigned int max_objs, bp_info = DPAA_MEMPOOL_TO_POOL_INFO(mp); total_elt_sz = mp->header_size + mp->elt_size + mp->trailer_size; - DPAA_MEMPOOL_DEBUG("Req size %" PRIx64 " vs Available %u\n", + DPAA_MEMPOOL_DPDEBUG("Req size %" PRIx64 " vs Available %u\n", (uint64_t)len, total_elt_sz * mp->size); /* Detect pool area has sufficient space for elements in this memzone */
--
2.17.1