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 31D4141BBE; Fri, 3 Feb 2023 17:38:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0192F4067B; Fri, 3 Feb 2023 17:38:25 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 498C24021E for ; Fri, 3 Feb 2023 17:38:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675442303; x=1706978303; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=DF+M5I5ktAzhyPsOg/XJUaInLqZWh+SWvhf3W+zVVW0=; b=bcKHJAUF7o7GfyBhZRPxdGW6lX6Vi7dUZU7Neu2WCD2JbwbZR7cZVJEg eLEOdWfQAoqxMiWryWwhrjO6FpUvs7Os/RdlBGuG9JHNkory+uq118jAB B4lpHywh6bjB5u/XnzG70fv3Ybe2g9TxR71PwBQ2ftkGJqqWyUhIx7SPP lfPKxAahc8rM6POpLYKUrCWWuiZmrsNnqEgaA247uKIu4YormsxJPd3DI VlaglYWP6lwI0rNmuqdXOuLYcy3sLhTdcW+GVzYpCl/fomjUMvHHJnK2Y TQ0wX6Bl+RD/Sjc5a2+X9V0Gyp5hHFm4ECdQ7zh8D1l+mzV3rCXkhpb32 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="415001545" X-IronPort-AV: E=Sophos;i="5.97,271,1669104000"; d="scan'208";a="415001545" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2023 08:38:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="994575236" X-IronPort-AV: E=Sophos;i="5.97,271,1669104000"; d="scan'208";a="994575236" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga005.fm.intel.com with ESMTP; 03 Feb 2023 08:38:21 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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; Fri, 3 Feb 2023 08:38:21 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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; Fri, 3 Feb 2023 08:38:20 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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; Fri, 3 Feb 2023 08:38:20 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) 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; Fri, 3 Feb 2023 08:38:20 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QBNK40BSqbbREAu/yQWxtSmg800huy5IW5zHhyPED6+mTw4BjAdlpO3m/hYLa6jAme+f5m4L1qppFXOtPbSJ6/9q/NWS/Oji6obI79NIATFkcy3IaQBAd1ROOW6uqwz+RDUXbT4xeRskO8W1f5nKGF614kbX+RDgFcvFYyvZcEwfLiTzXo0Gd5GBmm5ypIHVM776vbNzXvOBnvxLtYNO/tkBhsNohTlgSkQRCnQoiKweSmScoOHLNz1Cm1GomE1WgsC5G4TcU1ZkPUmb7uDtsKxpBB7eJZBTJhe03s5YGSwGtGxNZPJjCGVr0iONYTUKLPyeGt/cWut43ASpq/SnEA== 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=wl2rvvBOgQ7qIO/+xQ71m9q6dW6eVILV4+z70acxSso=; b=R7WM6tI5IufoVaTYogixZNcNCMoRm3ukp45fobxVh5DNT1vUhwqJDkZueUuwFuzsUk8V3e+uQ+JeWhp2fUJjBEkibVQxGyx0SvLRN2xfwSAzCD4oEHpXuAY+nWj8ZGjcYN0FKf8+pCEHa4laTRjD+wUI8hwiHyrHAEc3rJdwn3knl8H56q0gvu7u9IWfC0qbkPEUxIlCq+NQbhb2OpD/WG7QXsuWXIpehR6tTLESdCB3kgozTRKkglM0/+8U79fhrvV17yTV/TUvV9DAHUySNqfSrqxPgnY5GCi9XKTLxJq8O9IZNwx7PSExrcM+HBZkCTGKn9oNXtvR3+Ax7Ikiow== 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 Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by SA1PR11MB6808.namprd11.prod.outlook.com (2603:10b6:806:24f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.38; Fri, 3 Feb 2023 16:38:19 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::d1db:30fc:2964:8059]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::d1db:30fc:2964:8059%9]) with mapi id 15.20.6064.031; Fri, 3 Feb 2023 16:38:19 +0000 From: "Walsh, Conor" To: Thomas Monjalon , "Chautru, Nicolas" , Hemant Agrawal , "Sachin Saxena" , Gagandeep Singh , "Sunil Uttarwar" , "Richardson, Bruce" , Chaoyong He , "Niklas Soderlund" , Rasesh Mody , Devendra Singh Rawat , Jiawen Wu , Jian Wang , "Xu, Rosen" , "Zhang, Tianfei" CC: "dev@dpdk.org" , Ferruh Yigit , "Andrew Rybchenko" , "david.marchand@redhat.com" Subject: RE: no printf in drivers code Thread-Topic: no printf in drivers code Thread-Index: AQHZN9dyOljhI3knfkiNSKgudd5amK69a3pw Date: Fri, 3 Feb 2023 16:38:19 +0000 Message-ID: References: <3217725.44csPzL39Z@thomas> In-Reply-To: <3217725.44csPzL39Z@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5207:EE_|SA1PR11MB6808:EE_ x-ms-office365-filtering-correlation-id: 6c1ae817-e993-4585-562a-08db06050e85 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b0eSZWyaBK6YUQpYY2//4kr9jEoFKjHwjf+lHtqIS7cvIiGciiGE7Ruicr1NzY/hzfAtmAHvSIPQ09dhNVojNTKNl/RUNcBUe74OUFOsjz+nYUuuvkC4ew2bT+BGdZjdBwoZOZlm+KIfohG4yB9vC633bXvCFMW8REuOb55UevxKutkir48i07DCxjOLxYuLMqKVkqCbll2HjogApTsVOy1ZlRr87H66sPWnE4sv1nKD+m6OIisvew9fI6BeXcF6xmzi6HRl9PSkWpoX8TI/UrVE4Ut2EINABzdRT7fhnXjJG4tZja4XckrxfRMyEAqNBaGJ/nokI+KqR1Rmd4TGs1NxkF3+QcMc+mRzMOB3xnZxHF+7V5MslLZDfSjD7VtaEtazqTqOKUscwBC6wnbf3fePLsIfwnWJZ+iy+bw6k/Bkv4HXaz71zNZwp9zwNXjmJkw1/TZ+dIywRkzjtZC4yXB62DROgziGZkBW/rJgbkk1HAkMKnyW5Z/MG5IfM3Lo3NPi89i+3mcjXeZtdaiAO5RKDuPBHcGD/DVIznlzbtVr3MeoFjLsJTXBolcDpKB7uBogXNwnD20/+qdUZ5r9JcEx5etRzhaIwe5qBO5LtoknUaAy25EK5ABbx3m5gVlKO+51xK1fiXcOevgfmJXBbQ3MGcqLFM8xvIZmpice16lUliYFtGMyyFZ4c9lAAWkjNNRAVXv3KffJ2TGBgmXvmAUVHpQJtWJWU3GQ6tf32iY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(366004)(376002)(396003)(346002)(136003)(451199018)(316002)(4326008)(122000001)(64756008)(8936002)(66556008)(66446008)(66476007)(76116006)(8676002)(7416002)(54906003)(110136005)(52536014)(6636002)(5660300002)(921005)(82960400001)(33656002)(38070700005)(66946007)(38100700002)(86362001)(26005)(9686003)(186003)(71200400001)(41300700001)(6506007)(4744005)(2906002)(55016003)(478600001)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1sWC3HdxUpOcmD8BgRJokKkrUd4hZvNS81m9GxE5XctPD6JrWewQTiUyVwve?= =?us-ascii?Q?koKoHzN6JexAEtjiHQVnjBlt853XlMXth9/1U5gALLgTp+Wd1qEMOQ8qcROL?= =?us-ascii?Q?SFvMJn/BY57tFIWTIFdySwzXbDKw57iNqBxZ8x5oag1csMbrmQW3wtq51CM2?= =?us-ascii?Q?iw5qUgTctJ+FexS0tc6eiStAi7cZg4zdKfv9XKVFzrG4KK9n9cJRkVmVlsr3?= =?us-ascii?Q?i+NpVBY9V9r26fzbz86U3OmXFmylkJxxl06PbPAmEsffJdiYEJUC5E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CBRqTQMLhSSPZlhuWCuiUgT1Fbb3HZar6sUIYtDfqVO?= =?us-ascii?Q?7yg4eBuKp1oxEGvlf7yeBPsWiwcaBB27+OkUzVG4dZ18ycBnvhQ+Bmv2Nuxk?= =?us-ascii?Q?1C86Ug0dsjGRuVYjCaH+EiibtcAsQm8DkJ5DJF2NJKZfykd7QJ377TUVKua+?= =?us-ascii?Q?p+m7LbpLEYwExWbQN2nynRL/14CBWWQE52fGVLwE8JtEzPPvI+AAMaKDplCd?= =?us-ascii?Q?ZVj75pxUssBlAMoiGG6VGEfiYCUg6iw1X5v8/JOcsoOFW7zwuER7r6Oqoz5Y?= =?us-ascii?Q?dxhBSSLtU8yenSFCHwyk0/kM54R7jtH357xkolffhIiWzBn4t2Nom63uBJxW?= =?us-ascii?Q?rGsVmM7CmVreACtZK36bogXlyu1TF/WnfBtRvEuWOnaMIIgu3m4yvQm10DTP?= =?us-ascii?Q?XNxHGR6JkVLGDMRKkaqsheWaNu3Hs4MzfXDAYNxb?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c1ae817-e993-4585-562a-08db06050e85 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2023 16:38:19.0811 (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: uTIMaHhW3Mh1Rm4PsgvZnAqCtLrcxy16JZXSUv0jlxfjcu+kdDneaC8GnfnRtw/Xo7UYFJbzZuVeT0Q5wW+WTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6808 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 > Hello, >=20 > We have too many drivers using printf() instead of rte_log(). > Please propose a plan to replace or remove the calls to printf(). > If no plan, I could propose one but you may not like it :) >=20 > Affected drivers are: > baseband/acc > bus/dpaa > bus/fslmc > crypto/caam_jr > crypto/ccp > dma/ioat > net/dpaa > net/dpaa2 > net/nfp > net/qede > net/txgbe > raw/ifpga >=20 > PS: printf is allowed for tests and dumps. Hi Thomas, I sent a patch to the mailing list to swap the printf in the IOAT driver to= rte log. I didn't change the fptintf's within the dump function as advised above. Thanks, Conor.