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 49F29A056A; Thu, 11 Mar 2021 03:54:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A2F422A65F; Thu, 11 Mar 2021 03:54:31 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 3FA3A406A2 for ; Thu, 11 Mar 2021 03:54:29 +0100 (CET) IronPort-SDR: nvkWwek5Y+IuiKHC0DMklJORfflltoJIuTZA7YQIi3kqEvxADgknX4u1r2sNWlYM8FpjfYL8eq Hgo2XIjLylQQ== X-IronPort-AV: E=McAfee;i="6000,8403,9919"; a="175710122" X-IronPort-AV: E=Sophos;i="5.81,238,1610438400"; d="scan'208";a="175710122" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2021 18:54:28 -0800 IronPort-SDR: thzG1fkuBtQnrWYAcZhjNcuBojwui5gr8KfExbJEIvno+4XDyPrEx/lrobe6kMCIZYEg1eMAJE wuBGGJYwOFZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,238,1610438400"; d="scan'208";a="409337562" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga007.jf.intel.com with ESMTP; 10 Mar 2021 18:54:28 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 10 Mar 2021 18:54:27 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 10 Mar 2021 18:54:27 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 10 Mar 2021 18:54:27 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 10 Mar 2021 18:54:27 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XPZZflrE0l9SkVlUAhyyPi1HpKgqpDot3Ie7gIdV8B0s+GkubKjDG007WJp7agb6uk+WgIPS/9BOjasnxAtZVLzW4+2SwU0BM1Z0z54p4cN5LytTyxpsejt3ERc85rlAlDRCF1ZifJ/pkkN8Rb1z2oXmjwP95jBfbJVTQiix0qcciWyl4UTCF8gGhw/W+ezjMyRZfr0dp4HT88qdRphQQqAueDKG7q56uBlSJQzkN4vBhj6Oqi55psOauDpnLZDbG/3+0zfbMf5i4lcbO8W3WZ4hNHrUqvqEnotrneAdauoA6494ORxRl325S4xMdq638rsnAUmTw2LIbGZI4gi0Ig== 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=rmmWyDpy+dChjFwP9ZOL9qSLBIJiqNsQd73YaBNC5sg=; b=i1yjij3h4xhI7vXHLhmdo0En/uS5fqINqmAq74MYpWcsyCXjyNrXOlofLRwGIf8A/UlBMZtlPcqWXVdEOCQJ0F3uoWUFHQG5WAfzyjJqUNr3rz5nAKlFyyYaS6HkNFveVKd4A5O3QhF4tCuIHuVIw/3C1igikERLx/S6mzxYLpcXua1AzCQp9/YNSxoOPlPQBS0gsM9m6/sbRJ8KbsKzYYaA6tfFPJxaagz2MKDXAwaUtaN2Nk2EcAxRuVNEx9O4Cf/4njZCQ4h7NaCWZDggwMVsymz07Dh0kechQhvqduLE7yI5IWNSezXko2M00+mqkQkAo+qtmDSbqq6aD10Y0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rmmWyDpy+dChjFwP9ZOL9qSLBIJiqNsQd73YaBNC5sg=; b=jd06ouo8m6UP9lPw5LBThu3LtVHQ62OpzqSSc+kteGPTQ9Nn16Uk6BYtVaiqmx4GC7VligAZ/0E1Bk3iNe9119pTu4v4TdTfxLHi/iqjTIGwwaHVvfZ1mUq6T2u4OdclpOqSTM85Cd4c1qdn5BbLc0etMUDx5bqGJ3mTLc6kyfo= Received: from BYAPR11MB2901.namprd11.prod.outlook.com (2603:10b6:a03:91::23) by BYAPR11MB3397.namprd11.prod.outlook.com (2603:10b6:a03:1b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Thu, 11 Mar 2021 02:54:23 +0000 Received: from BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::4946:fd9f:86f7:43f9]) by BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::4946:fd9f:86f7:43f9%7]) with mapi id 15.20.3846.054; Thu, 11 Mar 2021 02:54:23 +0000 From: "Xu, Rosen" To: Thomas Monjalon , "dev@dpdk.org" CC: "Griffin, John" , "Trahe, Fiona" , "Jain, Deepak K" , "Ajit Khaparde" , Raveendra Padasalagi , Vikas Gupta , "Zhang, Tianfei" , "Richardson, Bruce" , Nipun Gupta , "Hemant Agrawal" , "Wang, Xiao W" Thread-Topic: [PATCH 3/3] drivers: align log names Thread-Index: AQHXFbYaku5g7s7e8EqlQFKdTOO4iqp+GDDw Date: Thu, 11 Mar 2021 02:54:23 +0000 Message-ID: References: <20210310140107.2730088-1-thomas@monjalon.net> <20210310140107.2730088-4-thomas@monjalon.net> In-Reply-To: <20210310140107.2730088-4-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODVlYjAyOWYtZDUwZS00MWNlLTg0MjQtNWRkNDhlN2QwMjljIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidTJMUEwzQVFvU24rUzd6SkpkR0ZPNzBzblVkMGhtcmFXMVY4R2xsWkpaSHloN3o1bVwvaWhPUGIzSXNMaENnaXgifQ== x-ctpclassification: CTP_NT authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.207] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 06b78360-6f41-4277-40f7-08d8e438f9ec x-ms-traffictypediagnostic: BYAPR11MB3397: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr 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: wnlkuyxagEe66g3aK/Rn4i96Bf8iCf1KGRtJcpb9eZpeKy7bhXHuP6PegiPiakUvE9YMQXfOng7uvJNFOwX2Jc+kBI1pRz38GM0bEfg2xh+mSZLAQSJGdQzT9Wp5mh5tUhHlHF4ls+SAVJO+OwTsnoUlTcQEx9MzpNswZ2XKNDXC6ci9JYmUW4V8/nxV4AUsKyF41qRYdFnRjZoIpC9dR7cl28s8Md+Hbpj7b6CGNVdHj+B4e7oVKKoILukrzrM27jNKAV5gjFo5X9olDZJGzdTgHRsRRFjpYJH15jPLQXAsBNK16wj1vCgP0uthuxjV0Dfc6c2gtuaN5C0fv0fdR0VM9eSt/iRGtabY2eVqFQinLEsMOq4Qhj6QVFX30mPqDTOigQvGhFGXXl+Dc+v2nUDm7jBBovKKek5Fh7aNp4AS5zPz7plUY8C9BwKym6kX22mUaeqvG8bUdNmdvJDHrgo0amWQy5NDxC08HU61EEU55zg+89HRyadYpd2vK2eW5vMMEM1aVOiYnt+aCn6PcQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2901.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(39860400002)(136003)(346002)(376002)(366004)(52536014)(71200400001)(107886003)(64756008)(86362001)(9686003)(53546011)(6506007)(83380400001)(54906003)(76116006)(66556008)(66476007)(110136005)(4326008)(66946007)(2906002)(7696005)(66446008)(5660300002)(316002)(186003)(8936002)(26005)(8676002)(478600001)(55016002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?JgLk3+S+qEGoZag1c8Lr00AwJVPWY20XG5NyJka0jv8bajCMSYnPfApu3Y3y?= =?us-ascii?Q?O1/i0/EvUzSPOo8Xcq0u5Ov+J1fRDIuENl+4DWCWMdjSky5ZN2grVAzOQRCo?= =?us-ascii?Q?NCN8jDDl7BB8v/AxSF9oeVmWJtfXQLHsBMZQd3j9vQFH+Lgwi/iQBcs2B+Ae?= =?us-ascii?Q?S09L6iyex5tgKWxceovDnb8tpcf/OaLbiBNZlMn/uzuB7T2NazJS3RVnQAGQ?= =?us-ascii?Q?T32A/8+Bf5JtyJ98ZRuT9nA+a3ka+jrWIJkdjIT5WWvcDaGbK5wBK82n7b1+?= =?us-ascii?Q?h9TkxLc3YCx3qs1J2Pm8UaSNud3cfZIYdsY+m9AdCBMqUhUrT07Y11v28YDl?= =?us-ascii?Q?X9gMWr5u9Qi6KYh8cpVSXIA3NY0QSMHsSs76uuX3SZtInfCvytusMOjFHxk3?= =?us-ascii?Q?c4/7rRRYZQsjgLyAc3bkOS2TyOyg1+8nqd/+5E43p8XL3ry7sEDvNI2+KfwN?= =?us-ascii?Q?KziBOrVsyOKc1qNEtj0P3gy8lOzSuigHY+E5U9Yyjx4j+9f6XmdJGpDsR3Tq?= =?us-ascii?Q?cB1ZW9TA1XguzjWP+5a5IGCYBvjStS5tXSkYJEtOYVzYQF3AR0qHJ8bdIP9Y?= =?us-ascii?Q?bsyAvYQDwahQQSArMzkrgJY8QQMhMNn0gj19LZVVax4jOEXcPrfw4wag5xJo?= =?us-ascii?Q?NpsmcJDe8MByMw5fmu37qzMpiyB1qws2SSrISOsC69qc5vgO1ZBHVE5hlRxQ?= =?us-ascii?Q?Gt5ni73ULn94w3u5rOl09rjxarogr0V+rFbAmhT7Q4/ocqIdGfgyx/pPHVIl?= =?us-ascii?Q?t7ETbTd5a2iAOl2/B4+pkMbtrkkSq55NiZtq9jWYLENS7cegvAjHt0qXFIdt?= =?us-ascii?Q?hyr+KtpT78O3U1qvDoMUQuekEuzrMjYxpO3gwQ0TtYD0FuuwYiPw60ZGodQj?= =?us-ascii?Q?ga1mDcJ8iBzxDv2PcX3Y/QmaHx7xctdQyFbUIULL10753JldLSCHttkgoFlT?= =?us-ascii?Q?iNfDbfK2e+H8D3uwbMXms6J1FWByWSm8H1eSCsnKrUwW3ZITUn3VzKjbqK6O?= =?us-ascii?Q?sUfikWb73xWvhDLnfqBWIYl4x5uYgwtiJj7LWtMyiQQTDdV/jNyYt5dg9J0A?= =?us-ascii?Q?U9y9O9XF9Av8Ws2Uno0gmDaOeCC8q4w1MZckU7oJMDXFKvOKsj75l2PTIFcV?= =?us-ascii?Q?fBW04Qv3/OhIeaswaqLA1FxhGY2qW8jK7dWjxRdAFzoRWon6uKf3O6kGpcWv?= =?us-ascii?Q?k2C/dSYGHOewPcVC7girGo+hoV+ghfhfay0X2/vgwV86JAyq/Ty5Jm8j7WdN?= =?us-ascii?Q?4H+MZDQIWbsPeysL0eYjVqRESHd/JK3KOSVM5G02wQm9Tkc67yyW17gg0/N2?= =?us-ascii?Q?8qEGkb7X6jTnoUi6mjvaEgmi?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2901.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06b78360-6f41-4277-40f7-08d8e438f9ec X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2021 02:54:23.4077 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xmqB5MNNfZANnd4taI6HRIiseslvdp4sKiRMUm8CuZtZunO1ZRt9Ulco/UkXqSkATsGggfoc0iRDuyUCZJjPCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3397 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/3] drivers: align log names 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" Hi, > -----Original Message----- > From: Thomas Monjalon > Sent: Wednesday, March 10, 2021 22:01 > To: dev@dpdk.org > Cc: Griffin, John ; Trahe, Fiona > ; Jain, Deepak K ; Ajit > Khaparde ; Raveendra Padasalagi > ; Vikas Gupta > ; Xu, Rosen ; Zhang, > Tianfei ; Richardson, Bruce > ; Nipun Gupta ; > Hemant Agrawal ; Wang, Xiao W > > Subject: [PATCH 3/3] drivers: align log names >=20 > The log levels are configured by using the name of the logs. > Some drivers are aligned to follow a common log name standard: > pmd.class.driver[.sub] > Some "common" drivers skip the "class" part: > pmd.driver.sub >=20 > Signed-off-by: Thomas Monjalon > --- > doc/guides/cryptodevs/qat.rst | 10 +++++----- > drivers/common/qat/qat_logs.c | 4 ++-- > drivers/crypto/bcmfs/bcmfs_logs.c | 4 ++-- > drivers/raw/ifpga/ifpga_rawdev.c | 2 +- > drivers/raw/ioat/ioat_rawdev.c | 2 +- > drivers/raw/skeleton/skeleton_rawdev.c | 2 +- > drivers/vdpa/ifc/ifcvf_vdpa.c | 2 +- > 7 files changed, 13 insertions(+), 13 deletions(-) >=20 > diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rs= t > index cf16f03503..224b22b3f7 100644 > --- a/doc/guides/cryptodevs/qat.rst > +++ b/doc/guides/cryptodevs/qat.rst > @@ -659,15 +659,15 @@ Debugging >=20 > There are 2 sets of trace available via the dynamic logging feature: >=20 > -* pmd.qat_dp exposes trace on the data-path. > -* pmd.qat_general exposes all other trace. > +* pmd.qat.dp exposes trace on the data-path. > +* pmd.qat.general exposes all other trace. >=20 > pmd.qat exposes both sets of traces. > They can be enabled using the log-level option (where 8=3Dmaximum log le= vel) > on the process cmdline, e.g. using any of the following:: >=20 > - --log-level=3D"pmd.qat_general,8" > - --log-level=3D"pmd.qat_dp,8" > + --log-level=3D"pmd.qat.general,8" > + --log-level=3D"pmd.qat.dp,8" > --log-level=3D"pmd.qat,8" >=20 > .. Note:: > @@ -678,4 +678,4 @@ the process cmdline, e.g. using any of the following:= : > Also the dynamic global log level overrides both sets of trace, so e= .g. no > QAT trace would display in this case:: >=20 > - --log-level=3D"7" --log-level=3D"pmd.qat_general,8" > + --log-level=3D"7" --log-level=3D"pmd.qat.general,8" > diff --git a/drivers/common/qat/qat_logs.c > b/drivers/common/qat/qat_logs.c index fa48be53c3..adbe163cd9 100644 > --- a/drivers/common/qat/qat_logs.c > +++ b/drivers/common/qat/qat_logs.c > @@ -17,5 +17,5 @@ qat_hexdump_log(uint32_t level, uint32_t logtype, > const char *title, > return 0; > } >=20 > -RTE_LOG_REGISTER(qat_gen_logtype, pmd.qat_general, NOTICE); - > RTE_LOG_REGISTER(qat_dp_logtype, pmd.qat_dp, NOTICE); > +RTE_LOG_REGISTER(qat_gen_logtype, pmd.qat.general, NOTICE); > +RTE_LOG_REGISTER(qat_dp_logtype, pmd.qat.dp, NOTICE); > diff --git a/drivers/crypto/bcmfs/bcmfs_logs.c > b/drivers/crypto/bcmfs/bcmfs_logs.c > index 701da9ecf3..9faf12f238 100644 > --- a/drivers/crypto/bcmfs/bcmfs_logs.c > +++ b/drivers/crypto/bcmfs/bcmfs_logs.c > @@ -21,5 +21,5 @@ bcmfs_hexdump_log(uint32_t level, uint32_t logtype, > const char *title, > return 0; > } >=20 > -RTE_LOG_REGISTER(bcmfs_conf_logtype, pmd.bcmfs_config, NOTICE) - > RTE_LOG_REGISTER(bcmfs_dp_logtype, pmd.bcmfs_fp, NOTICE) > +RTE_LOG_REGISTER(bcmfs_conf_logtype, pmd.crypto.bcmfs.config, NOTICE) > +RTE_LOG_REGISTER(bcmfs_dp_logtype, pmd.crypto.bcmfs.fp, NOTICE) > diff --git a/drivers/raw/ifpga/ifpga_rawdev.c > b/drivers/raw/ifpga/ifpga_rawdev.c > index 27129b133e..56b1866f77 100644 > --- a/drivers/raw/ifpga/ifpga_rawdev.c > +++ b/drivers/raw/ifpga/ifpga_rawdev.c > @@ -1611,7 +1611,7 @@ static struct rte_pci_driver rte_ifpga_rawdev_pmd > =3D { RTE_PMD_REGISTER_PCI(ifpga_rawdev_pci_driver, > rte_ifpga_rawdev_pmd); > RTE_PMD_REGISTER_PCI_TABLE(ifpga_rawdev_pci_driver, > rte_ifpga_rawdev_pmd); > RTE_PMD_REGISTER_KMOD_DEP(ifpga_rawdev_pci_driver, "* igb_uio | > uio_pci_generic | vfio-pci"); -RTE_LOG_REGISTER(ifpga_rawdev_logtype, > driver.raw.init, NOTICE); > +RTE_LOG_REGISTER(ifpga_rawdev_logtype, pmd.raw.ifpga, NOTICE); >=20 > static const char * const valid_args[] =3D { > #define IFPGA_ARG_NAME "ifpga" > diff --git a/drivers/raw/ioat/ioat_rawdev.c b/drivers/raw/ioat/ioat_rawde= v.c > index a95854d5ac..15af07017c 100644 > --- a/drivers/raw/ioat/ioat_rawdev.c > +++ b/drivers/raw/ioat/ioat_rawdev.c > @@ -28,7 +28,7 @@ static struct rte_pci_driver ioat_pmd_drv; > #define IOAT_DEVICE_ID_BDXF 0x6f2F > #define IOAT_DEVICE_ID_ICX 0x0b00 >=20 > -RTE_LOG_REGISTER(ioat_pmd_logtype, rawdev.ioat, INFO); > +RTE_LOG_REGISTER(ioat_pmd_logtype, pmd.raw.ioat, INFO); >=20 > #define DESC_SZ sizeof(struct rte_ioat_generic_hw_desc) #define > COMPLETION_SZ sizeof(__m128i) diff --git > a/drivers/raw/skeleton/skeleton_rawdev.c > b/drivers/raw/skeleton/skeleton_rawdev.c > index aa3beaad18..8896f0c9c5 100644 > --- a/drivers/raw/skeleton/skeleton_rawdev.c > +++ b/drivers/raw/skeleton/skeleton_rawdev.c > @@ -768,4 +768,4 @@ static struct rte_vdev_driver skeleton_pmd_drv =3D { = }; >=20 > RTE_PMD_REGISTER_VDEV(SKELETON_PMD_RAWDEV_NAME, > skeleton_pmd_drv); -RTE_LOG_REGISTER(skeleton_pmd_logtype, > rawdev.skeleton, INFO); > +RTE_LOG_REGISTER(skeleton_pmd_logtype, pmd.raw.skeleton, INFO); > diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.= c > index 6a1b44bc77..bf7afe4610 100644 > --- a/drivers/vdpa/ifc/ifcvf_vdpa.c > +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c > @@ -25,7 +25,7 @@ >=20 > #include "base/ifcvf.h" >=20 > -RTE_LOG_REGISTER(ifcvf_vdpa_logtype, pmd.net.ifcvf_vdpa, NOTICE); > +RTE_LOG_REGISTER(ifcvf_vdpa_logtype, pmd.vdpa.ifcvf, NOTICE); > #define DRV_LOG(level, fmt, args...) \ > rte_log(RTE_LOG_ ## level, ifcvf_vdpa_logtype, \ > "IFCVF %s(): " fmt "\n", __func__, ##args) > -- > 2.30.1 Acked-by: Rosen Xu