mempool/dpaa2: fix continuous print on empty pool
Changing the print to DP_DEBUG to avoid continuous prints when
buffer pools runs out of buffers
Fixes: 3646ccf0b0
("mempool/dpaa2: support dynamic logging")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
e59b75ffeb
commit
f8f9f64522
@ -326,8 +326,8 @@ rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
|
||||
* in pool, qbman_swp_acquire returns 0
|
||||
*/
|
||||
if (ret <= 0) {
|
||||
DPAA2_MEMPOOL_ERR("Buffer acquire failed with"
|
||||
" err code: %d", ret);
|
||||
DPAA2_MEMPOOL_DP_DEBUG(
|
||||
"Buffer acquire failed with err code: %d", ret);
|
||||
/* The API expect the exact number of requested bufs */
|
||||
/* Releasing all buffers allocated */
|
||||
rte_dpaa2_mbuf_release(pool, obj_table, bpid,
|
||||
|
Loading…
Reference in New Issue
Block a user