From patchwork Tue Mar 26 12:18:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 161217 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp5143948jan; Tue, 26 Mar 2019 05:18:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqybKDUYVG8TtFwye6xTNag0uZ6g94ntrDYjILE6hfD2gIvZwbckZLL1JSvwigiVbNg6PI1Q X-Received: by 2002:a50:ad72:: with SMTP id z47mr20140169edc.270.1553602728359; Tue, 26 Mar 2019 05:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553602728; cv=none; d=google.com; s=arc-20160816; b=iKPKRsCH+Kv27ild9kJI0diEZTQu2F3jPkUCMthmUizzZJm9ky2aYjWqdHEIU/NceR MlSPfkuURbJfMY3Bbg7VWfeZ46BMbBHFf2WZ0ervByMez3XvxFEgtNGSu0dF5YaUdgUN GLwreWrd1dUf5eL0v3R/VeZfaAgIJfR8DXWkUJeGsaWi8mHNahuKmB8mK8V8srHMbbe1 YihCOqm0R0jSPBXppT0ImgUTzbTW+wPtVpPquzIuCf8AfdddZqaITiEmCjlsNQVFfhVb wcsO+V8zeFLXXuswCgNjvTLrQviuB8Te4ho1e2fI4tIZQcDKEactGtijTirrBNcUoMuX 0e3g== 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:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic:cc :to:from:dkim-signature; bh=x9Y9pC+JJh2FigZvmplzaNB2fLzZeNRUfq2rfe3U4/Y=; b=g/VY+418upZWPzSQ/KN/iwiuvUF68cTM60xDw/XD+JzeOd5kBqJZqxX8/PD3T3kbsM Hv62ryQ1IbSPs2zWqLmOaMoQ1cRIAa6CW/pQjb5D+G8DTc7OYWoGLI3xB5g2VnOtpHLX yCT216BmWhV7mDNjlydAC4dAZ/0bxr2/Mrz7R2lPcVOzkpht3KeqGhzvtAU0EqICTyJO TOopdCaXTy7VB1Jem3kkNy1cNE1WdfIG6g1FOJcJmSjWLFC9o6eb/laUjCK9T5qYm9/u TblS5/cGXG5XgtaiB6OQtq+6GJ2r1NzETZo2jrTBXlni7JsPlOh8m6tL/4Q8Js+ft287 rCUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=ALu1PFJB; 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 g7si87645ejp.74.2019.03.26.05.18.48; Tue, 26 Mar 2019 05:18:48 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=ALu1PFJB; 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 092E94CE4; Tue, 26 Mar 2019 13:18:19 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80083.outbound.protection.outlook.com [40.107.8.83]) by dpdk.org (Postfix) with ESMTP id BA31B4CAB for ; Tue, 26 Mar 2019 13:18:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x9Y9pC+JJh2FigZvmplzaNB2fLzZeNRUfq2rfe3U4/Y=; b=ALu1PFJBeznaoMhpT9WykuHb2AJaF2yB5o8JxICGr/zOQxHjPmOKy1HKl4s+NU6a9iqlslxYmDW4AkK7w0psfTxZ4cP7Cw534DB420/H+ENDvn9sH5kW7HzWTwtAFhKs6aYXKFYt9wGlo1wsOtqEPgA5iZSujmSgk71WxmiiQIM= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2575.eurprd04.prod.outlook.com (10.168.65.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.16; Tue, 26 Mar 2019 12:18:11 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::18e3:39b6:c61d:3f18%12]) with mapi id 15.20.1730.019; Tue, 26 Mar 2019 12:18:11 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: Shreyansh Jain , Nipun Gupta Thread-Topic: [PATCH 5/5] raw/dpaa2x: remove rte logs from data path Thread-Index: AQHU48347U9V8C/Bbk+bClyr5+PbNQ== Date: Tue, 26 Mar 2019 12:18:08 +0000 Message-ID: <20190326121610.28024-5-hemant.agrawal@nxp.com> References: <20190326121610.28024-1-hemant.agrawal@nxp.com> In-Reply-To: <20190326121610.28024-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.120.1.72] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR0101CA0069.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::31) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cd24dfb2-63db-47e2-509b-08d6b1e51b30 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2575; x-ms-traffictypediagnostic: VI1PR0401MB2575: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(136003)(346002)(39860400002)(376002)(199004)(189003)(186003)(36756003)(44832011)(53936002)(4326008)(76176011)(71190400001)(11346002)(71200400001)(476003)(6436002)(2616005)(5640700003)(486006)(2501003)(6666004)(446003)(6486002)(25786009)(14454004)(99286004)(256004)(2351001)(2906002)(105586002)(86362001)(5660300002)(106356001)(81166006)(7736002)(1730700003)(1076003)(3846002)(97736004)(81156014)(52116002)(54906003)(66066001)(6116002)(68736007)(6506007)(386003)(478600001)(26005)(316002)(6916009)(6512007)(50226002)(8936002)(8676002)(102836004)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2575; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: l6Rvbyz7lv/MxiKaagzWR48diFRkCdd47tdxkgCiWGexKopTH3t//HwR0zgJXWI2w0FUjOMHHqjAZeHVWiMWhChZg+LS1H6wWeimjw825wp6KfUsI5imN2PqtPYH/E+IeoGym6Miuvg8BeWIW2frieqdtnFRPHyu4svRbggDvTdnGdOIE5qDIYE5KDluvWu3a3bTMzX20NWQw/zsjiJsyTNVPsFK+WaqmCIf5tNCuC/EoO6kDW6xDoSMgPcRQYyUuD4uq1LVdikwsTSrkBUb6wOrTrUwoxN6Th/kzDfZ7YYAGpc8lbohOqEbLEMfxEbYVDbE67n7w0sFLKnIZ94pZKbW6Elh1MXLUk84NlBMdWaSJEJowPUj7ht5hX4Jf4etMJdF2wZF6moSja5h9u7QY11+j56JltK4yLR3vf28KWc= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd24dfb2-63db-47e2-509b-08d6b1e51b30 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 12:18:08.4594 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2575 Subject: [dpdk-dev] [PATCH 5/5] raw/dpaa2x: remove rte logs from data path 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: Nipun Gupta The runtime traces shall not be present in datapath Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 4 ---- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 8 -------- drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) -- 2.17.1 diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 469960a3e..7d311b2ee 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c @@ -67,8 +67,6 @@ dpaa2_cmdif_enqueue_bufs(struct rte_rawdev *dev, struct qbman_swp *swp; int ret; - DPAA2_CMDIF_FUNC_TRACE(); - RTE_SET_USED(count); if (unlikely(!DPAA2_PER_LCORE_DPIO)) { @@ -128,8 +126,6 @@ dpaa2_cmdif_dequeue_bufs(struct rte_rawdev *dev, uint8_t status; int ret; - DPAA2_CMDIF_FUNC_TRACE(); - RTE_SET_USED(count); if (unlikely(!DPAA2_PER_LCORE_DPIO)) { diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index 7c547d55f..215396933 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -378,8 +378,6 @@ dpaa2_qdma_populate_fle(struct qbman_fle *fle, { struct qdma_sdd *sdd; - DPAA2_QDMA_FUNC_TRACE(); - sdd = (struct qdma_sdd *)((uint8_t *)(fle) + (DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle))); @@ -557,8 +555,6 @@ rte_qdma_vq_enqueue_multi(uint16_t vq_id, struct dpaa2_dpdmai_dev *dpdmai_dev = qdma_pq->dpdmai_dev; int ret; - DPAA2_QDMA_FUNC_TRACE(); - /* Return error in case of wrong lcore_id */ if (rte_lcore_id() != qdma_vq->lcore_id) { DPAA2_QDMA_ERR("QDMA enqueue for vqid %d on wrong core", @@ -632,8 +628,6 @@ dpdmai_dev_dequeue_multijob(struct dpaa2_dpdmai_dev *dpdmai_dev, uint16_t vqid; int ret, next_pull = nb_jobs, num_pulled = 0; - DPAA2_QDMA_FUNC_TRACE(); - if (unlikely(!DPAA2_PER_LCORE_DPIO)) { ret = dpaa2_affine_qbman_swp(); if (ret) { @@ -803,8 +797,6 @@ rte_qdma_vq_stats(uint16_t vq_id, { struct qdma_virt_queue *qdma_vq = &qdma_vqs[vq_id]; - DPAA2_QDMA_FUNC_TRACE(); - if (qdma_vq->in_use) { vq_status->exclusive_hw_queue = qdma_vq->exclusive_hw_queue; vq_status->lcore_id = qdma_vq->lcore_id; diff --git a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h b/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h index bbc66a286..ce491d5d4 100644 --- a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h +++ b/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h @@ -329,7 +329,7 @@ rte_qdma_vq_destroy(uint16_t vq_id); * - <0: Error code. */ -int __rte_experimental +int rte_qdma_vq_destroy_rbp(uint16_t vq_id); /** * Stop QDMA device.