From: Nipun Gupta Date: Thu, 4 Apr 2019 11:50:27 +0000 (+0000) Subject: raw/dpaa2: remove logs from datapath X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=345c783b2d3259a54c131d6e41b7afe166d7126e;p=dpdk.git raw/dpaa2: remove logs from datapath The runtime traces shall not be present in datapath Signed-off-by: Nipun Gupta --- diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 469960a3e5..7d311b2eef 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c @@ -67,8 +67,6 @@ dpaa2_cmdif_enqueue_bufs(struct rte_rawdev *dev, struct qbman_swp *swp; int ret; - DPAA2_CMDIF_FUNC_TRACE(); - RTE_SET_USED(count); if (unlikely(!DPAA2_PER_LCORE_DPIO)) { @@ -128,8 +126,6 @@ dpaa2_cmdif_dequeue_bufs(struct rte_rawdev *dev, uint8_t status; int ret; - DPAA2_CMDIF_FUNC_TRACE(); - RTE_SET_USED(count); if (unlikely(!DPAA2_PER_LCORE_DPIO)) { diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index cf1a1aaa6d..38f329a505 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -376,8 +376,6 @@ dpaa2_qdma_populate_fle(struct qbman_fle *fle, { struct qdma_sdd *sdd; - DPAA2_QDMA_FUNC_TRACE(); - sdd = (struct qdma_sdd *)((uint8_t *)(fle) + (DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle))); @@ -555,8 +553,6 @@ rte_qdma_vq_enqueue_multi(uint16_t vq_id, struct dpaa2_dpdmai_dev *dpdmai_dev = qdma_pq->dpdmai_dev; int ret; - DPAA2_QDMA_FUNC_TRACE(); - /* Return error in case of wrong lcore_id */ if (rte_lcore_id() != qdma_vq->lcore_id) { DPAA2_QDMA_ERR("QDMA enqueue for vqid %d on wrong core", @@ -630,8 +626,6 @@ dpdmai_dev_dequeue_multijob(struct dpaa2_dpdmai_dev *dpdmai_dev, uint16_t vqid; int ret, next_pull = nb_jobs, num_pulled = 0; - DPAA2_QDMA_FUNC_TRACE(); - if (unlikely(!DPAA2_PER_LCORE_DPIO)) { ret = dpaa2_affine_qbman_swp(); if (ret) { @@ -801,8 +795,6 @@ rte_qdma_vq_stats(uint16_t vq_id, { struct qdma_virt_queue *qdma_vq = &qdma_vqs[vq_id]; - DPAA2_QDMA_FUNC_TRACE(); - if (qdma_vq->in_use) { vq_status->exclusive_hw_queue = qdma_vq->exclusive_hw_queue; vq_status->lcore_id = qdma_vq->lcore_id; diff --git a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h b/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h index bbc66a2860..ce491d5d43 100644 --- a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h +++ b/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h @@ -329,7 +329,7 @@ rte_qdma_vq_destroy(uint16_t vq_id); * - <0: Error code. */ -int __rte_experimental +int rte_qdma_vq_destroy_rbp(uint16_t vq_id); /** * Stop QDMA device.