From patchwork Thu Aug 29 10:27:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Saxena X-Patchwork-Id: 172562 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp2029779ily; Thu, 29 Aug 2019 03:43:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrXdP2qbEWcAkewnbR01HoEymfim02EhY8NkKjquRQMGQ2CShlcsGkH8tZ+UwnQrg2nhCD X-Received: by 2002:a50:fb90:: with SMTP id e16mr8799430edq.16.1567075406449; Thu, 29 Aug 2019 03:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567075406; cv=none; d=google.com; s=arc-20160816; b=qOdnW1pmoQm7EKEmmF9cKfpymu3uYshbp28VC6ej4i4l6xlwZuuePeC0mtmaxT7cEB +65ncWTqGpgPvHeXgOfvM8eCUrD2knxi99HYZAXpkATSQFLGenbaqOCZ2bZh4zTme7df P0m8ifjk70dG7emI8STw9rBJ/tVxxprRmEuuq6TSMFggpEW/VEQuRcIAdBqeG8gaQcIZ Vg0CNle29h8M5+7hL6I/uPQ6gvf8K525Zv99StwMdPjl2N/TJp80mHvMK+eP/aRMrQjp vZVVfzSiq3Jvx9LNdafIfbktR1zLkpVgiI9+Uw0yoFy19B0D2pZmQXKa+yIAXiaItqfx N9+A== 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=ZH0guvbJmdt4+lRpfBvZPKeowQbSy2IBOEK5flp/AUWmhV5WiRIo4UrluVPOXAOlqJ NJGTq8MSPfDNNLx3qvYwpxP7G+FQbQ+shVdnQ46ppyAERMhS75Lgn2xc124BRDZtSbPZ pSiTURn0nLcMEOTgZEBsVraYISaXSXubHZSD4sdv/7PWiR+tyDbu9vr8olIslTdnnp/r dxRROfaTApVMAqcjp3niyyepPrbAcm8CBRZqIMMkpWrdDQyFZTN6fvuD57h+mVjjoVVJ E/FoAcmC/yCNC4hqVAqo22AEfexGx0C4v0iiVvRaZNyV1qaRchjCnJJ83qTAsHv7D19n +wSA== 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 y12si989218edd.87.2019.08.29.03.43.26; Thu, 29 Aug 2019 03:43:26 -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 1EABD1E53E; Thu, 29 Aug 2019 12:42:18 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 6EF401D446 for ; Thu, 29 Aug 2019 12:41:51 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 505AE20033A; Thu, 29 Aug 2019 12:41:51 +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 4E298200322; Thu, 29 Aug 2019 12:41:49 +0200 (CEST) Received: from GDB1.ap.freescale.net (GDB1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4364C402DE; Thu, 29 Aug 2019 18:41:46 +0800 (SGT) From: Sachin Saxena To: dev@dpdk.org Cc: thomas@monjalon.net, Hemant Agrawal Date: Thu, 29 Aug 2019 15:57:18 +0530 Message-Id: <20190829102737.13267-12-sachin.saxena@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190829102737.13267-1-sachin.saxena@nxp.com> References: <20190827070730.11206-1-sachin.saxena@nxp.com> <20190829102737.13267-1-sachin.saxena@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 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 */