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 8FE34A0A02; Tue, 6 Apr 2021 07:28:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 201B0406A2; Tue, 6 Apr 2021 07:28:01 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 1B43C4068B for ; Tue, 6 Apr 2021 07:27:59 +0200 (CEST) IronPort-SDR: UrGmiIB+WHttW9TBRjckECKeiznMHuBG7hXhJwf4AN5g3zcCzInLvW0GDtFrn7PEAdoFeFQ4uJ usbG3uKG9vpA== X-IronPort-AV: E=McAfee;i="6000,8403,9945"; a="193025490" X-IronPort-AV: E=Sophos;i="5.81,308,1610438400"; d="scan'208";a="193025490" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2021 22:27:58 -0700 IronPort-SDR: SjCjku309AH4qB7/1PDp8dquqAMgVwb9G1zytrSfTCxvw2Pyerx7nLejeNySVc+kvwTcBzP9fz 1eR5EoukY2rw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,308,1610438400"; d="scan'208";a="448391424" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga002.fm.intel.com with ESMTP; 05 Apr 2021 22:27:58 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 5 Apr 2021 22:27:58 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Mon, 5 Apr 2021 22:27:57 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.172) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Mon, 5 Apr 2021 22:27:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bjxD3Mz+xUppaT2fuMOChdoYf5gW7urpszmGDi1qHu07+qTyKpfpSpk+ZJwUQbHn6l+qNAkcoPyYU7AJET7ZGiiEOCKAJeGBMjt+f1e5IroMXupSa9UXW7MMq+WrQvEaNrOVKvs90eyfsOo7uejw6faPANva5So5LFl/30ZNHbaH+L53vagohdHtz+5zAC+htHeG7Q7Rp8bboSXVJ2vs5K8rpoF1Ij5MIyfvlKA6gRezfD4PMB/zV9PsIIXQdpagz7y2HAYiUcOUCbNYGZZPmwahhRKkcepWMImXAvQ0Mwl6rD6MWZP4fksDuxTU1exKkTAVLxLdSstDQQesXW2f2Q== 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=BWdzQaR9kcVX1jesaUEko8A+F1GHeCUTGyF65SBw8VM=; b=HX3l29oYgQZp/ITvaYIwPIC86qDvObwuQ4m4VCHLEn8Ngvh22A9Yh1ujQmK3+t9GVF7xJPHQAyolaRMJZUy5yFXKFCLaS1lurEkbC8hAZK4MEYnJkbqPB7yGQ0N8aNPp6zQwagzs8VCU4jc/799f1GTaVcFJqDCnWFXq1Ev4QGXbU/GeCn+0HkpAfNVExFu962PGFtJreyJmS1ZRKAq5YSTAnyV/w+c4qFzNNq/hNKXzQQDcjb7YpdCKokWpaDD8CTUlgkf+Nf9D/H7MKNlzWEDgK7LwjRxfJwOe/drayxUnPTfNoMy0eHFcAvmt4FO6wkDTA0NqKS3K9YpJQ0dZhA== 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=BWdzQaR9kcVX1jesaUEko8A+F1GHeCUTGyF65SBw8VM=; b=h+V90TlAHuxMjNpt34d1N9zwm5FomvadUK71qdqp+8/txcl/0RaUYbM7IgpStT9k9wj9DSViicixu5yYeNOwreEe4DiNgsVLwH+7/9R6g71Ij+GIg8FrCGIm0g51aEONYX0go6QlkA1TGoaW/zmxXJ52wY2IYIInuq5RgTt53CA= Received: from BYAPR11MB2901.namprd11.prod.outlook.com (2603:10b6:a03:91::23) by SJ0PR11MB5184.namprd11.prod.outlook.com (2603:10b6:a03:2d5::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 05:27:52 +0000 Received: from BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::4447:5f1e:984e:57f3]) by BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::4447:5f1e:984e:57f3%3]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 05:27:52 +0000 From: "Xu, Rosen" To: Thomas Monjalon , "dev@dpdk.org" CC: "Richardson, Bruce" , "Wang, Xiao W" , Hemant Agrawal , "Ajit Khaparde" , "Griffin, John" , "Trahe, Fiona" , "Jain, Deepak K" , Raveendra Padasalagi , Vikas Gupta , "John W. Linville" , Chas Williams , "Min Hu (Connor)" , "Zhang, Tianfei" , Nipun Gupta Thread-Topic: [PATCH v2 3/3] drivers: align log names Thread-Index: AQHXKgLt6JExmPkw6UWvQie1FbusaKqm9xYw Date: Tue, 6 Apr 2021 05:27:52 +0000 Message-ID: References: <20210310140107.2730088-1-thomas@monjalon.net> <20210405100301.657768-1-thomas@monjalon.net> <20210405100301.657768-4-thomas@monjalon.net> In-Reply-To: <20210405100301.657768-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTI3ZDE1YmEtYjg5Mi00ODQzLTg5MTAtNDJiYTE2YjA5NmUzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibjhBU2dnUWJoWlhiK0lyNVNoMkJBdlZxZG83NUpVbDhCVzZKdDllMkErcFZtOUc3cVVwc2VcL2pmdEdkOWZhNDEifQ== 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.217] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6a0f7130-0ffd-4461-8f81-08d8f8bcb9a9 x-ms-traffictypediagnostic: SJ0PR11MB5184: 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:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Y3wtlLz+w5gdgBOvjRFi0KfP0HSCiXPwOv/+xor+nWFgDWO7iFLJCGeo3GZ8emwwjs4Nr2dh9FxlEOiZUZ9HJtWqqC5/ouFzz/pskgKo5W2UbsRHM96uHOHM+umSVwiX/lavROQXGuhVMKZV7z9fkxXiA+Evd7JVNB3oXiPx7D+W697T4qcAiL+Og0JmYxLbEgw2z59r+tfwuoO1/hovprMIHaCCw27s37lYzdw7fcuivA6pcIoVXGtW48cUXXrP25NboM+1HjsLmqLRxsdykMXy8DnTU/TvlDL4n6TGcr2eXJMz+ws/ZFXK1JrDt5Ru8fPAVDc1GUucpQ07aRsdrW+936SW6nZIBu1mlyhjd9YwWDFROd8bMvvyWJUscyrepzH5A4rs5lXqSDYKojST/PcHz19Rahru7ZjJ5F0VfucOYZ55bhbdhCkPDUIDiteoitVRqb/0zj5KbRP1IAXEFdIyD027Rhhp+7sMNrlu3c07hmc4fAjalc6nyyhnD5RZyCIJqBohChaKAU0bK5KH5AMmIv0WzO/SjnkkJSfzhGus5jcgZ0oLi+HvRpOdh2jhiQeQz1ttU+XneQKiQfG7TS6U2ri3/BwG4oCd+xn9zMXaFiEELM1ENyE9ZkuKveFs43O7LMMIFh3ShHvvgllCHebv7984eGuvRTZdX6yPMtc= 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:(366004)(346002)(396003)(376002)(136003)(39860400002)(316002)(478600001)(6506007)(54906003)(7416002)(66946007)(66476007)(66556008)(64756008)(33656002)(26005)(66446008)(110136005)(83380400001)(55016002)(186003)(52536014)(76116006)(7696005)(53546011)(4326008)(86362001)(8936002)(5660300002)(9686003)(71200400001)(8676002)(2906002)(38100700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dyvktw/TquzUI5wjcBn3u8XPH2JHDGEPoSV9FiNd27yAy036NntqXjkfbOLp?= =?us-ascii?Q?H3k6G082ICMk6aLeA9zkv8XYZ9WlVwT2k90gMiIFIlB4ra9rONF0iP+oJ8Hx?= =?us-ascii?Q?LLjelvoij7k/rii6vnucHGNENwGJ5OYX99AyNN3+Y3kjtub0F4yaw4ZMWLff?= =?us-ascii?Q?SHt86g1INbUpqyxq0crmu9/NdZ/4qaQvGPjO8QP0/AgFSeVoPvQrU4vjIinG?= =?us-ascii?Q?n3Og19wg5gC+MPNHYO/acTJHcXl6i/onkCTnngHqbDSCOQzLkSHtacKxfwNJ?= =?us-ascii?Q?ePNBdmChLNV+eiFkN7kPPbBwsjxh31glefWh3OuMG733aIBNz0+dXx2PvYWS?= =?us-ascii?Q?4Fn98B8hvD+lgn/HlyliTgWoVklPZGpekeEIcWeISgr8fGeqruYDpHma6lVM?= =?us-ascii?Q?jYsfSKAefBwVRZG3C96WDysbse4Kin4uQUHW1N+XtkF5ZkbfvIwuC+sKdQ38?= =?us-ascii?Q?cAxaAdfYPsTaVJ7By7zYSLLwfXTZDW7q5VQJpU6YNf2LsT2Rmyy1vwlpJjvi?= =?us-ascii?Q?u6TY5GW9SpY74tP+FeaagNzf2acMCF8HsE+IOQ/ADSviAH02CY7dBg5PuhAK?= =?us-ascii?Q?xJD0lCXlApQo2bPkSkkCuaFKQd9/za3kcn0GY8vgIyc2l7OtCxf5a3IgNsrE?= =?us-ascii?Q?Y20yvrv/QpWsjKVSbOTzqC6CJ9cS/he5zkkzb2FKh5Xlp7ocntumFREvpWMZ?= =?us-ascii?Q?IDhqNzHyrQo0/fzCmnNoC91TwGCqgJIBwltvtp0NcEM1CD+LALnmGID9nFQa?= =?us-ascii?Q?arBe0cuC7BsLpNndviBJZmi8qeabudYt9ihvnZd11V47j6umASmJipE2SnqK?= =?us-ascii?Q?/m/vS6sgAE0ekcYsg5kBycTJ6qiWSqrlsRU9j1ii/DilIxjwvfLTBUONChT6?= =?us-ascii?Q?rnE3L3u4zIQymAbtc/hG88iemQe1eVBVboBH57HDhPewYNnaVbF//FpX8Kqc?= =?us-ascii?Q?fk7DbLvzm8P4Wy3wjFZ0VA3iX8pVWJF0mDrQJ5TFLi1NwXu/IxacjgefEzcr?= =?us-ascii?Q?DhsVdT0LsBWm9OvIBQ5UsRu9rvv4APQIcsb3ZnlBpjZlhBOQz7JQ+XB4zDRe?= =?us-ascii?Q?N5apoK9qcib6XffD3vFXpDg6j4wjOKoHurf1NO4KsiTFUcGJq/pftyQDqKcI?= =?us-ascii?Q?riWlI/gIlYObnDEPZAXdh55BBCUGUL3Ywlbd8RAdWWACvaZQzgBvQjeIhJ63?= =?us-ascii?Q?bYGDW3lXQFnXQnnvpNSNRIQuVA8kXdo2Pe+aTRk+5RD7CCE5qT0pB7kNmzZA?= =?us-ascii?Q?8+qkgOWGLS6hn3vxw8shFCntTFA9NCQH+wOHjrVdDWH8PdRA1cRnbC/SkwPK?= =?us-ascii?Q?Ld4ZZ4ionD4qDOSCnl4FnIJj?= 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: 6a0f7130-0ffd-4461-8f81-08d8f8bcb9a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2021 05:27:52.3283 (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: EHqF/lAT9hUgY9zluaAh8VkirzoBfZLnurH/zvkLUyANmyvaUNJpF1/9rDO6ZhV8HvDBo4YfX0GtfRHA6Y54ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5184 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 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: Monday, April 05, 2021 18:03 > To: dev@dpdk.org > Cc: Richardson, Bruce ; Xu, Rosen > ; Wang, Xiao W ; Hemant > Agrawal ; Ajit Khaparde > ; Griffin, John ; > Trahe, Fiona ; Jain, Deepak K > ; Raveendra Padasalagi > ; Vikas Gupta > ; John W. Linville ; > Chas Williams ; Min Hu (Connor) ; > Zhang, Tianfei ; Nipun Gupta > > Subject: [PATCH v2 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 > Two drivers have exceptions to be clarified: > pmd.vdpa.ifcvf instead of pmd.vdpa.ifc > pmd.afu.ipn3ke instead of pmd.net.ipn3ke >=20 > Signed-off-by: Thomas Monjalon > Acked-by: Bruce Richardson > Acked-by: Rosen Xu > Acked-by: Xiao Wang > Acked-by: Hemant Agrawal > Acked-by: Ajit Khaparde > --- > doc/guides/cryptodevs/qat.rst | 10 +++++----- > drivers/common/qat/qat_logs.c | 4 ++-- > drivers/crypto/bcmfs/bcmfs_logs.c | 4 ++-- > drivers/net/af_packet/rte_eth_af_packet.c | 2 +- > drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- > 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 +- > 9 files changed, 15 insertions(+), 15 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/net/af_packet/rte_eth_af_packet.c > b/drivers/net/af_packet/rte_eth_af_packet.c > index bfe5a0a451..a04f7c773a 100644 > --- a/drivers/net/af_packet/rte_eth_af_packet.c > +++ b/drivers/net/af_packet/rte_eth_af_packet.c > @@ -97,7 +97,7 @@ static struct rte_eth_link pmd_link =3D { > .link_autoneg =3D ETH_LINK_FIXED, > }; >=20 > -RTE_LOG_REGISTER(af_packet_logtype, pmd.net.packet, NOTICE); > +RTE_LOG_REGISTER(af_packet_logtype, pmd.net.af_packet, NOTICE); >=20 > #define PMD_LOG(level, fmt, args...) \ > rte_log(RTE_LOG_ ## level, af_packet_logtype, \ diff --git > a/drivers/net/bonding/rte_eth_bond_pmd.c > b/drivers/net/bonding/rte_eth_bond_pmd.c > index 24e3cf3c2e..2e9cea5b8e 100644 > --- a/drivers/net/bonding/rte_eth_bond_pmd.c > +++ b/drivers/net/bonding/rte_eth_bond_pmd.c > @@ -3775,4 +3775,4 @@ > RTE_PMD_REGISTER_PARAM_STRING(net_bonding, > "up_delay=3D " > "down_delay=3D"); >=20 > -RTE_LOG_REGISTER(bond_logtype, pmd.net.bond, NOTICE); > +RTE_LOG_REGISTER(bond_logtype, pmd.net.bonding, NOTICE); > diff --git a/drivers/raw/ifpga/ifpga_rawdev.c > b/drivers/raw/ifpga/ifpga_rawdev.c > index 05d79bfcc2..d9a46ef915 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 39237aecf7..7a06f97429 100644 > --- a/drivers/vdpa/ifc/ifcvf_vdpa.c > +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c > @@ -26,7 +26,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.31.1 Acked-by: Rosen Xu