From patchwork Fri May 8 13:02:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186339 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp4158806ill; Fri, 8 May 2020 06:05:36 -0700 (PDT) X-Google-Smtp-Source: APiQypKnJkdUtluQWnj3l3iIiWLS0vdgDmcPWBmhZ4YzQa3E8egevbJ/Tn0Opu7L8nJcV1xQtE6H X-Received: by 2002:a17:906:5e50:: with SMTP id b16mr1833522eju.331.1588943136675; Fri, 08 May 2020 06:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588943136; cv=none; d=google.com; s=arc-20160816; b=QYNAKsvp4vootfDFY0qgdesBd7+H1UJflVbgkFgLJQ4qFviSVMnhZMIUPYqF/x2w9C R5zaXJPwpFfOBI8uVHMtiRTJ7DzOd3MElMnXJUhzVvHC6YW76nTOcmMf+9Bk1iHGM5NS yoeI67Hi6Gb3VOgdzP/l5HOj3eSAuJmTDzc9d6FHCDDAgxnj4Y95y5LK8cxwzFZtpRQw mPKlL72tUYoAcnDQZ4MuB0ZCPbQNrYfwOcVEBRmAUeqbA13czJRqtAg8yRi/dBIyscuJ dS5zTUMbLlLdGG5l7m0UguEhYUpZBQztZF3M7e8Cb+0kgmCpZ3tlcwCsIzo75DtKCYK7 qbjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=l4BiCP5F1hRsnVykmAd7z2SJScjczKaBaIqzhQ1R1V0=; b=bCeI7mz1S/1BwnXgaTDtOlNDt85MDI+A+iHkFedT70WqRAhu8tp/m+klbiwUngFVns 8FBYaiRLYsoEKRfIZKoBIniEJWkzSB2UBUATUmWP65+DDQ2cKddG0141eq5OGe0S4Bi5 lV38VBb9bFqRtxCzKz9y/sLPzThQywRoG0ZWEPYS/zqxDIJjTT11wyRjOeXGVQ7P80MP tDsQitASLLYQKqdbzH5VOFVCVIVkDQkrHDicCJ9IsvLRikQelRXEOBMn8JcfBXe/DhYr iHbBRLlumpIh/doD2h3XV5pKJJtVUDpKPhyLnbrdScouILMMaHOYAlKUSWKOrJURgu1h yAMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id z25si943767edq.323.2020.05.08.06.05.36; Fri, 08 May 2020 06:05:36 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0EB371DBE6; Fri, 8 May 2020 15:04:37 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 32FBF1DB47 for ; Fri, 8 May 2020 15:04:28 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1392B1A00E9; Fri, 8 May 2020 15:04:28 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6729B1A152E; Fri, 8 May 2020 15:04:26 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3A67F40318; Fri, 8 May 2020 21:04:24 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, ferruh.yigit@intel.com Cc: Hemant Agrawal Date: Fri, 8 May 2020 18:32:08 +0530 Message-Id: <20200508130211.14334-8-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508130211.14334-1-hemant.agrawal@nxp.com> References: <20200507104645.31990-1-hemant.agrawal@nxp.com> <20200508130211.14334-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v6 07/10] net/dpaa2: reduce prints in queue count functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" changing them to DP as it is impacting l3fwd-power apps Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 0be61cda04..08f9832eb8 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -891,8 +891,6 @@ dpaa2_dev_rx_queue_count(struct rte_eth_dev *dev, uint16_t rx_queue_id) struct qbman_fq_query_np_rslt state; uint32_t frame_cnt = 0; - PMD_INIT_FUNC_TRACE(); - if (unlikely(!DPAA2_PER_LCORE_DPIO)) { ret = dpaa2_affine_qbman_swp(); if (ret) { @@ -908,7 +906,7 @@ dpaa2_dev_rx_queue_count(struct rte_eth_dev *dev, uint16_t rx_queue_id) if (qbman_fq_query_state(swp, dpaa2_q->fqid, &state) == 0) { frame_cnt = qbman_fq_state_frame_count(&state); - DPAA2_PMD_DEBUG("RX frame count for q(%d) is %u", + DPAA2_PMD_DP_DEBUG("RX frame count for q(%d) is %u", rx_queue_id, frame_cnt); } return frame_cnt;