diff mbox series

[v2,6/7] raw/dpaa2x: remove rte logs from data path

Message ID 20190404110215.14410-6-hemant.agrawal@nxp.com
State Superseded
Headers show
Series [v2,1/7] config: increase the num of rawdev to be 64 | expand

Commit Message

Hemant Agrawal April 4, 2019, 11:04 a.m. UTC
From: Nipun Gupta <nipun.gupta@nxp.com>


The runtime traces shall not be present in datapath

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>

---
 drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c       | 4 ----
 drivers/raw/dpaa2_qdma/dpaa2_qdma.c         | 8 --------
 drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h | 2 +-
 3 files changed, 1 insertion(+), 13 deletions(-)

-- 
2.17.1
diff mbox series

Patch

diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
index 469960a3e..7d311b2ee 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 cf1a1aaa6..38f329a50 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 bbc66a286..ce491d5d4 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.