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 6CAC5436E5; Wed, 13 Dec 2023 20:17:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D20A410DD; Wed, 13 Dec 2023 20:17:26 +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 BBB7A402C3 for ; Wed, 13 Dec 2023 20:17:24 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FUhb6PVS5NxqwCeXLFhIBtX9jxvnESSyMkV66/XVFerm/6fTJtxBfkW9+42zg6qvWM8ttYZXAJXiWM3jPZwaEmePxsCi1Cm/nqF9vTbPjg4GoygJSiJyyXqR16mXwopXZlyDIouYB3CdbgVbO23pLQdvttWVdfYo1vcfa797SPu4ftPcaCiV4Wh8Fn6tKr++Z7zd/2fg5yXo3TYGBObLgVeIAMb8UFwMr2/DOFO8SwQjwvyqRi+4/ArMUthYrZDN8EiLfzpW+ZBqq5cgZrh4TqfYoZYOfzIpNUGVXFjqLp74q0lO09nyGNLpIDkrFv4nPPVu3RVBJKaABRTWV9nfgQ== 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=XRbCUDvNkwdvGgxHqnaNFg6RNrY9KAKksYkRaBDQqrY=; b=W2VPj/7X3OD4V58DXpWQMcBIwSNP1s3dw8ARVMV5GYop4k3aE1wlhrQ3tdFt2FtpQWaLva5HJCvyuilUqqxgglkjWZ44tZSwxee3r6RgjAbYpjzCiEXY0TfegE28QiPi1PKRsm3DLx7a3qnEegh2iA/aRHLFsCQSNZPHiXcSRaBb3hLcFVfOqg0LKKSa2k4p7wtnWFUS5f7+ugp9akClaMGLQ6A13DNw5uLnF26LcYQiPryCSqXZATqWTNev2Mm7ib6b8FiuN3hkLB0/VfhGc1aQyFHbYuEVTBKNYlrSdtmStP3wRA/btmjoqJuUUvVkljjdNpZowmuAE8ie7w+ZQg== 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=XRbCUDvNkwdvGgxHqnaNFg6RNrY9KAKksYkRaBDQqrY=; b=VR+/5dr3ovvCn7LYTHN0ra+yUmwObDFnj6usqBabUvu9wd6Oz1Q1WAJ2rf4YVDqeWBNrrNFUetkVDq2VdNmfRCpUTH2iuc/VSS3pcpiQjrTmG6ILawp8Q1XmVQUK3P1Xzgq2pNlQbeykX1K0csjbzru1P1tiED2Mc3VY5QufEHM= 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:17:22 +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:17:22 +0000 From: Long Li To: stephen , "dev@dpdk.org" CC: stephen Subject: RE: [PATCH v3 10/37] net/mana: replace RTE_LOG_DP with rte_log_dp Thread-Topic: [PATCH v3 10/37] net/mana: replace RTE_LOG_DP with rte_log_dp Thread-Index: AQHaLeLWEtGMFgifw0SolwgMQBN94rCnliXQ Date: Wed, 13 Dec 2023 19:17:22 +0000 Message-ID: References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213163820.894987-1-stephen@networkplumber.org> <20231213163820.894987-11-stephen@networkplumber.org> In-Reply-To: <20231213163820.894987-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=c7a337ec-e262-46d2-9eba-61d3a636dcee; 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:17:05Z; 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: 38bbcb58-e4d1-439e-4105-08dbfc10222a 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: Ni8A/8qsS8/w7dwNNhRI7WZgVuSlN51DsEHbksxQmAzFgNeAFBaAKtJhI1zYamJeJhdttzWOkfGYWBKg8TdNCSHTbDEj5tGt7VPsbgc/waqqBnoZtVxngmJ+CYbhcP9bWyWxAebu3yWugOTMJOHIrRiYc0H9NI2A4kk1kNmI/UAYHKZNIonuUwZUhJdEqidM0xfWtPk92B8V/Sc93om34nY8ALzkqdtixXgs1vjVqvicYYjWUBqbEuR9jymcHG8E6THTnfFwTJ4uF6FXzAFsMp0mwEkxe5kKSxL4GJHxDJiFqpsywmCnLxPh9n7/wIKzlZwktmeqYJxKHjS3jQj/hK7C+hMF86jzyZ2s/15ewrAo3Tzhggc/qkyuIIo5v7uY/1SiBoZZvDZ/2L/eveH7afvoChuOrRh4r+Bfoqg6sBN+OtqwgWtp65yDM0DufhwuEiKIHBhLdriIKJh/AlsXRynJzQRFXHEeEZUw2ZvhZ5eWvMzGVhu8igZU/kFbEgIlLb7iwFKk5Ta5LdZMwcx+QrES55be/tysznP9o2+CVnJuDfWqs0JhIjPR2qBlZPQykCRz3fXaC4vPNlfo1Tgu6SQy4WtKgU8h1gk8YIt9QygZd4CbbHQSLptFtyYPxCk2cjX08NeqzHNYtbC0uNajoH9eOosj+zJ5VrzduOxGVCg= 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?uWznaAQfyun3pIi2s5CJm1/n145SHEWvw6FTOBypVwx7NDzwGr89N1///NCe?= =?us-ascii?Q?CnLjN1K8zWX/9s0XfV3mkPWFc76poFVkLC1FpWe2mDF7Ai0LbQ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SCvUpcTha9RK2pczAEXZD8e05S0gYh1guz8g1DqZEy9V0?= =?us-ascii?Q?wl9vG3ypeAf+VoVooT7BbRUOfGPVdkT0ZhM9xNHpR97L5D2950xGGG8KGMsb?= =?us-ascii?Q?UirAXt8P7AoF7JkiTVrDWAHKI+s0vOi5BJ6SptXtVVpv4NfgVbbJ0ub9HDoF?= =?us-ascii?Q?vJ6+X8FE3Dz5CfTtjjW9mmnqbrkh6PGTL/Cldwubl8Cej73Z5l9YOWIfkMns?= =?us-ascii?Q?3fBUwMz6vUbqnvEGtiDRTscQEAHyX845ctU0SCuVxGaN0SabZ4eGPHEA8Cur?= =?us-ascii?Q?enYr9JJgqG4n5UgzSqPC4R97hI3hBWZFmgC7thUcJ2QR2ew+LgbEpf8NniTn?= =?us-ascii?Q?diU5klu8gXxEnht9bZT7RlZCU2e+fxawRoc27Zj+X0NxuYJLLEc/Tt1fh1iV?= =?us-ascii?Q?hID7OcZ7bSV7WmlBdu4HjAJTrf5/EwviDk9VGaJ6iOV9zIg3usBVrcmLWrGG?= =?us-ascii?Q?1raYxzLGLktMBJM0jeAk+hyLoQOqLYEMPKPqa+M42RC5IMvpwRApjbZlmrf5?= =?us-ascii?Q?YHEVcYplY1N5RdcVQqcWXN8cd+TGHrY027wx/v1/kv5WwTDXtCmNP6GXqfPb?= =?us-ascii?Q?AtIL8rhoXhkfcFOHpi/0IG22f/NZo9aGbX7Wf/e3?= 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: 38bbcb58-e4d1-439e-4105-08dbfc10222a X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2023 19:17:22.5679 (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: Cm19pLNCevCP1PYLqyaXsVxW1/YKTnSrQ7kZe+gBrfLWqnjV3JpwewZUrlvxDG7dIE9nqUiA9bRBGt/v1ttcqA== 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 v3 10/37] 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.43.0