drivers: add newline in dpaa2 logs
[dpdk.git] / drivers / mempool / dpaa2 / dpaa2_hw_mempool.c
index d578c2f..973b9d4 100644 (file)
@@ -188,7 +188,7 @@ rte_dpaa2_mbuf_release(struct rte_mempool *pool __rte_unused,
        if (unlikely(!DPAA2_PER_LCORE_DPIO)) {
                ret = dpaa2_affine_qbman_swp();
                if (ret != 0) {
-                       RTE_LOG(ERR, PMD, "Failed to allocate IO portal");
+                       RTE_LOG(ERR, PMD, "Failed to allocate IO portal\n");
                        return;
                }
        }
@@ -267,7 +267,7 @@ rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
        if (unlikely(!DPAA2_PER_LCORE_DPIO)) {
                ret = dpaa2_affine_qbman_swp();
                if (ret != 0) {
-                       RTE_LOG(ERR, PMD, "Failed to allocate IO portal");
+                       RTE_LOG(ERR, PMD, "Failed to allocate IO portal\n");
                        return ret;
                }
        }
@@ -323,7 +323,7 @@ rte_hw_mbuf_free_bulk(struct rte_mempool *pool,
 
        bp_info = mempool_to_bpinfo(pool);
        if (!(bp_info->bp_list)) {
-               RTE_LOG(ERR, PMD, "DPAA2 buffer pool not configured");
+               RTE_LOG(ERR, PMD, "DPAA2 buffer pool not configured\n");
                return -ENOENT;
        }
        rte_dpaa2_mbuf_release(pool, obj_table, bp_info->bpid,
@@ -341,7 +341,7 @@ rte_hw_mbuf_get_count(const struct rte_mempool *mp)
        struct dpaa2_dpbp_dev *dpbp_node;
 
        if (!mp || !mp->pool_data) {
-               RTE_LOG(ERR, PMD, "Invalid mempool provided");
+               RTE_LOG(ERR, PMD, "Invalid mempool provided\n");
                return 0;
        }
 
@@ -351,12 +351,12 @@ rte_hw_mbuf_get_count(const struct rte_mempool *mp)
        ret = dpbp_get_num_free_bufs(&dpbp_node->dpbp, CMD_PRI_LOW,
                                     dpbp_node->token, &num_of_bufs);
        if (ret) {
-               RTE_LOG(ERR, PMD, "Unable to obtain free buf count (err=%d)",
+               RTE_LOG(ERR, PMD, "Unable to obtain free buf count (err=%d)\n",
                        ret);
                return 0;
        }
 
-       RTE_LOG(DEBUG, PMD, "Free bufs = %u", num_of_bufs);
+       RTE_LOG(DEBUG, PMD, "Free bufs = %u\n", num_of_bufs);
 
        return num_of_bufs;
 }