From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30079.outbound.protection.outlook.com [40.107.3.79]) by dpdk.org (Postfix) with ESMTP id 33A4CE5D for ; Mon, 12 Mar 2018 10:11:03 +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; bh=G+zqwP4XQGiZslVwZUnih7JeQsYpdjDM5drZmY9ql10=; b=KE+7Pstfwvuy2ZjUw79i5p4kr+biP3TR06On5M5UE8a+lucG7mlPei3wZkAyacPMzhWnrlt80IIA+kdsxBpVikr9sg5h9tK3Ir2v2xAdxb7w5flrCgZ/7sNO6dv0zK/4x/sQCP4vTY5Sy6WmHUJg7YSP9os+R/GdaZGnSms5Tlo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from localhost.localdomain (14.142.187.166) by DB6PR0402MB2773.eurprd04.prod.outlook.com (2603:10a6:4:96::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 09:10:59 +0000 From: Shreyansh Jain To: ferruh.yigit@intel.com Cc: dev@dpdk.org, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, nipun.gupta@nxp.com, Shreyansh Jain Date: Mon, 12 Mar 2018 14:55:40 +0530 Message-Id: <20180312092547.18472-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0098.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::14) To DB6PR0402MB2773.eurprd04.prod.outlook.com (2603:10a6:4:96::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 82ae1384-d459-422a-0822-08d587f92cf0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB6PR0402MB2773; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2773; 3:3YtZ/kEo5534rGpgZgRLcTRtmhsRZyqw3PFyj+WjwaFMSq5T5Ek7rWKGgNBSQ+CAnox1bZXbqdkRnr2jTqLlGMAMNEGw5GadH0CqA5PCpT+gMdsQVu4E0aDlTiX5f8HcIfGOCO7RJ/8N0FBt05k3KTiUjhTyGW1bcsXRuTum5ys5ZYfez51tuTHGK7AM5a0NTsKqGckoCpJT+yzEm168/zJDf9FzwplHWDTun+4pDT4dHSAJV++KBvNHU6v8Z8pP; 25:8n+JNn/YNUB4WCAGr4V17fsDKp991oUK2EUHyu5ZWHHyPfpAY0o5qf3m8q8E+YIf490qMoSuAzAtkmIg1zxvMseHSH3JNnC8dzW6MJBeVIAW+VeDK0pmYN6vvG+6l4SkPSfjaCM4smGTInsq2j//ghq4nbNfx/RUC63UuUxT6PXFo2WCM6yMjUdmpWMSGZveVbyyoK7vb9vf8NVyVrqTkhtErGejcouOgK+6zCM4UG8zZJNoz34FB0jfDk0F3KwrcCBIDFcIgVkN7R8dacSvVi1VhNqozRiucBGKzgOo8oMmBwfXCYvlSD/bRmj74+FTKXSaRl5WWyfDLGd1kw1AIg==; 31:vViEaf7WuWxXqtcbTbo4SPA+BvyZf4zEwOohsC1Vqek8uAv723tvZRBEJSqkA5t+klHoyxCkX5IDIR3ebf50t9N5CmXnTgb7eMMdLeI4aFKUBNZ7zHvrR32BkuZlAkNNzIKfNBFaquyIUnceU/zFFX6bb1SdZ/M6F8zPob2EMCuWkvS8Prb/nW43e2pjxRVSXRudEJx/C2plDiK84Q53RKFjjBR2zGHvRcB+mRnyISY= X-MS-TrafficTypeDiagnostic: DB6PR0402MB2773: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2773; 20:A+FVlR4Hr1SwWV3gp7pTaIz2kseBvCWhVKKjaNVhKSnjyII6J4cNa11BNSIIKjfMfz6z4FNNI2V7EtpBmxrVpmM5ml/dW1hT6CHt4dX/33wiL785xNeGXAX0hEfxbwcuBg2VCAvylWaD+YGk20Ig6BVSo34X2+5J5Amno2l6GXI8JXMrmwmLx/4qSNoS5mgT4aCu30KNFlyhBUec5BrL7aVIFH+jD+ifYhkajzQZ2m8lNzIf8QkU7r0Y+Zj4pMBewrUjc6BxKhnfvBpDI44TLPzT/5T/ofH8AIw3RHeHwflrveJfAgAL0bwv26rCPKUynH8XqdPTlHwKhImHEf5hJ8AEKhM9U1HBPhN4KbMbcZeU5eQi7Pu3Xlx+Ij+jlw/QyBcCzHGEMKU070u7VkiO9CQQ3kpOHkyy4S/JqziDMfbftkX1QbhE5DfYZzIxMOh/rEkGpnIC6d2+IInOlFFZzsl95Ip/0P9NY1JgKoEoxljTtriuhLdvL/MBGTFlO4jl; 4:5V360zbXeZrVc0bg4nFPjutEtE76RG3NAivvfMvdvlFfXiBqKdwaYRmPeo8NBGb+qgmwK1iEKjh24DD5u7O/KgMAtSDWRB+W9CAcXODRVnfpdxCcJWa3SB+gSojvnH4bMxGrGhwHldEEm5u8OdpAcFqdRu6GqhcjdxQAdT9o8gKwC809CXJf6s7YmSCQuGkjugvsPBzlWSzTCmztdpPB4V5uT2rucEXEVSYSUpvqKeXURlPWD4YQtKaOha0YJ0lo9M/cl4qSV3eKdM9aqOMCwC/HFDsOlv7Y4rNqFGdj1BifG8n6uGfo8fXt/twpqhZB 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)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DB6PR0402MB2773; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0402MB2773; X-Forefront-PRVS: 06098A2863 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(39380400002)(39860400002)(376002)(366004)(346002)(189003)(199004)(5660300001)(186003)(16526019)(26005)(47776003)(8676002)(66066001)(8936002)(81156014)(81166006)(6916009)(2906002)(36756003)(2361001)(2351001)(86362001)(6512007)(50226002)(52116002)(51416003)(97736004)(6486002)(25786009)(6116002)(68736007)(4326008)(7736002)(6506007)(386003)(478600001)(305945005)(106356001)(53936002)(50466002)(1076002)(16586007)(3846002)(316002)(105586002)(5009440100003)(48376002)(6666003)(55236004)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0402MB2773; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0402MB2773; 23:Prl5DawWTHtp4n4kNscu0dOtD/x5jYUbNXbj0Nt?= =?us-ascii?Q?jiSBLSr1kzaXzEI1oMm/OYZY298rOzx7PDEUSsmNDiirjnb2ZEx1QJIn5As/?= =?us-ascii?Q?IAfhipk5RH2fxRR151Po4MU2m438Eztf2It7FZ1ptWfscwrCUbtETu5mf4nr?= =?us-ascii?Q?sbaPz5+gVYdJ4W3NSjcbX9JxCL8+lpbz98UGsKm75+Jp9hDirF/sVTgHy0+/?= =?us-ascii?Q?ggZXVv1hf6rWcLp7FG8Lfd/7VZNIv7YwJ86DUhUkdTg+DSY4j05n8hJ73Qwa?= =?us-ascii?Q?bYDc334oJLgC8lliJUSoL8tRLC41ZOyLkNYslClO6GcvMz9dPFCiocIemNl8?= =?us-ascii?Q?+q5DW0ZeeSqsiIo1o5nZW1RLtHFKEGKE+ATmjwoaNUIiABXRK4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ES6VZGPCV9dtsTGsRS846ygHuC025g+YBsSE17s SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 09:10:59.8952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82ae1384-d459-422a-0822-08d587f92cf0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2773 Subject: [dpdk-dev] [PATCH 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, 12 Mar 2018 09:11:03 -0000 DPAA2 devices are enabled by: - bus/fslmc - net/dpaa2 - mempool/dpaa2 - event/dpaa2 and - 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.dpaa2 Eventdev PMD - eventdev.dpaa2 Crypto 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 | 8 - config/defconfig_arm64-dpaa2-linuxapp-gcc | 16 -- doc/guides/cryptodevs/dpaa2_sec.rst | 21 +- doc/guides/eventdevs/dpaa2.rst | 14 +- doc/guides/nics/dpaa2.rst | 44 +-- 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 | 290 ++++++++++---------- 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