From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40052.outbound.protection.outlook.com [40.107.4.52]) by dpdk.org (Postfix) with ESMTP id 6595D5F18 for ; Fri, 23 Mar 2018 12:50:39 +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=3JL99noceba0ft8LXUX5J+Fbe7qZq8LKvZu/lY+hDws=; b=uEgiUmVgXCdtIsRZBDLE0B6OPA1laedwO4x6bx6xrLOcy9YZk47v/JTL4qg6i5d8OpGjMkZipf2R9Z80V2p7BHcQoKuq1cgRCGIvuXkhq5DaI77D9mm4yTbVopZ6DKF0eWY/VuskdCHhmAcokYWa2ESRdixSyyOV5OB+K/FSz6U= 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.588.14; Fri, 23 Mar 2018 11:50:32 +0000 From: Shreyansh Jain To: dev@dpdk.org Cc: ferruh.yigit@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, akhil.goyal@nxp.com, Shreyansh Jain Date: Fri, 23 Mar 2018 17:34:49 +0530 Message-Id: <20180323120456.16920-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180313054431.19556-1-shreyansh.jain@nxp.com> References: <20180313054431.19556-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0016.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::26) 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: 08e49de9-8533-4d29-dca8-08d590b44984 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:Kwv0DH5fBp2r3XQHAGrwbU97cw9RFw/CRYZ4j9dqwxtQXcwYy9roGWir5pf9+oVVPNPI4qOluM2wlCiyHZ4+o3Oo668Pq9zOgxLGGkvSrW1jof+x3FkReLtdOn2dBUxtlGq95Vkp1i1I3E3efedj5u0OKlYTAYLfGtQj/1LGEQzWGDaYhN/+cOOsiS/LyGnQqzmIP0YqeJN91Jt6y5ZGAT4vJGVK9mjZFYNVG6j5mRqhZBoPgZtd8xWm7v0xAKVn; 25:QHiLDrwNP5xu5Zf/CN7W+kq26T3+xoIQGQmEhFoHY+bdX2ms6l55JFj8DTjZCVsggcJuyEwrjaClo+Tw1CsQcht2z2lGHPeUYJlk3ZmTqdyO7qN+5NQ1/rChbc0y4M2pNgJnDzBYbBW92dvZI5d72yh3n9MJHKeZPU86nDR2Kr3Ah23AqLHQCi2UIPnnHKL6UaIxrmDHyjRbWiBf8bU2A2VO4vCJVcApskCmHjLpL+oYx4OrwnDTKekXp6gqYtuZfurhV/f6O/UDeQqCQKeEe0LG86i4KC+IcuCG39d22/35knWOn4e7R0JJGDLv7K5eZa80HzEgSShuUqsXcpO7zw==; 31:n3gYsp1l3ocVVnh385VPdlhSQ4IzVOwmNvtmqNcHZvxCPPQkZsUMTJtoXICAa0ykLrQS83mfdR2n29jUDErbD6Lj6NWOTwLwwYukWGymz4Ln2lK9O08vKqbB+I36C1g/jX1wtZZbppbU5VeIEHJo5DSGUi8TH+Cbo0QhdNu738G76BTJD99sFRCYp/twIhW/FlUYsFDTA3YkaUSDDmpDpNk3hQB0c2PbkUM3lUJdsCw= X-MS-TrafficTypeDiagnostic: HE1PR0402MB2778: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2778; 20:2Q/2Ap4pym8182I4b2tSpMgOpncRicaIfKjxc06d/CiouNxPJHNJKpv1ubI+gn+oQkfEllzIWwU7LcSuJiIX9DGEf6iNJ0bOZJgBm4Y/to0mi+F2j3spnxKoyN7gc0/H6F/sGsYnZWhRZUlMGNik3mf/KxOjgCdZv+ogXGLSMNCxLLMi+Nw2wrt/zPv5UV0LU9T30Pwo85lP3/Rbf6WwS+Ef/T9kue64kA2qGzkWapO6GZzOfZuhcM/8+Z8HlNCXbJm/zaHVk7vGm++aFKrRi+PRQeQEXy427favCgB47gLfCeNtTgbk05bSPPnioX8hcTPTwmntsq5QUrQNjdKQpoKQCRsIoLrzVhdzgumjy+DBT3IaOd4Z54aSDZSOgUe2UikVkAxm/QXEfGKVOWt07YiLjCaULiy4btzDnXmQV2S6X9KQPqkVromY6JTe7+YohYtHgJNfeaINbOsviSLnGpdRvc9VmED6EZUJe+SWKkIniww5oSgD4Ba0m+R6jlw/; 4:Olw7E8BEuL8JbIh7fVtFcELKhKfG/f6+bjcABZ6OR9bIFYVOaIZB4v13QoZuNrFy2VtMT9abmN3fQVKNaoW0HBqxIZBzzLJzZp/DA9hfSZXaMVAUsQTJqTj5ZPzxDgoTFTKfUft1RCTQiYQXxfybtAXic2RV0enlV8aO30mbmiXD1Kyee/lcZ2RETquwqYN+JfuOf4YfSd3hLRyG0vFVM5A1UEb+MZtNF6RET43HCIifI+0wMRn2vQr+Qx0zzzlg5EOEz5nZPItxm4pOgOtOZaK7+DRoXv1/Zq16mp8ZjMNg/zo7YzABxjmjOpIqdPN/ 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)(3231221)(944501327)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR0402MB2778; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB2778; X-Forefront-PRVS: 0620CADDF3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(396003)(376002)(39380400002)(39860400002)(366004)(189003)(199004)(6666003)(105586002)(50226002)(52116002)(25786009)(97736004)(316002)(2361001)(6512007)(51416003)(2351001)(86362001)(6916009)(6486002)(2906002)(16586007)(26005)(3846002)(68736007)(11346002)(106356001)(4326008)(1076002)(5660300001)(6116002)(16526019)(6506007)(386003)(186003)(446003)(36756003)(7736002)(478600001)(305945005)(48376002)(66066001)(47776003)(5009440100003)(55236004)(8676002)(81166006)(53936002)(81156014)(50466002)(8936002)(76176011)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2778; 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; HE1PR0402MB2778; 23:rD8pNyq0saTG4CIGIynnLejXi/yOnvf48a1duws?= =?us-ascii?Q?ErZd5hnX7Y25c9rb3TVTrVMuGkeVEmjONB4cake5ZP2dNKdzknNCXC0brCZ9?= =?us-ascii?Q?cwKo53q6bfeDMM12IYkecJyfTZV3WqQ4h0IKxXa3T0eCCmJWXXsD7/jJkXWA?= =?us-ascii?Q?IiuPOCEFU2p5nGPkPvUrSmYAkGD4GWRBjLwwkbR65Bk7jM+JLrVgqp1qD1zm?= =?us-ascii?Q?ZNW5SHU8tf0jHtFj9PRIi2ULkAjm+2+lCPK26ObrAeNS1LUziDwKg5mmMWuU?= =?us-ascii?Q?TDPuReVPXOO14wRUf8XpLo5dLYtJ3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0lHkDykA/1ysvFFEOHoUjbp+v065GrgWgFBKV+Q1kvSjQfiZvQbgPx1TavGWEG6EFV1mk4+DupEn3vBCBnkal0edV+dN9tCjnrJPq72OUJLyEbB/MfKIA0RbQhXw2PR/tXoDnOFizg5DEM8/CUHm7SiOvM4FqPzwAYrSRvkErxGduxmO8tgUtQHtfc/5j/KEAj+XYXVMct SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2018 11:50:32.9125 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 08e49de9-8533-4d29-dca8-08d590b44984 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 v3 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: Fri, 23 Mar 2018 11:50:40 -0000 ::History:: 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 | 8 - 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 | 290 ++++++++++---------- drivers/net/dpaa2/dpaa2_pmd_logs.h | 41 +++ drivers/net/dpaa2/dpaa2_rxtx.c | 59 ++-- 26 files changed, 833 insertions(+), 732 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