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 5CC0741D40; Wed, 22 Feb 2023 17:34:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C7C04305E; Wed, 22 Feb 2023 17:34:36 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 5FED64309A for ; Wed, 22 Feb 2023 17:34:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677083674; x=1708619674; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=e1IzMjXNjrbTR7x1/hPeFboKTmiisua2hrNs6bhc9f0=; b=HlYxbGODJBzBqmz0NoFVPOj4tKw1ucAIpEB8FEyGeKyQAbibJxiTo3wL r6W8Y/CBr+0xvwNULJQuyGueB5LWbpgbVu5l7+oMbstnx465hsgWE7fiR fxBqnbFnkLRinWIAt/IKkRGz3+ho8MIpa7GSFJi5Tb+nBwNpW84lQMrb4 gasF84qsPh+ttahofVAdhCwhfHEAh9IyyqKE5jukwRObSeo7owDIa6gWW JYY9dBz7DeGYYmlRJeZAp1RD9aBOeaPmHVv1OW/459DAcBC3/E7S+qRTv kHbwLG3lEk2mHy7NVXHvTubya9LiRX4FkSLL4EkhQdINyjEvKNZq8dTc6 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10629"; a="419197873" X-IronPort-AV: E=Sophos;i="5.97,319,1669104000"; d="scan'208";a="419197873" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2023 08:34:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10629"; a="672122656" X-IronPort-AV: E=Sophos;i="5.97,319,1669104000"; d="scan'208";a="672122656" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga002.jf.intel.com with ESMTP; 22 Feb 2023 08:34:12 -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.2507.16; Wed, 22 Feb 2023 08:34:12 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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.2507.16; Wed, 22 Feb 2023 08:34:11 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2507.16 via Frontend Transport; Wed, 22 Feb 2023 08:34:11 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 22 Feb 2023 08:34:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aSrGUaLQk2mzBUyzz2UfFYXF5NhuB7Q3yz6BSibOQNvYoY89GFW/AH8ZIfzJaEXMPCrs0DyHsoWTke+hzQJO5/OtvASM5X6WS0wQX0nDnKciO+X8bZ0xz5CREnjEkCH5AcdB8tyzfozHsY2atEyENSLC90+YQDEI4WLx9zmP7F9ZD0rZRUAxQajYb4X+wFQQiJz6jknzLLSSjQa9vOOSO+cTGSrbHxYAMJK5+847X2BqktUiaeX9uz7WblAwajXxOtKS0AhsHlzGPpmiEMbq7zMKMf219Kj3IqFFaSZI0W/lWbTXRcQky7LJ25XBqOw20DDefERzdBFKW0GW7z6P2A== 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=xw3ZzyEACOFz7efsbzEbSt8Vc1QaBwiJM1yW0MfOB5s=; b=XQIfG/0+iHicybxvXXe9gZUxaCX7Dv98A7uL7eoSV1EAtMQVdkPibh7H1Nlz3Dd2j0SMdtnN7T33XsYGD6AvqGJWN4hIo2lvTDxQWRYvB1jzArEvREBR9O8s8m0GLHSx/58/z7I2+bv7FODsOFPgxgJ/sgM3lg9RleLDzYwYGSLC1fa3f6Uhzug3Ex4+zELDJKTxn9NLb6e1TAwhKKlu0G1VksJAbNkjcEghUDlpLj4ejwPXNyYrZqPlZCJALW2d7OuIuOxeWO8oLhFPqWbhSfYQuS8bUR0EXNGT7n8p29XmRigvskYlYt6GCFBgK3JFJ0AQuvY2qsnSyGyWmKcM7Q== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) by DS0PR11MB8206.namprd11.prod.outlook.com (2603:10b6:8:166::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.18; Wed, 22 Feb 2023 16:34:08 +0000 Received: from BYAPR11MB3799.namprd11.prod.outlook.com ([fe80::4242:36e2:5a81:ff49]) by BYAPR11MB3799.namprd11.prod.outlook.com ([fe80::4242:36e2:5a81:ff49%7]) with mapi id 15.20.6111.021; Wed, 22 Feb 2023 16:34:08 +0000 Message-ID: <5e604e96-96a8-1a6a-aa37-8da34e14021e@intel.com> Date: Wed, 22 Feb 2023 16:34:04 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v9 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Content-Language: en-US To: Stephen Hemminger , References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230221190208.514276-1-stephen@networkplumber.org> <20230221190208.514276-8-stephen@networkplumber.org> From: "Hunt, David" In-Reply-To: <20230221190208.514276-8-stephen@networkplumber.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0656.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:316::12) To BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR11MB3799:EE_|DS0PR11MB8206:EE_ X-MS-Office365-Filtering-Correlation-Id: b7b67de6-2b66-4ed7-b21b-08db14f29ecd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: abxPy5O5MdKvpl13893DChON+FUXXgRr4S2ljfTZZovNxoErEO1PnWvcrOiDasTWUAKtifR0cTknm4r4dvi7hxhhqWIC82ekDHAExprpHDVSjsG55XB+pJK0r/SChxWlGlol/OrlemXyIRf1lz96hjqtTo6accr6QMcpZv6pmMhlvj8WvV3fS2OT9Hx3qEuOkQQfwkPdtxCGuWIZfbwXITVYqMLft5kry+93kXZi7LqQEXfJ/07tFZBA3Sl3Ll3wqlk6EaNqILmsNPir3TtYoFf4jQMR3TeUIs2F9elabd2B2FT/JT9M5xhcfwHYEe6vG5yhtSqme1TCZWH7lF6E7fQLclSjI5ktIHIxQWBPJlsZvsLpeNN+WzhB4wZ7UzKOozdCIxAZjpWwYrQBl5h5rKBJmKmwkThEXnC+m5Tqgk4mN96Dja3wTZzyUG52d2Ej2NG0i8B/MrcTl4XfyXZFxU2HGiN09YfEVzXC0rbP40pn8f3QRB3SeZbU3DZDhPkpQ13n1gD/iRBYim9AdIV95vBfLtUeWJckIZCgAmYuzvWucQcDUDF885W3Ex4DZbbvxBf5aBCB4EXDCkASz/JQgWPEsGCmUuM+btHuw5JC7IHFwXaEmh59SVGgfSqBLgvOIYJO91x3B36g/JjUZZay+iflotgTtGqnyrcmP/ApoHww9u6GO8apcj/B+E2ubBDD6hkXfEAZq8FC6F1MjYBPc/gyq5MqADj8oTCxL2rCpHM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3799.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(366004)(39860400002)(346002)(376002)(396003)(451199018)(316002)(478600001)(66556008)(66946007)(66476007)(31686004)(8936002)(8676002)(6486002)(5660300002)(4744005)(41300700001)(38100700002)(6512007)(82960400001)(2906002)(31696002)(36756003)(26005)(186003)(83380400001)(6506007)(6666004)(86362001)(53546011)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cXVLcTNxSVQrU1c2dng0QWYwbXFqQkx1bS9RY0xZWDA5aGtIYkhxSTI0dTJs?= =?utf-8?B?S04wSnBvOUtlRm0vUjg3S3VHR0xiUHNIaEhKc0FjRmJNMmFyYThuc2k0U3Fh?= =?utf-8?B?b1NBSmkrNFFnMUNNNkpNREk2WTVwcjlNMnZtVlJNNGxuSkh4bGV6U21NbytR?= =?utf-8?B?dnRMNlYyVkdOV3dZREppdFQzNDl1S1lGd2RoZXdkUjNicE54b0NQNzBIUndU?= =?utf-8?B?bEg2MllY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xdjdFVnQ3M3VR?= =?utf-8?B?UlV1ZUJTZTFwd2hzQnRKMlAyMW5ZTWVReXZnTUQ5RXAyY2lpSnRCMjFaekp0?= =?utf-8?B?ODEyaDhHdWhxQ2tFYkV4aUtrYWJreklLNWduQmZHOUY0NTV6Qy9DUmx4Qmo5?= =?utf-8?B?MGc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: b7b67de6-2b66-4ed7-b21b-08db14f29ecd X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3799.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2023 16:34:08.4947 (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: VuzjfAn8eWFqwvy0DAVaGICJlMXZ0gJi8Kqan+XxK2PsqZXL0thC8cgxwJ0/XlCMT6BuV2uIU55awJw+N+S2CQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB8206 X-OriginatorOrg: intel.com 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 On 21/02/2023 19:01, Stephen Hemminger wrote: > Don't use static logtype in sample application. > > Signed-off-by: Stephen Hemminger > --- > examples/distributor/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/examples/distributor/main.c b/examples/distributor/main.c > index 21304d661873..542f76cf9664 100644 > --- a/examples/distributor/main.c > +++ b/examples/distributor/main.c > @@ -679,7 +679,7 @@ init_power_library(void) > /* init power management library */ > ret = rte_power_init(lcore_id); > if (ret) { > - RTE_LOG(ERR, POWER, > + fprintf(stderr, > "Library initialization failed on core %u\n", > lcore_id); > /* Acked-by: David Hunt