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 39E1941D40; Wed, 22 Feb 2023 17:36:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2963F4311D; Wed, 22 Feb 2023 17:36:39 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 1DC3D430FE for ; Wed, 22 Feb 2023 17:36:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677083797; x=1708619797; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=zIXtdda9sWCf3owujQAf4Rs1yshFYh/MPXhNRoWZQ6k=; b=ldbwaa22Hi7rJdYU5iBfi7yQ+B0aTfhEZcclA1sfGWnD5wgkGNxFasRM 2iqjxB2l/XdHNoA0XYYDtg0Q+KZ4S8Yb7ZCbfxxB7UBE53iZXq3Cd23t8 2qNSZSjnKODASLAZmzOK60kPY7Q4zUSh175CMwWc+hs+7KdOicbaRn9Ae XtndK6OC4mbiShGGLErzFJ7ZnJr3XJ4McF4DEnbJt+fOBcSI6EQdO2fAq jFxqOn/4vyBd4q2GIu9DQlohLCM1teq0BL5ZETE2IkqFyxjNC9ydz7Zgy sP0cgDm8MDI5oLZ0J3DOL2YOAxcHou/089kjsb6EcVUGnBjD0HKad5NFD A==; X-IronPort-AV: E=McAfee;i="6500,9779,10629"; a="360454931" X-IronPort-AV: E=Sophos;i="5.97,319,1669104000"; d="scan'208";a="360454931" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2023 08:36:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10629"; a="649627395" X-IronPort-AV: E=Sophos;i="5.97,319,1669104000"; d="scan'208";a="649627395" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 22 Feb 2023 08:36:28 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) 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:36:28 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) 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:36:27 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) 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:36:27 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (134.134.137.100) 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:36:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UMoxxZPLkwxLfJIwaHuPrPa9DyVx01KJFdvDV+nWnG2pUK95DBr2kicK4K5XB/08k7MvkXCO/7+1aY1Kb6ZzbN8xzucUwWv2P5uj+0WmvuafViHvt97Bdgy1noL4t1FfKpkxNBWVBh2OwBY7gWMGU/JmWGYVQMXR7QY5XXWBete/aBoZhRn9JU8NghM8IrXAVY9iFW1HXJ6N1xzbP3Oc4yNDiBLGNYNS5HRus6b6t+W88J6bH4LEPx8yr7Cz7wZ/Ba7MXp5/3v+JnRUnkSXY5g+o66/E/hXolForHqaVc/r5t8torbDiB4XJ5p//S1mg/FW+T3MalyCKr/iL7vpn8A== 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=Ys1dY3I/2Pa73jn3J2F9v+m08amFGvKFGgW9kh5qha0=; b=RKZVZ4WmK2YNd8xuIO1OUNaky65UsyQCwXbYYRHIZUzfxi+h4DzqmlN5dwSwxwk3Z2hPcVzz6VVSN+Dg9B8ZLj5ibOSOPCvZsNgtUvVVsVQRCg70KF52JlN+W4X22c6pH8qaZLSErw+3TgPeuEuAyJstDzY2UEfxixOtu4hT+rNj3YVTMlFLGxaEM3fCkt1IcHr+wmHGCEtoGTqPNl1GRvXkIcvBlRUOC319wIwjGHAe7vlB4c6pxsvmF2QyQw5BWVzw9g6JZ71v5MccczgAPLUDRkzMjXSNdNwCmgxYn4n9qjUWFdDD/5mu2fUZID/AS/Xgi96eDXtqt9FWOL/5hA== 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 BN9PR11MB5388.namprd11.prod.outlook.com (2603:10b6:408:11d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Wed, 22 Feb 2023 16:36:25 +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:36:24 +0000 Message-ID: <184775c6-65e8-1acc-3c3d-6e653e1f03ef@intel.com> Date: Wed, 22 Feb 2023 16:36:20 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v10 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Content-Language: en-US To: Stephen Hemminger , References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230222160802.123611-1-stephen@networkplumber.org> <20230222160802.123611-8-stephen@networkplumber.org> From: "Hunt, David" In-Reply-To: <20230222160802.123611-8-stephen@networkplumber.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0311.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::35) To BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR11MB3799:EE_|BN9PR11MB5388:EE_ X-MS-Office365-Filtering-Correlation-Id: 55a07ebf-bedd-4833-d2ff-08db14f2f02a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SHWq6XaIQ33eNGb8NaOqfcPMHnyR4jBhLHDhPtI96Lqp+xMRVg2sogjwBoje+763jOp2S/Wgzvfo5BSZ/2aOhbLi6QWXjmIb84eQY4IamauJ1+8W6xveEdCzg886zdRtBVkTQLksTL8RRbhQaevbII182lj9KxSekRk1xG6K/8ZzlOzZVdVZ1bkw4y+FsF/1JpLThglrSHW+TPY4GM+nIZz9yUxrfo0H5+4WzgMuxLv85i0ccigJp49VWvl9rYiSu69jOFEE+axbM8yOJBF5v+TjgxivLEichFN6Hh/fTYJ2/bjvRiqDzEnFSf8Poj92NTDkWx/u2WyZuqDjpU4RbN5FPxCIVrpAYYZGGRU3xPBZG0LyLgwtJHdcTkK/HaE+SQj1cwNM4jOS8Fp6cW86syCO1/4O36uMSfJdkNEOOaYDJf+g2obVvMfHdUh33bNq9i/akm6hw8eRBqSFsCyILVa67NTn2EtFEIjyF3jOWtm/6SHmIrtM6rEOCPO134wFEpXncuvtkcCNIKB2Pzvsrk691kOUDTx0kc36f1kBTjJkj868k+tvjzXowtWD02A4j+T8xZjjeaE+vajp3WsTvUVViWNymvshFjxZoG4DBh1uBmWg/oEgAf1QuVbr6okt2QJMfzCs67vH0UWNxl6+6pjlv+y9XtsSNxhqxLXs6pho5FfHyTC/r86yp+fl6zXRQqcgocmWGXOTo0XSqIZwjxbJYWVIxRiM/y+kP41NVbI= 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)(39860400002)(136003)(396003)(346002)(376002)(366004)(451199018)(6486002)(31686004)(83380400001)(4744005)(2906002)(36756003)(5660300002)(31696002)(41300700001)(478600001)(86362001)(6512007)(6666004)(8936002)(53546011)(38100700002)(2616005)(26005)(186003)(6506007)(82960400001)(66476007)(66946007)(66556008)(8676002)(316002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WlFySThwL2tXZllCZXRSNjVUN1lJT25QWVljSDYrU1pmNzJNOVZtOU5aekIr?= =?utf-8?B?NkRKWGFxRURYNGtyMHFyQ2lDN1djRkJ1SHUxM0lwL1VYZnozS29BZ3dTV2w5?= =?utf-8?B?L1ozSlR2TDhHbUg0R1VHWUUvTHQ5aFovaGNGWWdKb2ZraGxla1c2bkRaS1oz?= =?utf-8?B?VlVKb1lXY05Nb2lWWkRYakhzRFpZeXBITjA3Q1dPZUYwVW9BdER0SGk5ZG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0MmhYK2VHbUdmY3I5RVhJSGlyZUdyZUszUHlV?= =?utf-8?B?TVdDNThvU2lLNERpb1RxdmhGQ2tJVldSNlZ6aWZWbVMySlNSUnQzTmVWL3FK?= =?utf-8?B?dG9nUTJBUDg5TmUxQVh4elgrbUVPQjVOcU9xa1JrZytUV1pjaG90Q2hrTUx5?= =?utf-8?B?dnc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 55a07ebf-bedd-4833-d2ff-08db14f2f02a 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:36:24.8599 (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: 8T5dSuUdFPV8Q7Rl0MGgltM8GwSeAz1EmcsgIPdvu5XykWVo1u/XyG5mcCk3zDzoUmEKMIZdcewL3oej1lm3vQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5388 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 22/02/2023 16:07, 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