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 B06D4436E5; Wed, 13 Dec 2023 20:16:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47160402EC; Wed, 13 Dec 2023 20:16:58 +0100 (CET) Received: from CY4PR02CU007.outbound.protection.outlook.com (mail-westcentralusazon11021021.outbound.protection.outlook.com [40.93.199.21]) by mails.dpdk.org (Postfix) with ESMTP id C9ABB402C3 for ; Wed, 13 Dec 2023 20:16:56 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L+S4+WYgWQh3Y7jRYeTg6XQ0RQ1Ixt+Ttxx4/IZ9zeiVcmHM2AjSsMUEHxNyghMdeaetPAg51ncFmgwd5SGqRDmmBs5hXc7mjnTd8FjP5W6zp9Sis8npCP832iLQkeba/6PR4BkbjSn/FLHr1/sgcnNRtbbo7XSK/lVdx+H19KqxXqhdH8HiXX7y80v7A+Eg411tzX0aDLSuTbfCsF/reAX6+8z8UPR3Ddomx5hNjiysxOpohRfHddVXMP9Sa1nWMzzdUKw9CZ+W99M9nTnppqnIh3L7cbQ9sVEXr31ZMOMKruFVagZ/vQgeNlvfWfoZM+Qxzquu1osm+GfxK6ArJA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E3I1z5GTG0T1OduYP0UVAw5NmLQxlQMGQknS13lG5BM=; b=esQPVl4UZLiP3cxBOh5K+sfFRlIQwaMRdOvmF8GuuCefb4NS1i73y5gKK/XFdKawjMLzfkaWda4qYrLPUlhdBcRsxqvJia2D9kEVYKC8hsQoA4TKJDXQEBwDwuI0//cbNwsP4fs/HgMtcYzx27ffHPd0l/soojpfGBePZMBai9glJldcQ+5LD78uYvOJsVqspISYs1167V0hIr/XEtJY1SH0gfh27nd6Iy9BWr3iILewdnNe1kbzw4S1oGjUw4md7mLUgW3Fhz8M9HrbjCGM6cpUj6G1vowTPtAAQsRijdEtypzpGcQJeWmDQT5HgBAtr1E0V7M7aWI/soKiclTudA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E3I1z5GTG0T1OduYP0UVAw5NmLQxlQMGQknS13lG5BM=; b=adcvbIIrUMQUeEBXEbZ4KsBHxSV27xUcdA7JvtMSbsS38RTkwP3LSWpbCAujrzhOCzw3wxlm4aNouJdWaZ/yMm8A4Dh1Vv228NMdSxC+GOeWbXz0y1ZdsnEWWbPyVep8RhN6HmXJLdTemfna7cYTcjfvLdLKdir/1ua1sNVxMh0= Received: from PH7PR21MB3263.namprd21.prod.outlook.com (2603:10b6:510:1db::16) by PH7PR21MB3262.namprd21.prod.outlook.com (2603:10b6:510:1da::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.7; Wed, 13 Dec 2023 19:16:54 +0000 Received: from PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::3c1:f565:8d:2954]) by PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::3c1:f565:8d:2954%7]) with mapi id 15.20.7113.001; Wed, 13 Dec 2023 19:16:54 +0000 From: Long Li To: stephen , "dev@dpdk.org" CC: stephen Subject: RE: [PATCH v2 10/25] net/mana: replace RTE_LOG_DP with rte_log_dp Thread-Topic: [PATCH v2 10/25] net/mana: replace RTE_LOG_DP with rte_log_dp Thread-Index: AQHaLXuThLB7Np/3e0q52mNkalmhsLCnltbw Date: Wed, 13 Dec 2023 19:16:54 +0000 Message-ID: References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213041920.729403-1-stephen@networkplumber.org> <20231213041920.729403-11-stephen@networkplumber.org> In-Reply-To: <20231213041920.729403-11-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=e176fda6-85c4-4db0-8b40-ca737cfc51af; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-12-13T19:16:40Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR21MB3263:EE_|PH7PR21MB3262:EE_ x-ms-office365-filtering-correlation-id: 18b3dfe7-2e58-4ea8-016a-08dbfc10114b x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yzHt4Oh7sAOUuLuVROZOFPNnkbHrtrjVu1P1BaV3bgJJs2w2ZmfpUNYHxS3bDFoZlivHA3VaCTAXCeqJC9ayVPEeVVGQN3NAyZMLuDS7iBj1hY0PlUVLqc6zuHxidrA1Krh+zlmyR8TAz5zsWIJB4k+lFHVfcNizudgFlIed8dcGKmflEneWA5FrIAH71n/31I0my/+KLj7OWAsyiuTYIp/bt0ektwKRnX0qJufRGHY/GFWfBTOY0EaFYRvAAjto1eJZB/xn8W1w1CahsAiBHFp5iERfiZKJTUsogBkAnTMTzWTS7bl5BwuBnFqlPxeSJMtDTI4wA4WfuToPaVZYUAff+UCzaZDYhtGkcVHOW/hyHNEFK3IH94H7LfZP1BBdBEZdfe5kqrM7N9rBVrQgU4xVSrthee66T3fPqwrb/UIPXrva/ar1GaCfqOntbAl5Vm9sG/nu4oSez9bFqhjByKdxqnZHjyyUu/0GdnWdegiy8zP9nbGlgehdbqZfG2df8V2TWmwpwh/dtkFNKl83o09uPrGiH+i1NrixPOyen8xVFCBgKT4psQjGz87k/W8pT0yq0blbGQvkj+FSUzUmSRcdxZP2d+XajAxwz18wHmiRx07JRZ+mRgBqmuKpUefgs1TNxzNs2xHeKMcuq/68X7vs6wQ/b2HDkZ4SUxPLmvM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR21MB3263.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(366004)(136003)(39860400002)(346002)(376002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(55016003)(26005)(122000001)(82960400001)(82950400001)(6506007)(38070700009)(86362001)(33656002)(38100700002)(83380400001)(52536014)(4326008)(5660300002)(7696005)(71200400001)(9686003)(76116006)(110136005)(8936002)(66446008)(64756008)(66946007)(316002)(66556008)(66476007)(41300700001)(4744005)(2906002)(8990500004)(478600001)(8676002)(10290500003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mCTU/YiYFrW0u+s0hZ3CgTLuXDCIY3qbmcCkpuuYBUQ0nm4iSx9RElaeDEWX?= =?us-ascii?Q?WJgqSyZeZx08ylztiW376p18QiLNR+B6Ok5gBZCJdTI3JhFkXhSb/7m72Ew1?= =?us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TR9nx5cevEYMTPmLRPktyWircsIh?= =?us-ascii?Q?FYmowii4dB72t7KtuFU2wd8ZXpj99NtJAjgoIjSSawYQ4eq7VCaB6DzAEr6u?= =?us-ascii?Q?2LgsgfHjhjSVazgtJiKQbR8v0u3KTnd+CVSy8THAwsko5B/658DNziKIza5m?= =?us-ascii?Q?PhrD1+lUkVk0a4Fc02KaWwzynRomCmUbSTE7DQC3jY4zYadcO5GYbebAQD9G?= =?us-ascii?Q?pWKbjUYoVvFKnqc3WdCvnkztFzmcsIFF3SyJ1MVwMFoXyrD4kVjAVRXqW9VZ?= =?us-ascii?Q?oaXHuDLM/D8IuEtJ0+TPvwog83xjsRVK5ODzaHY/JCm5gc4n38e1G/sUPTio?= =?us-ascii?Q?V1cJl+IUxjkM5tgwXfTKAz+ufoXR3cWBccW9ITzkHlkMIBfonBcbdsGg7kPo?= =?us-ascii?Q?92aOThrzo1UXyYJGJWkiUMUpFYbUewIOMreig5R8SA47YR+prpsCl6BfQ6YY?= =?us-ascii?Q?Ypkt3QQ/W2oFDGoxeWRMZYoINoWYkoxLEkbSrPZs2QVmOZ28pfbx3urpHdC/?= =?us-ascii?Q?ur68reWt7BSpElDhhJuBA8mQyM2dTXOKoE5alJeuZW4bgxF2ccvIjPpOLMxp?= =?us-ascii?Q?5qVFwQPzKMxy649wklp45J/HI4T2/AD3Iue8LpMA?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR21MB3263.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18b3dfe7-2e58-4ea8-016a-08dbfc10114b X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2023 19:16:54.2292 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xC4uEpHWCtROeRMOIJ81k0sjJGFPMlUuKw9cFGpjwpsJC1LCCyCqvQxG7OEzxSOfDzONcdR1eKjI8qkg3GXlSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR21MB3262 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 > Subject: [PATCH v2 10/25] net/mana: replace RTE_LOG_DP with rte_log_dp >=20 > Want datapath logs to use own logtype. >=20 > Signed-off-by: Stephen Hemminger Acked-by: Long Li > --- > drivers/net/mana/mana.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/mana/mana.h b/drivers/net/mana/mana.h index > 6836872dc257..8d60f9172d44 100644 > --- a/drivers/net/mana/mana.h > +++ b/drivers/net/mana/mana.h > @@ -467,7 +467,7 @@ extern int mana_logtype_init; > __func__, ## args) >=20 > #define DP_LOG(level, fmt, args...) \ > - RTE_LOG_DP(level, PMD, fmt "\n", ## args) > + rte_log_dp(RTE_LOG_ ## level, mana_logtype_driver, fmt "\n", ## args) >=20 > #define PMD_INIT_LOG(level, fmt, args...) \ > rte_log(RTE_LOG_ ## level, mana_logtype_init, "%s(): " fmt "\n",\ > -- > 2.42.0