From patchwork Mon May 4 12:41:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186114 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp84595ill; Mon, 4 May 2020 05:44:31 -0700 (PDT) X-Google-Smtp-Source: APiQypIeT7hiF5lnLWv5lhxqioZoBTIXmNum2ok9a8gFllQnyHq/GHU1k51Z8HVFTZvSaZsf3Hki X-Received: by 2002:a05:6402:1597:: with SMTP id c23mr14994614edv.353.1588596271373; Mon, 04 May 2020 05:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588596271; cv=none; d=google.com; s=arc-20160816; b=aH9ze5Gow2sY7VKKejq7vbDX+qieVNKs5KilxsdC7HAVe0qjBNmqD/UqfD+hhaQGc+ 2W6/zuXLqy4HGkyVeuHeMnwga9RFnbcyewHcnmBa4FFPGJU3LV6hV8Q0q0HmQelYzIEl vHihaSap1XxedOtjtOFoUI3rw4Kt8sCKkwLO5mrO5oK1sIVJqYIGEmtruIIHhDBJZX4V 5NdTi0Xa0KlMQ/prWeiGWX2osiS9s/dALrQN7aB1n4nJuRYnJJzVLg/m9jufDmOYAGOE RZRecFsoJxr/FKGgBp70ZdtlTHu2tKSdHYcHkFXoF/M6RFMv5CdJr6YYK90JHWr1gcHB r7cw== 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=a+Opfwdter0fFnpwKLTLbKsWZ4ZisOn+ARcjXSUDvqs=; b=BfNFUwKKdmLhd0/Ako0JqMX3AF4DVeTnF3qY5GX05AB6mqY+UQn8aANGCYb/u3Hz+d Ir3KTBu8AO6delJo4zj7EbGjZoBiLlXwlQjDFLBcpPuYgvW+I4wMhHVfVI4INjM6+Nj5 /dkqZLCC4nj+w/pNFaIDnGms6ibyF4D+78svDudcinhtdAZJdVsAwTCEa+sxGnFIvBu9 hIsqhR0qMyOjZjLC1fdG996orRiTmDiVWYWdXRBs8pulYzhNPZUBxjx4ffnbZ+CH1C+z 24NqAStIOC9+OEQW5Vr4HXPC+q2P+coFV8jMKs8PaQT0eum8x5KtTmIAMUnFQ63EQFgb ZDkw== 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 c13si7001228edq.97.2020.05.04.05.44.31; Mon, 04 May 2020 05:44:31 -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 D66E11D50E; Mon, 4 May 2020 14:43:34 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id D35531D166 for ; Mon, 4 May 2020 14:43:28 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9BAD1200395; Mon, 4 May 2020 14:43:28 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EF48D200383; Mon, 4 May 2020 14:43: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 4134040296; Mon, 4 May 2020 20:43:24 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, ferruh.yigit@intel.com Cc: Hemant Agrawal Date: Mon, 4 May 2020 18:11:17 +0530 Message-Id: <20200504124118.22877-8-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200504124118.22877-1-hemant.agrawal@nxp.com> References: <20200306095742.18080-1-hemant.agrawal@nxp.com> <20200504124118.22877-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 7/8] 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 817e9e0316..fd766a2184 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -898,8 +898,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) { @@ -915,7 +913,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;