From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0065.outbound.protection.outlook.com [104.47.37.65]) by dpdk.org (Postfix) with ESMTP id DFAA57D47 for ; Tue, 4 Jul 2017 16:36:15 +0200 (CEST) Received: from MWHPR03CA0050.namprd03.prod.outlook.com (10.174.173.167) by BY2PR03MB474.namprd03.prod.outlook.com (10.141.141.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 14:36:13 +0000 Received: from BL2FFO11FD008.protection.gbl (2a01:111:f400:7c09::102) by MWHPR03CA0050.outlook.office365.com (2603:10b6:301:3b::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Tue, 4 Jul 2017 14:36:13 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD008.mail.protection.outlook.com (10.173.161.4) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 4 Jul 2017 14:36:13 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v64EZM76016426; Tue, 4 Jul 2017 07:36:11 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 4 Jul 2017 20:14:13 +0530 Message-ID: <1499179471-19145-23-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131436525735409384; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39850400002)(39400400002)(39380400002)(39410400002)(39840400002)(39450400003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(86362001)(6916009)(53936002)(5003940100001)(8656002)(77096006)(38730400002)(2950100002)(305945005)(50986999)(76176999)(104016004)(110136004)(575784001)(54906002)(2906002)(5660300001)(47776003)(36756003)(85426001)(189998001)(498600001)(8936002)(68736007)(81166006)(626005)(8676002)(2351001)(33646002)(356003)(69596002)(50466002)(50226002)(105606002)(4326008)(106466001)(48376002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB474; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2FFO11FD008; 1:HozKpqIC5d8I8jR3Y0ikF1foOV5BkrLqQ7kJ/sDKRg?= =?us-ascii?Q?8u9b3XgN6N8sgZlhDmfRxW8fDtHLkfMIFmCI7WewELyTz+W3SO71a6n86dKO?= =?us-ascii?Q?D4SEM23VqU8iV+vaW5PfWB6nugEk6o/ojgsN7Bw8fGxi1zpNjHDd0vAb0fm7?= =?us-ascii?Q?7/Q4WxIrJHK6AcUPr3HBbNl4Wc7Eciu3fVMmVyLoCG1UmnMkUK6lz1+50yph?= =?us-ascii?Q?TPom16COQrLx39Yt0cJDcFCpq8z8uZuURDidFj49mpwF1J2Shh/zNDQp7S2M?= =?us-ascii?Q?To+Y5nr0MU4uCSKD28kLpyJsL+dyq8qsQKfTfCOnvz8RHVXUVKzq4Ywwrc2S?= =?us-ascii?Q?Sh9NE8+8TnFtV70Dgd7c9rMiaHNuYNsNtz6WDYtxekA/hegmdgxaUScpbIBe?= =?us-ascii?Q?oRPfNkGlTNEFwmFlODYIQlrmjlRq+a3R49po1kauFOthztquq5TwMRjGrjVa?= =?us-ascii?Q?EMY8ocN5vMVPwXfXjgpa/BB+9LxXCLTNkDU5rUNYI19EdCOAErq4DGT2J3AA?= =?us-ascii?Q?r+U+0eMWeNlIaCZFNXfa8ByzbcLuEU9dhsDwF2sSRl0m/FqeqUXi7eFnKg+7?= =?us-ascii?Q?pQpUKUIbrfgtuZKwS7iYGkMBOOfCayI+RX5LbLXC0sq6IhuOvXn2n3ipLexn?= =?us-ascii?Q?PypMfW5PtEQIh8EIhkeJ1hXkFHvnIuDRW/oremL9twHT0eXOKOy4vg054XId?= =?us-ascii?Q?AiSKsYeemKZtOo6g9QxdryHll9fW9UIp4uYxu7vq1ZqxhMfArl9SUfpXy6at?= =?us-ascii?Q?/eT++zzyKxRZjyJxOEm6XogEwvaPsGAwZNa2ZB0mwNJACyG/11YMPXaodESG?= =?us-ascii?Q?JEffiiNKH1dhvNn3RG/IHP8vfPQ1YoOPSYqGi3jcWt8lGDNxV19N3nsPxss+?= =?us-ascii?Q?EzpOeNFXwN3ABnQWoG8j/kHuy6bPgSAXLalFZOD0xn4eS3hoBQFc0KBu+v3S?= =?us-ascii?Q?RmrPqDxRu81lqIJ3WzPOEDjtKHy1eE6Qlls+lfdYBAcewYmNs7bUHyc9fOl+?= =?us-ascii?Q?uBlJFrU2P8Mb1aFti40bw+i423OOjCpDEZHQjH9g+kEbTk/7iL7+ytyFEpkd?= =?us-ascii?Q?FnfvjqQkdagT4vLVlyoj2RVFogXQuGOqeRd5hwKKCXkUoelw=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2dfcfd36-99ae-4f6d-76e8-08d4c2ea056f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR03MB474; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB474; 3:xTitilkFV6ZVl6MnYObhfMqMCWtNQPw/Lu3KDCG+jDXBtVDpLzBYk//nn3xoJ37VgBJxFjIEkktJWgtH7v0JqX1xdLhTbAaNERPS7HbXTYsoLdqBYN4dRXtOTP/ygGhO6M/G4CR5dxaH/LDdMg82r0f7oV6tTsgpOoZrhrYU9CfvVpZUquXuRKFYbaCVlP6vlvW6DXvfiS0fepTfIP7QPX4G6LGMXCTCAPHtysOForVs6rykQFPmblj5mX/S8x1UOp2JZVYl+eO2Y6+MK7O9vrbH9DdV5yvEcZwlftyzz/3RkMYFmlyO2/rQgKvGO+0Caql0EbU+Cw42SdXwTQlO44HN+S/jx+ZT+jzikePuWXt5+WabhjTvkMmtGnfUlzr8gjQbD1QEMXfKd3k0mfbx/C7Tk9F1e+gSo+V6IPej833xrxOH/uGguDf0saIguTLwGCRmK54NAYAWBVpaN5InenkyCKGD5AmduBBG18ytwbcsqwBYPe22QU/BDGdNWd08uXzxHBgs+2GTKCcc5CZBnDU9Ye3iSchBSVLjgBEwZg8ajQrRTE14VwitB1IkVWqqDD4t49ZvvJ/nI/VmYCyGmjJk5oxQjemwLQB4LQReJjP6eFITBR/YHHDh50sa/QtEVOcikFZ2yyKrfxIcneHB9QehdkiDCMdQjK8oQTp24njlAoFBP2v3uwsaDbX84RXFD8LV0IZZjYAHLsVhb1wveamzBL8F8yEthdqW4lQeJdEjiGDSSCJTuPJpkDoTMcIr4T1c8NRY1MU2OoAXi7U6WZCSTNhz53vucavtVRlW77eRosXA9uMUjWTdYG2pAuq6kyq6AkpfPIcW6i6gyCmZ+fy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PR03MB474; 31:xEwFhk/vP2u7p3H8SL/qvc6pCYZ0vbuOo9v9+WgWzwS2QwrzIrypGp9oTh7R8cvTBBAu6d4+uOC0NpS0T9XUWctOPNGkl30Q13PD02f9hqi4DqyuIqnNjKDQnIyvL8Tpf6zQ+4j7oDIwgzr/YgLUDMHJk+hsMuyZK8o0FSVd7MT69Hqq2Xyj0izWHyzexpwaAzKtK2CK7/O4ImBEsOwo9MlBXMDnxJQUPnug8WP/kAdvgyp+wRMi4D0IPpqNKLQZvOGLYX6QSa2YpTuqh6xRUYaEv8mAk57SYkq5k0VVBzoafEgnOfXioqn4F1H1V0uq0PnrkQVVrGWJFzSMj+/Z/R2BU9IsSxyX+ykDm1ULMHQS1TxCZmXdjAtrMoAEohOYk1B8LrogPjZoOhymN9W7lpjNAt5V++lLP+tBt4kJ0/KjwJNL2xUbiuJUzLwINlVKPks+d2cVSG/5M63xaNws+gNpJ5ehuUm1BqraEYxCoozyqjeGW9JjNk6B086/4ApoSlJN7Es743xumBE2WNykZsVfm1qinuoxyHVLjSuPgOdk7xk0ns6u/vwmSVSu4p+dSPW6HNLAu7gbenzf9zbly491CPgio282JD4Lm4PRatcCiq6JA0JcWNz7Rwc91tYeHnuQFDvTUoWqV0y16tWNEpyMmdgXSORqZwfABSSqlTu33HMs3gdrp05ej6B9DjG4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13016025)(13018025)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123559100)(20161123556025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123561025)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR03MB474; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR03MB474; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB474; 4:PLpn5ezKLCRzTVMn0+UkDJefdNCPjDApyDx4pR7vkgj?= =?us-ascii?Q?fu7N5h5Ywv/0GwX8SonS8eB23X19/ZXGJXtp+P9aiQWFIKXX8iUyCX+r0TBK?= =?us-ascii?Q?Rrd5teGJ1aFHtz7y4JtL7UfokWTP53PhXtzD6eCYM/LNzuxDEIcXXAQmg6x5?= =?us-ascii?Q?e8qvQVjID0UKq+mYCPIhPz7LXJ2NRy6hQDzsjLQBjvqc40ZNbE0EPsrdn9Ti?= =?us-ascii?Q?jTA/kfaPWu4Oqxd6oTcyJqCANNkn7CYh5729oii1ax0+leo2gLRmehwwQjwd?= =?us-ascii?Q?iNBtz6PabGh9WcrFVd6En00eBMo/E1sLNe3krv+2FZUIabqvJOpfoc4WOWKt?= =?us-ascii?Q?s0/hwGJdAeuxD9eLP701nWS6SWw+5q2Re+Jn6zNOMrCc36oA3tUge8na2lW1?= =?us-ascii?Q?AuriOi/n2DJ+YOFddbQBs0zuktRGom7CK1bZbs9RmmR4weMFouVy27XWUJT8?= =?us-ascii?Q?qkIu88nlxUfWMd+lTY0m2bndEqXKFtYIXElBcSkNu7HH9N1OkkZ5QDvkvjFE?= =?us-ascii?Q?XvivPwVAfuUzmNEivG4ntEni8PbEul9nCX8VFvvcg4+sjsfiW67pB+xpitAv?= =?us-ascii?Q?iuHnltBbLqDln8BnVdufgPdmAGaCGKgGaDmKoT1naHXHqbDZMEZW7Wku2qKp?= =?us-ascii?Q?glhjSF9Yj8xsw2CoCHOWdPqOWkkoPPIMEddYlslpvW9ttvPAHKulVkn2Kkwo?= =?us-ascii?Q?G9RAzP5fZrdvcYGMI6YYGglPpZsOQcEzCVCAWTTsmymiJhwnCLMHg7yo5DzS?= =?us-ascii?Q?HcWWRHJTDN+HSXycAm1eE6Y0vD7+o9Vbc42Mq9Qmdqk5p+/BLaLk03GOCQSH?= =?us-ascii?Q?xptNjt4TtngIYg2ZiZbdgDJLYZv3Te3CjQB/wXbJjoBh8kiK09PBHY4ozQkn?= =?us-ascii?Q?5Utbz+MroxziCqluJy6ZhW3c5011TjVb9BDV5YqKM/dikEDN9WT02a7ISROZ?= =?us-ascii?Q?eBpcga7e9bJwiTUL4xYEx7z+iep4ZX5Kxrg5Jox5RtstSopjScEtgENmZBwO?= =?us-ascii?Q?ZX+xeAcl33brAiur5mtg8oFVQtmSTublroHsEV5LhTBqHd4Pud8W6LShRl7x?= =?us-ascii?Q?lUIofFdUvmlMILjBuDAMgjwBAzVVRJ5PIdYaRYsehuIC9nF7zO5zujN6JSF0?= =?us-ascii?Q?4iGGka0d/ZmNoTVBbOElDcSyg3v8R3dmk5vS7QZ0zJ6Av3CutXlAcFmFPwpp?= =?us-ascii?Q?D2O1oev7W4MMaNawN0cNk89A8sLIaIZ2XBQsrrwk3m1G+6612kK/OS0aGgCp?= =?us-ascii?Q?vxI/Mtfa0XRqS4/sdRx8j/ekKXQEn7ku0DemD?= X-Forefront-PRVS: 0358535363 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB474; 23:CtyMS9ZC97dcXup6sJPVNscs42/GHsQKZz74cigut6?= =?us-ascii?Q?gDW5vZiAEH9my4gXL/lip38xtvN07AdhuM1qWhHEMPd17UZQvlms2uhzXH5M?= =?us-ascii?Q?c6ge0EiMGdLuSIWV7x8Ndm+k+R3u/xBYvZk2AXP4Cms8yxAC5osX1GI5chNo?= =?us-ascii?Q?XOzYVPyG/RcC0rN4oaJhZOUoszoSV2JpfzqIZjTSk2qdlzKnSx08DTaDZXdd?= =?us-ascii?Q?6LrXjyn1odDZjpqGw0S5/pbAob2QT4QKIem9SiXlCnKnqnU4a/8PA6W5EQZY?= =?us-ascii?Q?VOQRNCwX2B7t7B64yMhF/QWlKzTyW8U/TRd7k2baO96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:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB474; 7:E79QV76BScAZlyDb/Au17IUjwUCeIowOVcs+8G6enNfREOJtk6QQHixrDPRw+xk/kF+kZTX44UxOanyIESdj8vrYX96CWl2jB7r67DHCK/skdMDCgJQaiECkL2291ySQC+JZCXQcR3yi5rZTp5GvrwmGoe7H+ODa13uUXZm3gP8tSgxNAvuVtk4+lC8tfYayq/TLWFv4RzoJPVu0dN6FvVqwXYtT81C+x9Xp0VS79O+i+WSvOkbPEnsNFUAD9t92RYhW9Gg9vnJZEep1njPRjEFnMfjmDyNlfbK05QSX3gC8s2gK99F418dKwDeg2Ka73sKHmY2PIzOyQwLO3Pjul0s7u0sKYNRUF48etynuWLA1G1q1Pslh+w2NJMeZsaCDB/c+uJx9kpNhAV2iYbsHFsZIbmYax14NBiMFkC/LXdaJ462rapIi6pbBcVOx2YIDGZROwulWwOOUo5VYnIQHxvTXqfNqilMoa8oNBgRjHNbJle4EMH9roBZd4wew9NJp931hCYULw6o1Xwe5UmMaLgAXhHmYTQf9V+DC+eXPMKwDcASn4w22A0m0/pJKK5kjMf+PCmLnbCRVhrVX9ajaiqxGEK2Ms1EDpvDJsuYP6Qxc3vAKyg/eR9Kt9RHBNgpeRYmr2AqPqPzKntcS8+mSP+nF3yL/TDszxXV9WEQd7VvAX0SUOd6Fr5pQSaKwWTSo81HL4D36pgMIISTzseuGT5n2+VSeTnCGuQgForP/cQvGIRpGe8ie15fJ0irgcHIdrv4vApFU0Zvk3zrtYxp7ri3BVvSF5/PcYYtnuNkzAxw= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 14:36:13.3069 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB474 Subject: [dpdk-dev] [PATCH v2 22/40] bus/dpaa: add DPAA PMD logging macros 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, 04 Jul 2017 14:36:17 -0000 Signed-off-by: Shreyansh Jain --- drivers/bus/dpaa/dpaa_bus.c | 5 +++++ drivers/bus/dpaa/rte_dpaa_logs.h | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index 417d0d7..9eccf2a 100644 --- a/drivers/bus/dpaa/dpaa_bus.c +++ b/drivers/bus/dpaa/dpaa_bus.c @@ -72,6 +72,7 @@ int dpaa_logtype_bus; int dpaa_logtype_mempool; +int dpaa_logtype_pmd; struct rte_dpaa_bus rte_dpaa_bus; struct netcfg_info *dpaa_netcfg; @@ -428,4 +429,8 @@ dpaa_init_log(void) dpaa_logtype_mempool = rte_log_register("mempool.dpaa"); if (dpaa_logtype_mempool >= 0) rte_log_set_level(dpaa_logtype_mempool, RTE_LOG_NOTICE); + + dpaa_logtype_pmd = rte_log_register("pmd.dpaa"); + if (dpaa_logtype_pmd >= 0) + rte_log_set_level(dpaa_logtype_pmd, RTE_LOG_NOTICE); } diff --git a/drivers/bus/dpaa/rte_dpaa_logs.h b/drivers/bus/dpaa/rte_dpaa_logs.h index 18e586e..42d8bbe 100644 --- a/drivers/bus/dpaa/rte_dpaa_logs.h +++ b/drivers/bus/dpaa/rte_dpaa_logs.h @@ -38,6 +38,7 @@ extern int dpaa_logtype_bus; extern int dpaa_logtype_mempool; +extern int dpaa_logtype_pmd; #define DPAA_BUS_LOG(level, fmt, args...) \ rte_log(RTE_LOG_ ## level, dpaa_logtype_bus, "%s(): " fmt "\n", \ @@ -89,4 +90,40 @@ extern int dpaa_logtype_mempool; #define DPAA_MEMPOOL_INFO(fmt, args...) \ DPAA_MEMPOOL_LOG(INFO, fmt, ## args) +/* PMD related logs */ + +#define DPAA_PMD_LOG(level, fmt, args...) \ + rte_log(RTE_LOG_ ## level, dpaa_logtype_mempool, "%s(): " fmt "\n", \ + __func__, ##args) + +#define PMD_INIT_FUNC_TRACE() DPAA_MEMPOOL_LOG(DEBUG, " >>") + +/* DEBUG and WARN are conditional to compiled configuration */ +#ifdef RTE_LIBRTE_DPAA_PMD_DEBUG +#define DPAA_PMDL_DEBUG(fmt, args...) \ + DPAA_PMD_LOG(DEBUG, fmt, ## args) + +#define DPAA_PMD_WARN(fmt, args...) \ + DPAA_PMD_LOG(WARN, fmt, ## args) +#else /* RTE_LIBRTE_DPAA_MEMPOOL_DEBUG */ +#define DPAA_PMD_DEBUG(fmt, args...) do { } while(0) +#define DPAA_PMD_WARN(fmt, args...) do { } while(0) +#endif /* RTE_LIBRTE_DPAA_MEMPOOL_DEBUG */ + +/* ERR and INFO are unconditional */ +#define DPAA_PMD_ERR(fmt, args...) \ + DPAA_PMD_LOG(ERR, fmt, ## args) + +#define DPAA_PMD_INFO(fmt, args...) \ + DPAA_PMD_LOG(INFO, fmt, ## args) + +/* DP Logs, toggled out at compile time if level lower than current level */ +#define DPAA_RX_LOG(level, fmt, args...) \ + RTE_LOG_DP(level, PMD, fmt, ## args) +#define DPAA_TX_LOG(level, fmt, args...) \ + RTE_LOG_DP(level, PMD, fmt, ## args) +#define DPAA_DP_LOG(level, fmt, args...) \ + RTE_LOG_DP(level, PMD, fmt, ## args) + + #endif /* _DPAA_LOGS_H_ */ -- 2.7.4