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 EEB86A0564; Thu, 11 Mar 2021 13:50:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C0C040689; Thu, 11 Mar 2021 13:50:32 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id A41B740141 for ; Thu, 11 Mar 2021 13:50:30 +0100 (CET) IronPort-SDR: m3TBjm+iD5Wc2prks4jXoq9hc1NzLUExNfO18NBsiJVsD7xa6LYgveYnKpt2e4nvThEQ3BUhAr YTuXaPEwoYXg== X-IronPort-AV: E=McAfee;i="6000,8403,9919"; a="167934533" X-IronPort-AV: E=Sophos;i="5.81,240,1610438400"; d="scan'208";a="167934533" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2021 04:50:29 -0800 IronPort-SDR: AIxdIsm6gcDlrQeQNWyrrsonw4GLnhkkRAnvglFbESA92/Nbu3RbWrikR263G942kmIGdRFr5Y LGSilRlqLYoQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,240,1610438400"; d="scan'208";a="438691720" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP; 11 Mar 2021 04:50:29 -0800 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.2106.2; Thu, 11 Mar 2021 04:50:29 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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.2106.2; Thu, 11 Mar 2021 04:50:28 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.2106.2 via Frontend Transport; Thu, 11 Mar 2021 04:50:28 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) 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.2106.2; Thu, 11 Mar 2021 04:50:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DMAT67l4Dgh6hkNzSq1yXYWMStUfGLlAxwtRpGhBMeC8GPuELfaVIWgU36Q7BSD8bXdoOskV3uGQWzi83L8LxGB3z1HUQ9sc0LooXZeo6eU/nOHLGAgxGQVvDyY731MtzK7EJVkQ/x9pvShWqWypA2YfhVG8HfuVWyXzJ1fjMvim8EVMNwgDlncPlFbACASheJZUGulPkO18arwlYZ1QNh6qTPiTnUmN/1MjgJoRtmFMIm3fWM8suuptVgAGnoSegXORBPubpDddJPKmzN8NYcFXDgFvV4biAYkJWS060KkBtkkQ2zDEPUEce4l5HeBIF/6A8/S1kkc7kzWLB733ew== 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-SenderADCheck; bh=f6PPoSQH5c3+f35VFJoLh1ZSa/M0ZZS3FsiBV1Pi/h8=; b=Ngz5FzaKBdENEEJtl/xxI0yMHRknvmE8daUgKoutkWR/wnFlQP1W70Iosj7E59Tg1Qq7b/w9i3hS7uW7nW81JK3YRQlrYyxSXykmOhIJkM8hLBnuoCGxGpyrD0t4PO1wADMyRe6OciKmnwEVr5xSB/V8kGla917zUEG4L42hjQMh8gzM3UsL1Rc1da7AyE8qrVQJDNqU+FOYR9+ik6llqLu1Fdcj3DaOarm/x0E4GLkkZf3XZ24a06oA/z8JvfYk9fy2AZgFpCq2R48pjkmiSjPd9Vf+yE2/JleDH0YS2a1zAyO1nau/MncQJuTVmji9TKOduWE03nSMKZlpu/a/Xw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f6PPoSQH5c3+f35VFJoLh1ZSa/M0ZZS3FsiBV1Pi/h8=; b=gLEo/ASB/tc85L0yHLQ2eIyS83e+/bxA7Ia4b8RS37y/KiS3tBK1OmELwdmIkMzis7qbpgdFORNP72ONgN1qi+G6vGKoPa1Y+gQFIR0l7+Z8iMWvw3+WWvQ010M3AfiS15O5haQ9jQW7HZg0iwQ7JZcZmEeOgW2K+DjwY0VwRB0= Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by MN2PR11MB4517.namprd11.prod.outlook.com (2603:10b6:208:24e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Thu, 11 Mar 2021 12:50:24 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::546c:75a5:fe9d:de32]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::546c:75a5:fe9d:de32%5]) with mapi id 15.20.3912.029; Thu, 11 Mar 2021 12:50:24 +0000 From: "Power, Ciara" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Richardson, Bruce" , "Laatz, Kevin" Thread-Topic: [dpdk-dev] [PATCH 1/4] telemetry: use rte_log for logging Thread-Index: AQHXFdJoIX1JV51d+0CBCIarXznwoKp+vhTQ Date: Thu, 11 Mar 2021 12:50:24 +0000 Message-ID: References: <20210310172430.412405-1-bruce.richardson@intel.com> <20210310172430.412405-2-bruce.richardson@intel.com> In-Reply-To: <20210310172430.412405-2-bruce.richardson@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [37.228.239.233] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 51acd008-e0d9-42f2-f5fb-08d8e48c3cfe x-ms-traffictypediagnostic: MN2PR11MB4517: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OrPNbL1QvvT2tHt1szDtG1hJNCjBnh9woBBoLGwG0YWZXPQLcMlxLdiKKiTYiKKD9h1MvVVQXHCWG63Avop620U+KsJD44IKP4gbpgwQnyuj1jzrcDmUgrt8PonVqQ1ahpFeA3Zay1BAhAz/oo7I1Cgyftr2tKq1fT8369v1zHKW+BXStjjlrjs0EiknJCkSog2oN/YDcSxJBgBg4rfG4TW0UP1ThtfwC8KSWAazD+7y59e9pLcMi55qgZntz58QHxwEg+l/U+GtI2knPGT6VQjH7WfqGX45AqgllP5kw4oFL6ktgZK40ZBk6elG9bEtuWg7GWJNcOMf7m1+HpJKMzfY6KJvnranqW74Yx1hhUiSnrMmQtDiatE0erNwmiBg6HxC28I0Z+SpNzWiRhXOc7WYNE6SLn3wLcYTcjGR2XI6ipGmpHeW1Pf3kyMkobSpn1aMz6YtQsBMo4gcJ9CNS6rTdPdRbtkKtB3431OdlhFO1J4/TRRSD3zd+F0PQx2bmw5kHVRisdq5n6WigUgK3/WT//1+gFp/1KZ4Sm+gtO9fPmGuZ0wyanj27vXKSPyS x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(366004)(346002)(396003)(136003)(376002)(107886003)(316002)(55016002)(9686003)(83380400001)(7696005)(5660300002)(86362001)(4744005)(6506007)(76116006)(66946007)(2906002)(66476007)(64756008)(8936002)(52536014)(66446008)(71200400001)(4326008)(26005)(186003)(33656002)(478600001)(66556008)(110136005)(8676002)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Xj+/ERy1b5EBqjc24uYBA/JZ6UkvCVEw0wD2CtAK3j2lMHTISIYNgjjYzF0y?= =?us-ascii?Q?tBbY+G4RbJhgz9nOklzA0Qyq2Ev20F+vcM7/CmI5BMwCdGTYMFXZVHNhUltI?= =?us-ascii?Q?//6W0nJ/MrfnndB42fJHeUz1PNt62Tvs0DegqWdSfUXlJWVasOnx+xW1sroM?= =?us-ascii?Q?A8P/xrUaUByU+m0UVm4MPdJ63E0nBhJebjFrejtsf7oS27DOElhMlDKhpXSt?= =?us-ascii?Q?AdiwUNMMMy2sI0nfTn3AxtDewC1gYKE0DBpKCWBinel8sq748hLwcTC4Q2zW?= =?us-ascii?Q?LmhAxUV+EvxHJ0OVO2LMmeOG1BdrvzsSQm6n5lhGeXmgxXbaKW8vfv8iD4fm?= =?us-ascii?Q?29CiFfckCoAaf0TQIqRDfTegez+f7aAinTMvNLTCMaaDkCML06nH/V0PQPc2?= =?us-ascii?Q?aNcdp68XBXVVZKvyYqac5QRXdcildE6F4EifHZYoj0hBiLhkDDe9vSirYQhZ?= =?us-ascii?Q?TzMBfJCDhk4QnT2G2nMXzaQoxCz015theX/Pj0HbNo7aP8tCs430EBLPMlMV?= =?us-ascii?Q?yXPm7FsjeOtDGSiXj1zUFJ7DPyNc0XFIsTFgc/V9QGbR4axLMFI6OoaCiJ8g?= =?us-ascii?Q?xeN0HQfWleQcjnviMF+aESdodIDaNsC9IVY+e1uXXF932FRoSukXvQCXI0kI?= =?us-ascii?Q?cIdSId9AGdTgjhvwKtv8hIElM/pkL7974RIJc6uMDfpELs+C4FoOzgV0JhHQ?= =?us-ascii?Q?LOIx6s1yJ1QxuPmEz3jhX+22kfMG0bGuCVLxd0Cih+3x2YUKrao02vDjmVl0?= =?us-ascii?Q?oDwNi8MooSdaYxB4/H0bo6Ser/fhLnyt+N1TKD+So3BGlfY1wOc9GzvZL5SA?= =?us-ascii?Q?HRZrak0dDa/vvSovS+tsC+ca46ORssOo0EcIELscmoonG22TTQHigODHTaow?= =?us-ascii?Q?XiiRChhu38vDbqoBUcuYOrUDzweEotZdUUi+9Te2litfgrUq2ucC6HK5TRE0?= =?us-ascii?Q?odDdMv4M3J3hTmV3JevBF6qy+IaskgiYCQnEm1EEZrrNprFUKbwSlgtNAMFc?= =?us-ascii?Q?NZzKLERoWNCfpTNJnY8WcU9YlbWUM7jcBT6VazN7lQfbTkS86LFLZrFG5Azv?= =?us-ascii?Q?ZfHQIa0FFnOoh8tT1ffMd+obInOjiJiKS6H/O+UNdUWkHFD8NsfGksbXh9SY?= =?us-ascii?Q?oAsKvSIIeepBgmqRS36uz+xgtyIJdZde+3gllxELA7JsHY3i6QLkg+AUkwzC?= =?us-ascii?Q?KQWOWoWvJPcOxqfEBACqnr1CacH3podWWz3ouzN0FnFnWS+ndT714aGIvBZ/?= =?us-ascii?Q?8Y5EidchNedZIvCdaWmEAeK7Lv3E2WrsEyRTNVcx9LDzfmzR/L92+GvpNW41?= =?us-ascii?Q?5KMEivL96cJzOBtkc3o/pQIB?= 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: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51acd008-e0d9-42f2-f5fb-08d8e48c3cfe X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2021 12:50:24.1842 (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: IHBqsXndbPXXkbbBwiD5qmtWYcIBmQLud4JkOebwGz3PdIwGjmxITNK7q50n4O+p8KSISFngpvq60uV23WoQsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4517 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 1/4] telemetry: use rte_log for logging 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 Sender: "dev" >-----Original Message----- >From: dev On Behalf Of Bruce Richardson >Sent: Wednesday 10 March 2021 17:24 >To: dev@dpdk.org >Cc: Richardson, Bruce ; Laatz, Kevin > >Subject: [dpdk-dev] [PATCH 1/4] telemetry: use rte_log for logging > >Rather than passing back an error string to the caller, take as input the = rte_log >function to use, and just use regular logging. > >Signed-off-by: Bruce Richardson >--- > lib/librte_eal/freebsd/eal.c | 10 ++-- > lib/librte_eal/linux/eal.c | 10 ++-- > lib/librte_telemetry/rte_telemetry.h | 15 ++++-- > lib/librte_telemetry/telemetry.c | 72 +++++++++++++--------------- > 4 files changed, 49 insertions(+), 58 deletions(-) > Acked-by: Ciara Power