[v2,08/30] net/dpaa: reduce debug messages

Message ID 20190829102737.13267-9-sachin.saxena@nxp.com
State New
Headers show
Series
  • [v2,01/30] bus/dpaa: fix DPAA SEC blacklist case
Related show

Commit Message

Sachin Saxena Aug. 29, 2019, 10:27 a.m.
From: Hemant Agrawal <hemant.agrawal@nxp.com>


Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

Reviewed-by: Sachin Saxena <sachin.saxena@nxp.com>

---
 drivers/net/dpaa/dpaa_ethdev.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

-- 
2.17.1

Patch

diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index 42ab3d05f..dc2e584b1 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -335,7 +335,7 @@  static void dpaa_eth_dev_info(struct rte_eth_dev *dev,
 {
 	struct dpaa_if *dpaa_intf = dev->data->dev_private;
 
-	PMD_INIT_FUNC_TRACE();
+	DPAA_PMD_DEBUG(": %s", dpaa_intf->name);
 
 	dev_info->max_rx_queues = dpaa_intf->nb_rx_queues;
 	dev_info->max_tx_queues = dpaa_intf->nb_tx_queues;
@@ -1172,8 +1172,6 @@  static int dpaa_rx_queue_init(struct qman_fq *fq, struct qman_cgr *cgr_rx,
 		}
 	};
 
-	PMD_INIT_FUNC_TRACE();
-
 	if (fqid) {
 		ret = qman_reserve_fqid(fqid);
 		if (ret) {
@@ -1225,8 +1223,6 @@  static int dpaa_tx_queue_init(struct qman_fq *fq,
 	struct qm_mcc_initfq opts = {0};
 	int ret;
 
-	PMD_INIT_FUNC_TRACE();
-
 	ret = qman_create_fq(0, QMAN_FQ_FLAG_DYNAMIC_FQID |
 			     QMAN_FQ_FLAG_TO_DCPORTAL, fq);
 	if (ret) {