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 D59ED43C86; Mon, 11 Mar 2024 11:24:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57E724026B; Mon, 11 Mar 2024 11:24:41 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id 952F240156 for ; Mon, 11 Mar 2024 11:24:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710152680; x=1741688680; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=yvxL+S1F9CsD7Aq12tXI75yGNqOyZSkeqQbffxIR5dk=; b=agyrcf8ZQR7M66H651LHLCELaPaZUBV5oDx/0yTwc0N0LWBrRSrPXs3E 13BpWsgmmRMFB0PQv99sLxSId69h4PBpi7DIsyex7VJ2nNZ3TnxiZd+m6 Vxu8O3o52vZpEqVQxUBHsrLkZYdrSVSn0QlofvAFsR3wK/mrNij7LPCUJ 2Mw1vcOZH0NPjjB9QV9qxps81jeXCIOuXEGSP4T7YimIgQ+faGumLBShO iIaeFbrpPikjeF6XZaUYAF0Fsn8Y+nk2RoTz/AHNgiQMHX+D/8p0ylgU9 hyKofbdHqlDEhLhKdVp26HJ4ZZ0gcGua1Ef6w/WLkdL2Wd0uwjp83IOa1 A==; X-IronPort-AV: E=McAfee;i="6600,9927,11009"; a="15536441" X-IronPort-AV: E=Sophos;i="6.07,116,1708416000"; d="scan'208";a="15536441" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 03:24:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,116,1708416000"; d="scan'208";a="11691412" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 11 Mar 2024 03:24:38 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 11 Mar 2024 03:24:37 -0700 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.35 via Frontend Transport; Mon, 11 Mar 2024 03:24:37 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.169) 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.35; Mon, 11 Mar 2024 03:24:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b5vb3JaTaWwkzZjtViIl47zszcF7SasPwbOglcHUTqV0HpISHrDolQ+io08ttGpm0Ol5GcsM3IIWVFL3pCwyc0V7nCOsgDw23gbMS2ttp+6CTCP1AOi3Onhpr3wsHWtPboFv0RoYsjCzj5+0VZja6s9KXK7iZgla4JHjqs23lUVyGOWxjrdfzfZZ0jbniBxnpS6FAmm8koa4/hcRdq0t2y0WYPKWgImdpOyO0xW6tjilREGg6hFCI4pdGCInH+UWn88SaOgPr0oDVSJbAWt5UvZV75RyS/OmYzL7XhLMcxrsOiznqsyct4HyWBaXErbF51J7+b+v2O1CTxxQYvYSNQ== 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=yvxL+S1F9CsD7Aq12tXI75yGNqOyZSkeqQbffxIR5dk=; b=JfNlMAUgoBuBfs4JmzsFXoD6oWqfGHHm3OmzzguUmiz6MQRn/ZheOEbVrBhLuF14oQZR0j8i0AVzeDUoQR+IH6WPdWJjs3DWYvvqMTVKEOFvN1Zkvc0pScAt04mi5W+eqXPUc1QGTlmLkpfIJUjNq200/F1768LD6JBl16RhHBCDaypk4V1XLCvkJVz2sr/O6yNYjmvz9vQN8J5HOP+BuvzAXglXkyeOSM1WEZvgc2tHKfY8zl2jqw25tFFTm6knRFoqvXI3e9p2+QlHcREvHEpq6PJ8/8UKa+cKFJY4/ZxMRlYS3eI+1QzLXh5iMur/Mucm8C+KNuzSuaSmnnJsag== 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 IA1PR11MB6074.namprd11.prod.outlook.com (2603:10b6:208:3d6::14) by MW4PR11MB6957.namprd11.prod.outlook.com (2603:10b6:303:22a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.23; Mon, 11 Mar 2024 10:24:35 +0000 Received: from IA1PR11MB6074.namprd11.prod.outlook.com ([fe80::4d95:78d0:b30a:b5c5]) by IA1PR11MB6074.namprd11.prod.outlook.com ([fe80::4d95:78d0:b30a:b5c5%6]) with mapi id 15.20.7386.015; Mon, 11 Mar 2024 10:24:35 +0000 Message-ID: <28680054-7b5e-406a-a7ef-29810345bad2@intel.com> Date: Mon, 11 Mar 2024 15:54:26 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 3/3] testpmd: replace EAL logtype TESTPMD_LOG To: Stephen Hemminger , CC: Huisong Li , Yuying Zhang References: <20231211172437.61958-1-stephen@networkplumber.org> <20240308223446.215726-1-stephen@networkplumber.org> <20240308223446.215726-4-stephen@networkplumber.org> Content-Language: en-US From: "Singh, Aman Deep" In-Reply-To: <20240308223446.215726-4-stephen@networkplumber.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0142.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:bf::20) To IA1PR11MB6074.namprd11.prod.outlook.com (2603:10b6:208:3d6::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB6074:EE_|MW4PR11MB6957:EE_ X-MS-Office365-Filtering-Correlation-Id: 20a8a681-e399-4d69-531f-08dc41b5728a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1BLkK6DIa33LhU3VmyT7dTZrwFWuIOrsskOtuP2f6v5X0uzw5Kw//8F1tR6g3sPQKC4t4dYO5wfDfBjiP76CxW3zF6DdMeu9EBOERYc4KaBwGkGfj//NPSiX5knYgy2oaXGekcBUImK7W70kf/y93y8U7dRd8Lk6PtakAs56gHvzTrFU8TPp/q6ExjOcybqSSHI0Eph21UWrwf8dauqE91XOFa+s/jUZQVf/bz8JjMHiGcn0WxbKe5K45XxXA06rnsDdWxPYjwGvauJ9qsUOPVYLQppOlB6DIocpGscEueOgzhNS88jGdBgnTObSzulg4k6vC54J+rt3nS6pLACE+1wdod/P6a4wVwMm2k9GHGsjg2ek/O61udfowFFIfE9s6aKver9LM49aBtg4Z/j06nncrJ3jewgTlzuHfIbx/YoSwhZJx2vk9H/Chy2GikB8O+cToZGiJ3kVdZUla7slI8KVkVpSyI4CsK66qNaoZLL6zjLZ/LiWQEMSADJJtyEaHICH2L+nuQZ63vqS5AhzwuQDar+I6HQxyKlVnNgoIQ/EL8tpUqj3teojpGwAALKumZC9jISfmna883ahTB0j6srzolHeJGowGxlzOTSgMfWjBW039RBD/y7ZLU2xclmfC8WdvQXXWUYmbrCAhIvDPF/ynl5MJadmYTxY9AQhoNo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR11MB6074.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UzVwWTVvSTRPTWNsckZjSTQ0WlZLMkxOanNNTkFFa0FmRTNVY3RoZXVNM3Ux?= =?utf-8?B?bjNRZENJREdoNVlnbENPVVgxWEk2cDJvUnpsYnBJNjJQczJEUU5CRjVzVGhI?= =?utf-8?B?aENRTmtrSGQwQ0FwYndNNC9NMFg1ZDNqYXM3MVo3QmlTOG90Q2pNL3dUaVRF?= =?utf-8?B?cHF1MUZucjZYUnFJdkNFMUdKTFI1a2xvVWw1a2xXUy9EeE1HbGY3SmlrOFBR?= =?utf-8?B?c2hWUTVTd1FReE1QNERjMm9UNXJyc01NcDVxcTcrU3FnaytLSUdIK05RQzJI?= =?utf-8?B?Szlwby9yQTV1SGVwTisxQjg2a2ZBbDE2NDFwOWhMdXgzNVFMaExaMWpnRnZV?= =?utf-8?B?N0JRQkFMNjFRVTI1cmFETVlyakw3Y0NRYXozL2N2NmRBc0FpWlpvVmp4WFN3?= =?utf-8?B?SGQ4YlU3SmJqcEZoTHNORk5kOERIZkRZc1o0VE16ZnpPTGxwZE9rMnlNY0dH?= =?utf-8?B?TVpiUFpRRC9NTGxoMW85OE9OUnRzcVU3bHloeGRidThhRk41N1J3dmFtQ0pR?= =?utf-8?B?alJOYXFrbGlFeHFOeU1oc0c0U3puaXh2NzUzZXNZSkhlWkFCSTRtUW1Hakxs?= =?utf-8?B?ak1jWVFqMmRXZGh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K1dGdlM0Tm1ueVREK2xVOFVwYWRhV2hiclZRTnZ2WHRhNVg5b1ltUzM5YThS?= =?utf-8?B?bW5jRXprR01DdGs4K2lVbUk4UWpSRnVyQnJaNEYzcXFILzdKbHZrTFk3Z3JB?= =?utf-8?B?U3ZqNTFBRENjOHFxUFI0dVRqeDJJZ3F2UUs4V25EazhOL3Nobm43TTh6R0Qv?= =?utf-8?B?dnhYMjQrVWJEY3JqL3pRcjBVTUppcTZwMDFMeHFkN3M2b3RKT1V3YmM2RGRs?= =?utf-8?B?aUFQSHV4UEs4aG5TQ1JvcnNVRCt4dUdBOWtwRVplcjFqbjVJMndPR2tBNVo2?= =?utf-8?B?bEJLck55aTRLNDVlaVQ5YXR3eGEzRHZCbjRTV2JqVjFURjhaQzZaN1dxQ3FI?= =?utf-8?B?akZlVVVrdEd4Y3l3UmtQRm1jVEY5Um80cTdvQVZrY3ordHV1NWI3TFRGSWE2?= =?utf-8?B?aXJyY1MxTEdUbDJ4WU51QVZRcTF1UC9BcWNCMDAwMDdpU3ZINm11QndkQ1kx?= =?utf-8?B?cWhSL1VHWXhvcEpjMDFaM1h2c1lKUno1b2N6OGdicUhBNytpWHgzRVU4MThD?= =?utf-8?B?WndHeElsTmJUeHNmMm0rQndLTzdxSGZqbmE0TEt1bEtlOVRYTVlsZkRWdlhV?= =?utf-8?B?UUpxZXFyNklORFVYSFVIaFNRcnNaeFp3WGVYay9qR0RqQ3pLSTVoRlpJd0hV?= =?utf-8?B?WlE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 20a8a681-e399-4d69-531f-08dc41b5728a X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB6074.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2024 10:24:35.1373 (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: aKF46DU4x5d+OejIikL3Gy9dPvbM52gNs2vv/F35Ebl31Nhi/gE67lag1GOg/ZtAoYOnLsz98beJDWkZjH4mm/HetTLBnasLgZi9KSjvbCg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB6957 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 3/9/2024 4:03 AM, Stephen Hemminger wrote: > Testpmd is misusing EAL logtype for some errors. > Since the code directly has a macro for logging, use that. > > Also, replace fprintf(stderr, ...) with TESTPMD_LOG where > appropriate. > > Signed-off-by: Stephen Hemminger > Acked-by: Huisong Li Acked-by: Aman Singh