From patchwork Tue Aug 27 07:07:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Saxena X-Patchwork-Id: 172259 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5397689ily; Tue, 27 Aug 2019 00:10:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9ZSbzZ6OdPTbymkZvtewvnZpT9+bWAu1ycFbj1q7+sNuNdOcYwRBRvuxxeYE8QXcB8VE6 X-Received: by 2002:a17:906:3fc7:: with SMTP id k7mr20401877ejj.208.1566889859632; Tue, 27 Aug 2019 00:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566889859; cv=none; d=google.com; s=arc-20160816; b=ih86MlINnF0ffojf3oba6mZp2sOEjnQAe/Qat40kJ/gDS8TZqWB8Z+pbZSCywWoQK7 LicpnTTRvnbDPNz5qbvEgNsAKwc00C+3Lo9a2Eo29TjZsV0erj0GoLRnE6QL8BcKWia1 EOPupTP37ejaVLBG955ZYiVwF/GuyROHZ49YxLU12jDx+iaGfcXnEb2EwYJqkmPLwmxY I9Yl8Rm0h5+aTcMHn6AL/dDr7CFSqUlYoDZpiNRtrQ4hM4ltgGybhk8TWvFUZ2CTWrd6 wBG8wL0Xjzea2xBHkbMy3m7p5HkqJLa9XCeOeA4NIBy9aCceVCs+b+ur9/oQcMky7ZXI Tj6w== 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=y5ZuhV8wtmrGASDSrDF/US3Yp+7uGiPFJQgBDsCz56Y=; b=XzXKW/HDXfsOQSbIiboePco/kgN3zeV7RiCVi0he9Awr47fNpJpXfZCHZ5MC39Iy7d A/HjwskHNorJXdgg2tXMzO703Xzc1mR62mFR48L9zV8EN8O7gMMPYqZThKfehRqrFwUD lXvR/LxpS6j0hpWeyNmnblawRfs1JnF7DSw5LdPLudO68IL0CGVWeeuf3JZNi7mIK2i6 53lfU01crFIae6OaW1nKp0adegmR4vxF31q2WaHbV7Qn7WF+E+aS0iNpwGZS8c1LDyoK RcIdk0QMx7vR3gdUZpM8iTes+qNjJ2/mXnWudWFLUqSyhGDXUWTYj7KSPxoOw9b0GN+m VV/A== 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 x8si8329164edm.247.2019.08.27.00.10.59; Tue, 27 Aug 2019 00:10:59 -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 2BBB31C0C3; Tue, 27 Aug 2019 09:09:45 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id E724A1BFA8 for ; Tue, 27 Aug 2019 09:09:21 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C9F172005CD; Tue, 27 Aug 2019 09:09:21 +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 C73762005C5; Tue, 27 Aug 2019 09:09:19 +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 402CA402E7; Tue, 27 Aug 2019 15:09:16 +0800 (SGT) From: Sachin Saxena To: dev@dpdk.org Cc: thomas@monjalon.net, Hemant Agrawal Date: Tue, 27 Aug 2019 12:37:11 +0530 Message-Id: <20190827070730.11206-12-sachin.saxena@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190827070730.11206-1-sachin.saxena@nxp.com> References: <20190827070730.11206-1-sachin.saxena@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v1 11/30] mempool/dpaa: reduce debug messages 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" From: Hemant Agrawal Signed-off-by: Hemant Agrawal Reviewed-by: Sachin Saxena --- drivers/mempool/dpaa/dpaa_mempool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c index c371d3a6b..a25697f05 100644 --- a/drivers/mempool/dpaa/dpaa_mempool.c +++ b/drivers/mempool/dpaa/dpaa_mempool.c @@ -298,8 +298,6 @@ dpaa_populate(struct rte_mempool *mp, unsigned int max_objs, struct dpaa_bp_info *bp_info; unsigned int total_elt_sz; - MEMPOOL_INIT_FUNC_TRACE(); - if (!mp || !mp->pool_data) { DPAA_MEMPOOL_ERR("Invalid mempool provided\n"); return 0; @@ -311,7 +309,7 @@ dpaa_populate(struct rte_mempool *mp, unsigned int max_objs, bp_info = DPAA_MEMPOOL_TO_POOL_INFO(mp); total_elt_sz = mp->header_size + mp->elt_size + mp->trailer_size; - DPAA_MEMPOOL_DEBUG("Req size %" PRIx64 " vs Available %u\n", + DPAA_MEMPOOL_DPDEBUG("Req size %" PRIx64 " vs Available %u\n", (uint64_t)len, total_elt_sz * mp->size); /* Detect pool area has sufficient space for elements in this memzone */