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 6EF5AA056A; Thu, 11 Mar 2021 04:03:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3766022A65F; Thu, 11 Mar 2021 04:03:00 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 184A1406A2 for ; Thu, 11 Mar 2021 04:02:58 +0100 (CET) IronPort-SDR: Pw0d71kXTxDVZ/XIBFM0PBg4ziauCa2thO6GXnEoTuKp8PT+HG9otetu4UuT68lIZPOA6NCqA/ fKc6FukXOf5w== X-IronPort-AV: E=McAfee;i="6000,8403,9919"; a="168521354" X-IronPort-AV: E=Sophos;i="5.81,238,1610438400"; d="scan'208";a="168521354" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2021 19:02:58 -0800 IronPort-SDR: w+baiTNTPiL9HEUS7piQn62fxrXHg9z3S0hGHYgGNGN/2FInyzqhyrkLBM+gLfmX79D7n24K7V epLB8w8+SIqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,238,1610438400"; d="scan'208";a="372184263" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga006.jf.intel.com with ESMTP; 10 Mar 2021 19:02:57 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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 19:02:57 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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 19:02:56 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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 via Frontend Transport; Wed, 10 Mar 2021 19:02:56 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.102) 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 19:02:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jLRDY1Ev+xRS+Yk09LPyPTxDS3YXbSytVz6EmloPLBtfKQE8pNa+AVWUCWZ/tMBRcfcbtnvCW6qifkNaOgjwhEor47hzxJRuXL3d3OlmgDjhvtfg2VjbzsE0up9d1sSsFjE6Cm3GV7Ng0zHbYBX9J6/YPPylr4IK6Q8itziLRCs7rCsusu5QaHcZfu8lhi4786Ca7x1/XQlIGquzBdQsFAk9Hn8cJbcuONwskgPn/HSE8zRV865z1t2HsRzzFwR6xheAFt4KPZTEWZUX/qNAiFqSaD+vBkXEPVM1k1U20ClNDMar5SnLHajR8XUPmdfI9tw98qDmzGjHOaTzl5CrSQ== 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=ugE1yBwel63aFAmXS+OrkE3ObMeCVbIMbe7mT80WPHQ=; b=dSejBvjDr5grS2TWzTift7R9KcyX9ugKH/b7XoZfMEiiHRQNIDW51l8WSyNdCz0Ep3RS7iakziV0FbDiuZEzCTS+lEQTguec6/ZOoY2twdjNoBo7dY0NBecs2NVhxGWgTfOAXHvikXrKjviC0TXiu4tcQuD5qbawu7Jo//3McjzCWh89zu2oQwdcPYizr8rHgnWv/rz2UzeSF53cbpmAPLL6s0rIBCNc0vF1JSCbCp1SSuYKi0yOWxkPHN1h+foe2weXWssttVZZ05jVsBx+VYLRw1qB8pD4e0fSL3QhTUEUhfNjnzZFcUZqRaJ6OQmgdyCfTDG0RFlNcoGvYY5O2Q== 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=ugE1yBwel63aFAmXS+OrkE3ObMeCVbIMbe7mT80WPHQ=; b=ohkwUVWN8k/Phq3ToSgYzI/NdubgF7wcNpl7xKr1G2bytw5d+ZAE4RiSDxbAX3QgnOXRMt7+3HDbFlCfzLm75k5CGhSFE+O5JJakAO/1VuHpQikGUU60KqYhntCGirbJHJC6SDxvx9I0SI8hKAfNB7DNJ6xQBUzOfmg68FhC5g8= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB1409.namprd11.prod.outlook.com (2603:10b6:404:46::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Thu, 11 Mar 2021 03:02:47 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::ec6a:25a8:8c59:89e]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::ec6a:25a8:8c59:89e%2]) with mapi id 15.20.3912.027; Thu, 11 Mar 2021 03:02:47 +0000 From: "Wang, Xiao W" To: Thomas Monjalon , "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 Thread-Topic: [PATCH 3/3] drivers: align log names Thread-Index: AQHXFbYZWfsgpgv1dkSDVv5Hmqnl0ap+GkfQ Date: Thu, 11 Mar 2021 03:02:47 +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-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows 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: [112.65.8.174] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a6a78c56-6364-425e-2208-08d8e43a268d x-ms-traffictypediagnostic: BN6PR11MB1409: 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:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ImOZyLj50PIQhnbwVoBZxhlEE14Zm0M5LuN9PH0xAwmb1hxj3OKOFs6eiFbWnVqXPIQ6zwlJECyIfa9RLfrE48ug0EAQFi4/nFhdwGfB/gzy5NeeWbZuMKnGK/xOtNP6cBW6ILhaWddtHcqffDzPATfoUixKGHJqUfKIoy+Q5MNVi3wvGYh9Ru5iiGYuOoECaBIr6bkdiinUUIZpCr7Idm1RxVofu6jQMv9I0M8EUx5HbB0cfJNolOOmS/90IP0K5pRl9gbViWK9NnReNsc3V2Y7UqflFmSVf76Zoh+Tf/F82hKilEnDsxYe7iMAwGgckvJlapMmlPG5kQZugGISTpsBKAMmN/76HFvCvtso9btR3FPxWm9ZJWb5Vksk02yTZbX6hLhT852I+2ywBA/6/UZeNYvcI8Im6z9/VTy1tea/nRf37QCfxhOOGN0ZM3S9UOuR84l4+DRsCIAcdBam+Km+D7QrY7zWWKzTBDg7U+/IyyDgQBpAra7DMi02i4brFTNH9r5qvsbKEBRnzYQNGw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(376002)(39860400002)(396003)(136003)(366004)(9686003)(55016002)(316002)(5660300002)(33656002)(86362001)(7696005)(71200400001)(110136005)(83380400001)(53546011)(54906003)(6506007)(478600001)(2906002)(4326008)(66946007)(26005)(52536014)(64756008)(66556008)(66446008)(186003)(66476007)(76116006)(8676002)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?sLMoDJkvz7t2l16btgOzrawink11HrCuhpPhpkfIl315+j2qfm9bBtz/?= =?Windows-1252?Q?HHTpw38KUAKhrc3kAX0Qu9v6GrIyVNYj/D4xMLSqoEKSYf3PE6u4RVNp?= =?Windows-1252?Q?yVqaEJIyOyCqZHQklB2ZAZC43qC41r6HEdiqgAeaqBi+DGkAAMjp0lSj?= =?Windows-1252?Q?GoN/+X3UM2nDfB/NNm3eG2LJzBpBDxdz87+X0lqLAsARM8PhlOcHz4uU?= =?Windows-1252?Q?MQD8vBCcmOFAstIhyv/tGPY9MhhE/M0oloAXuY97iUBbdeG1GnbZGoBa?= =?Windows-1252?Q?8OQYNFG83ap0wxvCNTWexyZZd2oSNhfcMDXoaOD/014hDv9B5hky289M?= =?Windows-1252?Q?7/1Sbbgt2K689cX90xwvbeC24c7Tmgk+NUh8SndJRqMmqvECjY1raHM1?= =?Windows-1252?Q?3XKwb9K5ro9wDXR4BhJjTK/UoaP4P8Ohe8OP0NSqbN9vLE8n6z3iakp1?= =?Windows-1252?Q?ZNBGOa1qI51f1yGryFTs2rGe8opzc+xIDqfMd65VAxIALDu5fejhGiYs?= =?Windows-1252?Q?3SR3WUHAl2j6B+fmUEsfStLcRjhng8Wr5kZPhzIVrjDPAoa3eMOqAGV7?= =?Windows-1252?Q?2r9G2UuEuoZzdXvuqVfYGdL2IO3UYDHOGfiAaHWiXq6JO5jdawLfSXLB?= =?Windows-1252?Q?JmDLow2eIVCy9lAFyPMNoOT4nefGCCJOCPyNVryW3y4buHoJEQJzS0a8?= =?Windows-1252?Q?5hsp3IjF71fnATxJ6g1d08kv0a8HIpQF4JHzPfTUYsGzw6KizuGcOfRc?= =?Windows-1252?Q?fXILXNl4vTIPwpcc07dvvQXZNj46qQmhlOC98XmsGWsCOjh6G9BpkudA?= =?Windows-1252?Q?pGLjv2WSgIrRNxgMLGcgkTaqX6HtJeO7Tw0pFzRVbiIyWjyET5ROXXuF?= =?Windows-1252?Q?VF9KtPk0INCfnAwIzbQ+bqr9DRib0u28VE3zMxTAktd23Q79cDoB+JU7?= =?Windows-1252?Q?7xSGW7ds/YWvatvZ0cLv3jwhLp0iPReJNkecskv6IbbtLMBCu0fOS1Hi?= =?Windows-1252?Q?PtlsXcmoxyBhPWK1+aJtlmLnw9LUKzRYkBZNetiVY2FXkX/G0ts7yGoA?= =?Windows-1252?Q?2Vv3kI3WCy+xMC3I+ZL9J4iaS6Dr6opK/5/5u2aTggbljtx8uV/Un4S2?= =?Windows-1252?Q?JX5f/ITA6+aVM73EENIEX7n0JfCHstkCe3YlPYNm4nMPy0D1fIcQxOT+?= =?Windows-1252?Q?z+i79xXS6foRLxNWHhUu0CG8Pyuruw5A17G02FKhSiVZUorpYqPPbVJL?= =?Windows-1252?Q?Qb2W8Arl3FZbQCpPu4vLxl8gYPe16PDBLhN/npBGlm9u8Bt135J78Nb2?= =?Windows-1252?Q?AoOod+0lFGfw8tczwMd/8iJ7QT5Twlo3J/5NEWUqv8mmuqP6QVR10UOB?= =?Windows-1252?Q?kbAk8KEg6SAWeOAm1nXw0N3TEoOEYtK34ww=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6a78c56-6364-425e-2208-08d8e43a268d X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2021 03:02:47.7195 (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: b6CwVY4TmWm9mqJOyKMLVmk74Ti9Hekfr1d++Kpc960E22vPRf9p3NRtvhaWUfm6G60NK3bKydwftFJFeV1BBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1409 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, BRs, Xiao > -----Original Message----- > From: Thomas Monjalon > Sent: Wednesday, March 10, 2021 10:01 PM > 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 [...] > 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 For vdpa/ifc part: Acked-by: Xiao Wang