From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A9CEA0C49; Wed, 16 Jun 2021 12:51:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9A314067A; Wed, 16 Jun 2021 12:51:53 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4B8C040140 for ; Wed, 16 Jun 2021 12:51:52 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15GAkHxK008084; Wed, 16 Jun 2021 03:51:51 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by mx0a-0016f401.pphosted.com with ESMTP id 397auvh70s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Jun 2021 03:51:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iD/KU/DOFVzyJDOaLeB2zKSMVppzG8eI3/UaeVuARER3LNZHjCZkwCeVRaGJUIaeeXhv121qB4nnK1Tudpb+15LvLUfkxiz2hAhRaZb3qUQ6aoqF+whkW+WWOrOctEjfA368fpfRuy7uIZKRZhUoKApwINWnxPDwBFtYovSbaaOe2YwPiyIbwt5Q4CELu8dDRfqG6xKQMQlKGtMqSgJchMsPR/CLRrtEFOQr11K8bPdi7dLNJ2QiJqnOuty+GyPXS7dMFBANlZBHjd6pA2kGORXGoFWnFoT7u+AX1R4jXaE5pYefaxJ9rcMq8PLL9hk8IjH9i9TrWzDTlnyxjItAXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XN4swo7ZeGB5jUR9CEM8LmMZQQUEvzcUKoM4lb+YDQc=; b=EwUL+QWVq7wU9vJs8pcCeiYU0WZN0+FDKmi196jnq8wDJeqaJRJzzmNK4EcsUYvqlJX2ZGSlq9xHnfETCkaXptVVvHor5qGBbm2og7efGTPSdDHa6r4teFNLJgfW9NfbXLNcFg2im19rOtP+Vin1WwbqDCY08C5cirThqrPYuqj+GPQsAlnJpJjP12Q3GM+OQmkf+joDBEKD1zpdjrU747DtZC91OG373/F4WKoC/k5skw/22Z+nmuLA3OQk39Zuz7bjcaK9qUmHDIM41tz/alEgY765aV//c8op1cGIFhasPjgZSOSuYbWzBgkyYXgdR+hxF+tnrphTyQDgsUX6Pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XN4swo7ZeGB5jUR9CEM8LmMZQQUEvzcUKoM4lb+YDQc=; b=QRh5MltT0BEsGxy665DSukrdD3PFZlEt7NMBAwmdTdmRO9t7VnQRS00HzZIfeQAFMUYFlRORZElCl/PAPM8YiZeg4PhPJFQKhgZEEvQf8GeMsOjUYRU/4+d+yMwm369roGmXEsk1TcWaAcGKwfDhgI5LFkUtksEpwTMJaYXnBcQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4681.namprd18.prod.outlook.com (2603:10b6:303:e4::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.20; Wed, 16 Jun 2021 10:51:49 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7d67:6d21:1714:c816]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7d67:6d21:1714:c816%2]) with mapi id 15.20.4219.026; Wed, 16 Jun 2021 10:51:49 +0000 From: Akhil Goyal To: Anoob Joseph , Thomas Monjalon CC: Ankur Dwivedi , Jerin Jacob Kollanukkaran , Tejasree Kondoj , "dev@dpdk.org" , Anoob Joseph , Archana Muniganti Thread-Topic: [PATCH 02/20] crypto/cnxk: add probe and remove Thread-Index: AQHXV86HuXz7hP6rk0ietIaTLe3sK6sWirwQ Date: Wed, 16 Jun 2021 10:51:49 +0000 Message-ID: References: <1622652221-22732-1-git-send-email-anoobj@marvell.com> <1622652221-22732-3-git-send-email-anoobj@marvell.com> In-Reply-To: <1622652221-22732-3-git-send-email-anoobj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.162.4.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f2819df8-e0b9-4c22-92ae-08d930b4be32 x-ms-traffictypediagnostic: CO1PR18MB4681: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1PZp1M9TK5DcQGhMAC3h8eyxJiwy0uuj1IVXZS6zJF81F1hSArP0zzTuEoVK0hAu1rUafio5MCF9kPhSb5f33K5fzzKJlofQkjoZY3AXxv+Y7ZNk2XQ+fYyHiW9qjsAL6KgF3nK67vlz2cgQe1DaVoPYacI3z6RNGZiWLyh5lypARrTLwcUEQKS1L1sk0vqsHXof2IgiDaTy7WqN5I/Iga5dznWw+1X8sgw6cJGbNHq5LAE38KKAAOYOhvdhB5Z9+8u4x0w8cUjQE9EOoAgakxbCHsx277M+hffkXSRJPaKwpL0s0qdxzhrUDxrX8mVaJ1+GtqVl3qHN9yjnIi12MVYfbZi3vwlCMz6aPm1Y08XkFLTf0ZX3b+xixrzMqb9ATTT8rLb2SBEjE8qZ9YxWG4moLFfCOTdv8M+YnOtpU0BqK7VGJZx5YESuh61z5dttaO3Lt3mFaDcvvNXcYY5hBUmtEIS5/f/8xKpVc6RVKciWKLFTT7kcxW6VPZceSsR5MPIpRBNqcZB2Cz+gxszHHCcx7zt0gbMlDiFQSRRtBpv4L/lLrZUFR9bErHikIvDAEbWZsIA02pqCjBVehgJC+QdUHEQ054ERJ3Lgb2XdrtU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(366004)(346002)(396003)(136003)(186003)(8676002)(4744005)(9686003)(4326008)(5660300002)(55016002)(86362001)(66556008)(64756008)(76116006)(66946007)(66446008)(66476007)(7696005)(110136005)(316002)(33656002)(71200400001)(6506007)(122000001)(26005)(83380400001)(54906003)(8936002)(107886003)(2906002)(52536014)(38100700002)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hxcdOy1KFb8ufBOJKAZWPbGIhFa3HKnWeQzfmPjGJ/dBIY7j6HSkkLhE+aVZ?= =?us-ascii?Q?YhdNPzz4QddyIZVeQUsbLH5T3M+RhGDlX3d9hDkt0lw82mSETt36x2pK5IvG?= =?us-ascii?Q?S+H0CFy3Xy/Gyy6VtzifN7UEFlYAbTP8O9wa3Ler5btrKfKYqp/rKGtNTB4i?= =?us-ascii?Q?wWwDQYkIbCgQJkhFxSaJpOGGHd/1oZoJmZGYYNvlWVEoFhNhJzUjX4GagdgQ?= =?us-ascii?Q?kR5Fx6z0iQWlskB1AB0xI7+9UHcpecs7bPpEQdo40xdHuIAKvwStFH4gSjB8?= =?us-ascii?Q?x6Mf3wSqQC382driOLSrHXysIbzctZwS90KNnxDqDU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Wx71XuttZf35kG0xtTGITVIVTPtxPnkBhFKClCizKw1BoT/nnQYfI1m?= =?us-ascii?Q?gG4R4PdZdNKFP+8DW8HGoSDID2EIU1YGw4ZgdPuFzcWY45H/fhr8jBuIXBWW?= =?us-ascii?Q?nB0=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2819df8-e0b9-4c22-92ae-08d930b4be32 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 10:51:49.1304 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dEzcmR9FVn5G126yQMCSOlpCOvOpOsaEtJ4PAt7ItS3SKVpNcPTOezguWxshLN+YrXjGsC26yLXm9qagFjvskA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4681 X-Proofpoint-ORIG-GUID: 2wFkyfPld-aoV3g1kIpSPyywmGTT-5zU X-Proofpoint-GUID: 2wFkyfPld-aoV3g1kIpSPyywmGTT-5zU X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-16_07:2021-06-15, 2021-06-16 signatures=0 Subject: Re: [dpdk-dev] [PATCH 02/20] crypto/cnxk: add probe and remove X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > +/* > + * DP logs, toggled out at compile time if level lower than current leve= l. > + * DP logs would be logged under 'PMD' type. So for dynamic logging, the > + * level of 'pmd' has to be used. > + */ > +#define CPT_LOG_DP(level, fmt, args...) RTE_LOG_DP(level, PMD, fmt "\n", > ##args) > + > +#define CPT_LOG_DP_DEBUG(fmt, args...) CPT_LOG_DP(DEBUG, fmt, > ##args) > +#define CPT_LOG_DP_INFO(fmt, args...) CPT_LOG_DP(INFO, fmt, ##args) > +#define CPT_LOG_DP_WARN(fmt, args...) CPT_LOG_DP(WARNING, fmt, > ##args) > +#define CPT_LOG_DP_ERR(fmt, args...) CPT_LOG_DP(ERR, fmt, ##args) > + There are two types of formatting for logging used in this PMD. Can you make it common. I believe these can be moved to common/cnxk/ and have plt_cpt_dp_log() Or something like that.