From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0070.outbound.protection.outlook.com [104.47.1.70]) by dpdk.org (Postfix) with ESMTP id 176115F65 for ; Mon, 2 Apr 2018 15:51:40 +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; bh=IPMsq7ER7sBY5QHWhdja4hgyCGbC/YMh+lAYbpTuQZc=; b=b38ipTn9Cws318NPwmX+mgydFnw6s2NTCTeUfHsICWv3hKm1DFXvwXd0bksiSFckdMn2MGxMruBY6iWw4AVlzhHIcXZo5Ta+u2M6IWtVRMqqovzLwOuhnpNXsR5iFidqOxzR5JbmCVUMMuNtO1IvsPklJgjC2an86+q9xzDUgBo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from localhost.localdomain (14.142.187.166) by HE1PR0402MB2778.eurprd04.prod.outlook.com (2603:10a6:3:d4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Mon, 2 Apr 2018 13:51:33 +0000 From: Shreyansh Jain To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, akhil.goyal@nxp.com, Shreyansh Jain Date: Mon, 2 Apr 2018 19:35:54 +0530 Message-Id: <20180402140601.21078-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180323120456.16920-1-shreyansh.jain@nxp.com> References: <20180323120456.16920-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: KAWPR01CA0081.jpnprd01.prod.outlook.com (2603:1096:402:c::17) To HE1PR0402MB2778.eurprd04.prod.outlook.com (2603:10a6:3:d4::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a3089553-80aa-46c5-55ce-08d598a0dad5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB2778; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2778; 3:uBnUX3YcUvyPgNNtNBD8eatSd+3qGN2ArODkKV3YQ4YYkO1ObgZ9l67wryAsz3FGV8OkXWfLLOG0WVa5Exhj4Z0KKTWFpubQWoA1un0mPSa6tUkC+V36tyyQdpWKXmiuJtKKsYYPdCmG99c1j8aT7SBjDCGfiD3gjKEv0x2WkonwVXHwvCwq3eznOjsHYoy90+oe2tu1rAiJyzDiksm6bZPz7pgnkJKEIHQhw3fQBCyntOSdm2nFynAKr4YkYX6S; 25:9X5QFbG9vikBIbdH4UPpXzpYuF/awCr07I4t3gd8Y/bDJQqzCdRDmhbEHvC1gf1wHFaYcc5JTJytH4Vqt3UxsXZlB2VwunDm7joCKzoQRfG8AIutb4OlPGJGIZPpnJIVnBheIXdJYpr1eCbYhex015vECVurZMpbbwHZ/re7D0W8muftNZ+2m6EeqYaEmTAkPjmSde7EwvxPSJYM0icisVtotKpT6FXQYde2Cx1njGK+iJHhRtikZhkIZKAkOnR50ClNX9MCQE0yLAKHpQ0YjeoHrowXny12ATtRakUHZ9SX1q+7hqvJiFmdBCBiOrSl8urdbWkz5epCiODzfK3MXg==; 31:aL4FjtPTu4aIomXwW2UBIrKJILa3QVlf95R+H6+w4SL0TFT7FVYYTvSnCynweveaIM+cPzx3pq/cgZsr9Mbi3N+RfWNpKi62Y0F5Wza1v3Uf5ydcbV+kKS/+nQ1AMTicEP51RSM8OPdcbqIeJfV/6wP59kG/yz95gYQJQ5GBsv0qVija5ikL1hTp9o7dm2i/CZQURg8/ZzS65Z/tytbydwmcA5G/wVgxlNvkAFJCz8k= X-MS-TrafficTypeDiagnostic: HE1PR0402MB2778: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2778; 20:dHBoGYsEBcWXfKD88Xmk6jYXZFGs+MQwkhlSM9JhCChdALySTmipAxDS3i/vlwnVkijvRRu3Z1ybFN49PYRCRGSCLIvoBhYC+ad8hANKO9pnPbK5WAoOquan1u9LOPnhxH1xkFvud6143nqy8if1EGxAsjgmbaVBUdkLEtfA8cK5EwTjsb/4H3rLZ66lViod3Y3XShczGhlvn7wNkVOlmcB9Scqz/2gtdyrOyYpIioJl8jDNzYRS/0AhaCFGYsT6P85Q78pmF+wtMm9MS1+KZWW6U8Tf2AJICkEe0AHsdPd5YylsXoU4ITgcC0g3rfPPkEcY4FP8T3DazMXpYDGpoNPPlVTXToqShho8fHT7JSDnEc2JBlD1wt/nlH4PC2LtmkJLku2t/J5hR8YXuRw0RXvxKCa+6W0E/PjsMMbW163ZCqJmLNwZTO4trd8NoJXNzXmapel6oGC37UC+Rp3jOJcd+C3QrcMNM6D/GERyWp5EJJwbE77C5uSkb+ZbiE59; 4:L0h3eCXHXYh82FxQj28wMnT1XOF06wdNGRCn1wPIhc0FwoihZE2Z2FjQ2MwPZWpBZWX0EWmkmVX+9jeU99fvfZhZ3Uftc/LRP2GjFosVXG8NQLtm8+tP/MiofI0Le2hsbb53e3uwFdwhEMJMRo3o9IxX+4yZx5CRXvzbgkOEUHGkc2KO1fBWsg4fD3CY2ZcMPeYpzICpP8jclMVGwkVkdQPFE3I0KeW6Nory3VPlQ97wSsjWnDQRb5NlBRmhknWWYLLUmKxDPKQIlp4mV2cnBTLP51SoALLfHe8x1P+U6dY4qsBwWlG4DOU46Zkg8iyD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231221)(944501327)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR0402MB2778; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB2778; X-Forefront-PRVS: 0630013541 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39860400002)(366004)(376002)(39380400002)(396003)(346002)(199004)(189003)(6486002)(8936002)(6666003)(11346002)(2906002)(8676002)(52116002)(6506007)(106356001)(2351001)(36756003)(5009440100003)(16586007)(105586002)(66066001)(86362001)(386003)(81156014)(81166006)(446003)(50226002)(2361001)(4326008)(6916009)(2616005)(305945005)(68736007)(486005)(4743002)(5660300001)(6512007)(6116002)(55236004)(97736004)(3846002)(47776003)(50466002)(51416003)(25786009)(476003)(486005)(478600001)(76176011)(16526019)(26005)(956004)(48376002)(7736002)(1076002)(316002)(186003)(53936002)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2778; H:localhost.localdomain; 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-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0402MB2778; 23:GMTkOK4yxP+jd1/qj6DKLE1yQ60cVXTarqRBzlT?= =?us-ascii?Q?xaL91f9W9TeZnbxTX1Rj7AXwKmH/8jkd/043H55JSYhXJeqxVOhQNtLqhOrD?= =?us-ascii?Q?0Fw1eUAQqAKjzSQdJo+f9riJlx85DoKD6HL6kXuF3xn8YPglZQvrTS8s0T2Q?= =?us-ascii?Q?Wc53Jjsb8whn9bfQnUUJop1cwtMZtZb+foRs3umUdzzi0rwvfkQXHsiezIeM?= =?us-ascii?Q?LCOlpRU5jkdhvY+/Q1HIeNURE/z8GPwg/rAMCiDFQO+lUR51vGtr7BgMFtoG?= =?us-ascii?Q?L1Vlzv+nrV50MRBm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QPsWZp8YSlkWYrUxWSsvgYapKuNYtYGlMlZ+/z0jGBYfoXCW/Bp9Rj6IkEX/Q3n/xz4EP7WQ=; 24:UE30LAzzh27uGQcnf+mNCOL9sJLZiBX76EKR4vC7u2pUMA1MCnA643Tc28u21j1wwanoPx6AF382D38NBStsQLHt/sTnE2qFXTFpahxXkwQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2778; 7:+pUxF/ylMR/SYTVu4Clnos/QKLbjEPjzcVdLatSldUXDP59UBeG1xyX1EKxDhwYzTkbDw8XNKnaWJVd6jhb5kLk3VKZhM/DmmXExap45qNDgh3F8K+Fj74MkrDyAPrf/kW2LtNc0wb2IB6fbXlMRkUUqXFGkpI9ptJ3SRZCRmS6LBfciOq5uxvk8U3aI6qqlhCWoADWeNgCdoXKZMxJvwN/t+NT/XKFmRQtu12uT9NjLqz0OKahO6DMo7MXuqOUC X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2018 13:51:33.4521 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3089553-80aa-46c5-55ce-08d598a0dad5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2778 Subject: [dpdk-dev] [PATCH v4 0/7] Change DPAA2 to dynamic logging 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: , X-List-Received-Date: Mon, 02 Apr 2018 13:51:40 -0000 ::History:: v4: - move CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER to common_base - rebase over master (db2ed70bbb) v3: - Fixed review comments - one debug macro un-removed (CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER) which is continued to be used by dpaa2 mempool driver v2: - Fixed dynamic log identifier names (Ferruh) - Added dependency information in cover letter (Hemant) - Fixed some checkpatch issues - Updated some log messages ::Dependency:: This patchset is dependent on: master (acaa9ee991b) ::Introduction:: DPAA2 devices are enabled by following modules: - bus/fslmc - net/dpaa2 - mempool/dpaa2 - event/dpaa2 - crypto/dpaa2_sec This patch series converts the existing static debugging macros - for control and datapath, both - into dynamic logging macros. Identified for logs are: FSLMC bus - bus.fslmc Mempool Driver - mempool.dpaa2 Ethernet PMD - pmd.net.dpaa2 Eventdev PMD - pmd.event.dpaa2 Crypto PMD - pmd.crypto.dpaa2 This patchset also removed the old unused macros (unsed post dynamic logging change) for debugging from config and documentation. Shreyansh Jain (7): bus/fslmc: change to dynamic logging mempool/dpaa2: change to dynamic logging net/dpaa2: change into dynamic logging event/dpaa2: change to dynamic logging bus/fslmc: remove unused debug macros crypto/dpaa2_sec: fix incorrect debugging prints crypto/dpaa2_sec: change to dynamic logging config/common_base | 7 - config/defconfig_arm64-dpaa2-linuxapp-gcc | 15 -- doc/guides/cryptodevs/dpaa2_sec.rst | 21 +- doc/guides/eventdevs/dpaa2.rst | 14 +- doc/guides/nics/dpaa2.rst | 42 +-- drivers/bus/fslmc/Makefile | 5 - drivers/bus/fslmc/fslmc_bus.c | 64 +++-- drivers/bus/fslmc/fslmc_logs.h | 69 +++-- drivers/bus/fslmc/fslmc_vfio.c | 151 +++++------ drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 12 +- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 22 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 101 ++++--- drivers/crypto/dpaa2_sec/Makefile | 5 - drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 370 +++++++++++++------------- drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 62 +++-- drivers/event/dpaa2/dpaa2_eventdev.c | 49 ++-- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 10 +- drivers/event/dpaa2/dpaa2_hw_dpcon.c | 15 +- drivers/mempool/dpaa2/Makefile | 6 - drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 60 +++-- drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h | 38 +++ drivers/net/dpaa2/Makefile | 6 - drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 30 +-- drivers/net/dpaa2/dpaa2_ethdev.c | 294 ++++++++++---------- drivers/net/dpaa2/dpaa2_pmd_logs.h | 41 +++ drivers/net/dpaa2/dpaa2_rxtx.c | 59 ++-- 26 files changed, 832 insertions(+), 736 deletions(-) create mode 100644 drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h create mode 100644 drivers/net/dpaa2/dpaa2_pmd_logs.h -- 2.14.1