From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0F8F4A0679 for ; Thu, 4 Apr 2019 13:05:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1D661B20B; Thu, 4 Apr 2019 13:04:37 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150044.outbound.protection.outlook.com [40.107.15.44]) by dpdk.org (Postfix) with ESMTP id 2D63D1B1D6 for ; Thu, 4 Apr 2019 13:04:28 +0200 (CEST) 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=4blpbpeN4gKgz34zi4opeZg8VSXnbdF/YKsymUyQbOc=; b=EEHgcDbcLgBaMy7/WMKI3Hj1xxXH5hPptMEgsNgCGou6Zly/yGKRqCW90Ho0om+Z3hYnk4b0k/jL1OXXRLpBKc3CnMscMvp7xMQEgfFWNoMpyPuCvOE2lqDEEv5wm2Z8eV0581xZb3C7PjUuSInhafOFCPpssrtnUrryPBrrZRU= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2543.eurprd04.prod.outlook.com (10.168.65.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.19; Thu, 4 Apr 2019 11:04:26 +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.1750.017; Thu, 4 Apr 2019 11:04:26 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "thomas@monjalon.net" , Shreyansh Jain , Nipun Gupta Thread-Topic: [PATCH v2 6/7] raw/dpaa2x: remove rte logs from data path Thread-Index: AQHU6tYrchd/Nu13WE2aRJqFyBacAA== Date: Thu, 4 Apr 2019 11:04:26 +0000 Message-ID: <20190404110215.14410-6-hemant.agrawal@nxp.com> References: <20190326121610.28024-1-hemant.agrawal@nxp.com> <20190404110215.14410-1-hemant.agrawal@nxp.com> In-Reply-To: <20190404110215.14410-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: BMXPR01CA0041.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::27) 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: 3e7b2bb5-f6bf-496e-71ff-08d6b8ed4d53 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR0401MB2543; x-ms-traffictypediagnostic: VI1PR0401MB2543: x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(396003)(366004)(39860400002)(199004)(189003)(6916009)(6486002)(53936002)(50226002)(2906002)(8936002)(2616005)(86362001)(54906003)(7736002)(11346002)(44832011)(486006)(316002)(8676002)(6512007)(446003)(1076003)(66066001)(5640700003)(99286004)(3846002)(6116002)(478600001)(386003)(5660300002)(26005)(81166006)(25786009)(1730700003)(76176011)(68736007)(102836004)(476003)(14454004)(4326008)(71200400001)(105586002)(81156014)(97736004)(256004)(2501003)(186003)(2351001)(106356001)(6436002)(305945005)(71190400001)(52116002)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2543; 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: g1s2p1WlaMG72ll2N0PtmN57BUx+QAZU4McFsZ5CCUVmuTiqbdG8o0z0b8eAiIXbG8SzO2ctAN6A2DXHQmr4Yw70Igkq8lg3wILCBR3I2ilXvh+InU6ILampIup4D4ke81GmoNw3YXH4GcIou5zKNk5UDBRY7OJTSCZ4ZrBk2Z1x6zuxJB58L7Z67uDFUwCorPv/bA/JIm9+Sw2bf9XRntMojWaLTHJinPTxiXa85pddVw3hdkdLfnOnsr08NSQAzo9SIDhPmXnrrj1FW70nd1XCU485eOKXpDgGKyjGObI8OBcQixNWvvrgYSKWNDvcGizyjSDehcmpgzrPImu5YEyHKw7R2tSZFk+iRB/CLE5PwIuLQB80onBB7tpl2CJeG8JhuNPpAxMQZedVRN205vU5W+y+GNZONmbs/J0Heo8= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e7b2bb5-f6bf-496e-71ff-08d6b8ed4d53 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 11:04:26.7341 (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: VI1PR0401MB2543 Subject: [dpdk-dev] [PATCH v2 6/7] 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" Message-ID: <20190404110426.9tWWbJMaRxgsrKriuDretCYktUPQ6Zf-usAMAC2KuGI@z> 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(-) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdi= f/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; =20 - DPAA2_CMDIF_FUNC_TRACE(); - RTE_SET_USED(count); =20 if (unlikely(!DPAA2_PER_LCORE_DPIO)) { @@ -128,8 +126,6 @@ dpaa2_cmdif_dequeue_bufs(struct rte_rawdev *dev, uint8_t status; int ret; =20 - DPAA2_CMDIF_FUNC_TRACE(); - RTE_SET_USED(count); =20 if (unlikely(!DPAA2_PER_LCORE_DPIO)) { diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/d= paa2_qdma.c index cf1a1aaa6..38f329a50 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -376,8 +376,6 @@ dpaa2_qdma_populate_fle(struct qbman_fle *fle, { struct qdma_sdd *sdd; =20 - DPAA2_QDMA_FUNC_TRACE(); - sdd =3D (struct qdma_sdd *)((uint8_t *)(fle) + (DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle))); =20 @@ -555,8 +553,6 @@ rte_qdma_vq_enqueue_multi(uint16_t vq_id, struct dpaa2_dpdmai_dev *dpdmai_dev =3D qdma_pq->dpdmai_dev; int ret; =20 - DPAA2_QDMA_FUNC_TRACE(); - /* Return error in case of wrong lcore_id */ if (rte_lcore_id() !=3D qdma_vq->lcore_id) { DPAA2_QDMA_ERR("QDMA enqueue for vqid %d on wrong core", @@ -630,8 +626,6 @@ dpdmai_dev_dequeue_multijob(struct dpaa2_dpdmai_dev *dp= dmai_dev, uint16_t vqid; int ret, next_pull =3D nb_jobs, num_pulled =3D 0; =20 - DPAA2_QDMA_FUNC_TRACE(); - if (unlikely(!DPAA2_PER_LCORE_DPIO)) { ret =3D dpaa2_affine_qbman_swp(); if (ret) { @@ -801,8 +795,6 @@ rte_qdma_vq_stats(uint16_t vq_id, { struct qdma_virt_queue *qdma_vq =3D &qdma_vqs[vq_id]; =20 - DPAA2_QDMA_FUNC_TRACE(); - if (qdma_vq->in_use) { vq_status->exclusive_hw_queue =3D qdma_vq->exclusive_hw_queue; vq_status->lcore_id =3D qdma_vq->lcore_id; diff --git a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h b/drivers/raw/dpaa= 2_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. */ =20 -int __rte_experimental +int rte_qdma_vq_destroy_rbp(uint16_t vq_id); /** * Stop QDMA device. --=20 2.17.1