From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0041.outbound.protection.outlook.com [104.47.0.41]) by dpdk.org (Postfix) with ESMTP id 803575F17 for ; Tue, 13 Mar 2018 06:30:27 +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=xkNfycFuO87AoqT1LTApXjt8V6bmVY825Q94NKOWgrA=; b=FNocUde9/74qHnnMskfN/WG4f/zLmq0/Ash3Mp4y4GSL9HyF8yhMnqBm9stsQLXat4bhyZm2ZxEwV6yXJVsoCJrD/F1E3lRA2l2HLHTgNxaq+gJNH0pg8sUFRTFd0maiRRhDNqQ6oCwQv6nFvaV0i64SmTD8rO1750oUNGkbMiM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from localhost.localdomain (14.142.187.166) by AM5PR0402MB2770.eurprd04.prod.outlook.com (2603:10a6:203:98::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.14; Tue, 13 Mar 2018 05:30:23 +0000 From: Shreyansh Jain To: ferruh.yigit@intel.com Cc: dev@dpdk.org, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, akhil.goyal@nxp.com, Shreyansh Jain Date: Tue, 13 Mar 2018 11:14:24 +0530 Message-Id: <20180313054431.19556-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180312092547.18472-1-shreyansh.jain@nxp.com> References: <20180312092547.18472-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: SG2PR0401CA0018.apcprd04.prod.outlook.com (2603:1096:3:1::28) To AM5PR0402MB2770.eurprd04.prod.outlook.com (2603:10a6:203:98::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 828bbb51-8d55-4320-f6d1-08d588a38641 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR0402MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2770; 3:618Kydgv8jMsdTBFGAQdA6RUyqs/G/hlhRhuOPOvvhsM3Jbflu2QpE0btiitwE1+gFuf4u/RiQe9f3GIRovIhXx3h4g307hjJaXRdr5u50YxK7F7v3L/BSx22Apbg5Z6OecRqrX5O6ydS3l1cLN1jmPORcwEyTU/JzXyxWaGBYjQJiM1wkE6PgIiM3i0ZlOqftS+3wqiROkUD+NUPKKC09hEYq8Whk5hp3Gx/++ApnnAWYcbPbAWIfcQho5aiV8K; 25:JeU0iRmCS49MuyWwzTDAV/egNDBd5CRcvga/oSzfkgypZM3FoSZQ6hhCGz8E3Te/KdyP4kH/wjAo3+X9/LLMHtQR2IXf0ExKu5Wb0DqRW733Jjevsl3kZjJ/8GRloheSem9Br5gNjOIrYPnqMnDUtr4PLp/Yh/i65eStjbxhvFhCY2entQorDCV9er32ez5lRLWuw7duA0yKGKirJIs4od8zsrhVKHloBL8MPoAq9so9WpqX4RPZbtkrkuVWjTzOwBDnqe1eUr4Ymrd0ursXoKZOpbHWj2DPgo0psBi1GKKgN7X+ss0qGLys3E8bkvhZYk/De5Z7wXfXCvWsGBgoLg==; 31:vZNfAvclKRj5X6vWAMuCNQAT7GvXCSMTK1sskei8Dc9iUlRt5tQsIeZn1UU7Swf2cxsHk3WWyyYOv1Vvnm90fdAsGF9lb5w3SaecSq/2gSvJWuiXjqG9spbpWYoKirTLOtTKD1POR8/Hky36jiYw3/JhVw7a6cSeC+cwhxisGqsSDw60jV/9JsTxDnoDDdMPyApKFItNHaoCAcMjtTC+52VV1myINjKxdrQTyRMR66s= X-MS-TrafficTypeDiagnostic: AM5PR0402MB2770: X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2770; 20:VmNOXn7YhRrWJqPVvi0XTgnihVPpLses4BWs2edwVf/6Q+J0YZUPX3A74tnuGNpJkT+xD8zaqxopf1X7/1dVas0FJ4sv85LFI3DiNX+vXT6wrhWie3OMs4TAFKlGoslk+Eg3nzXUDJ+hLOhPl+pe62XsWKQJmDUspjzvg69M0CKxOM/BnsX1+xh7SO/r8YSCxse/dc9NDMqEsOUWjTBCpDK2YekUh4pUDNbtC9AuPeF4f6HSza8NWxD/L0nbiGzOFFZTf7aeU8x77DNrELXUkrPNmVTPbHPnI51RJRf/lHqVY7s4mgxfiTjY6y58c7ynhUsUIZ/SOzDNvRzwBrDh27KXbCMMnFWfrJZ6QX9j1ozggHOo3x5j/IkRJH4sl0XHfkN0occ3+/WHIeW2EkjlqaxU18WJLKrqP61NROkLUaCjEXWpF8GPQDkG2c5oAwhphCI/SYDB0Rwf2MyjjO3RZf8/wqMafUsxMceYjN59nUQ9JpU9gg7jMGEazYhAyXSA; 4:XcFX7QKcWT8zuDHGnsb+Vo/pejfDs2k2xc6f5KrAzxfTxHUnxQ+9TCo09v9M62/8id9yDq7iGgLY2Q2u3Le8vtQWOxBSAhY/NvhReGFunsXGTO/cDDukMazZsqxeoGTq5sds6sJVft3xt1gN6zay+tGm7P7n+7GeFLB350wCaTyGS/ko2140cIF4Us0cu2p6yfRbWlRiKgSQ8K5F4RU00a/WZDLxYSSs0tYkh2LpuIZF2CCsr91Vg8db/pPkik7HqTGgyy6GDZU8bNd7Zdm0z4ouxvPcTGoK2poOGVkO/D5h/PcPkln+Uq4lbGkrdX6Y 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)(944501244)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM5PR0402MB2770; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0402MB2770; X-Forefront-PRVS: 0610D16BBE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(366004)(376002)(39380400002)(396003)(39860400002)(346002)(189003)(199004)(6512007)(68736007)(55236004)(2351001)(386003)(6506007)(66066001)(6486002)(97736004)(48376002)(7736002)(25786009)(26005)(5660300001)(4326008)(53376002)(50226002)(8936002)(16586007)(47776003)(106356001)(50466002)(2361001)(8676002)(316002)(305945005)(81166006)(5009440100003)(81156014)(3846002)(6116002)(16526019)(53936002)(86362001)(105586002)(36756003)(1076002)(6916009)(186003)(966005)(2950100002)(2906002)(51416003)(52116002)(478600001)(6306002)(76176011)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0402MB2770; 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; AM5PR0402MB2770; 23:cSYVKHe4OUkFrwxl6+ooNHrqdyk3KCSJwA1OucM?= =?us-ascii?Q?FXky7J4u8SWP1xgtwKHxa3OCpEKEECyOgZhBMmWXdeQdsvc4BQuJ1AbFwM+N?= =?us-ascii?Q?CUfQXi1hUsI+OGVM+2Y5NPRF0c/oDZUjKiS9p/wLPU3czv0VI/8ejyo/7hBA?= =?us-ascii?Q?Wqdn1VJi3ltpMvHfpcwocW135TKpgskNDNVxd1HEW+AFpy1xCh1kNaVR9a4b?= =?us-ascii?Q?QBm4Rs5jc/3rYMqBTCyk1pfBSuj9JOh35FBB/El2BCTiH2eBIKFwf0oW1AHg?= =?us-ascii?Q?LDbXbBzH6PK7tZmz/267KYUKDTXOFnxzX9gN1wDXhhH6MBURb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+VUM+hzsgV6XeZWiztBjntiWIlYTdkSAnq9AOEKunJQqMuiepSEWEVsNcPDPhpFO6eE2bAq6hm+sIO7RTCBGXZChGi/hS6w4zhtwuXhSdGz0PKKjiTtEu1s/q4s4yz+aQnG/wDFCE5t6J+Ph3jNR+DeIVU8OS/xJJwmxDHCE/raKsyjiYwRwmB2Ge5RPj7H5mP8BXcDM7NwWxF683dUoxJiltM4R7f0VTmuC+zm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2018 05:30:23.4591 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 828bbb51-8d55-4320-f6d1-08d588a38641 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2770 Subject: [dpdk-dev] [RESEND v2 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: Tue, 13 Mar 2018 05:30:27 -0000 (I forgot to add dev@ ml in previous send. Resending) ::History:: 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 (c06ddf969) + [1]. [1] http://dpdk.org/ml/archives/dev/2018-March/091716.html ::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 | 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