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 C4CD1A06CB; Thu, 20 Oct 2022 11:55:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B957642CEA; Thu, 20 Oct 2022 11:55:00 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 7EEF542C80 for ; Thu, 20 Oct 2022 11:54:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666259699; x=1697795699; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=aWDsNh9TJ6CZo3qqLlGV3r3Z4YERx01wgzCrajij7NI=; b=C9PGGYLQh4hScBeBrITyssN9dEI8lLYhkyWVL5yL+aJ0yYUOCkuxsPGz qS3QZ9m+SxmE54VX1JRImCynAHh4taJL0zW0a/nys9Qp/aJCKljMBLRUz psKC6X7NFRCvox+vTsmKaG3ssmqhX0Ygd7MgZlV5JNki/hURMS4zXxN3h vuXIesGlv7H1DA9TpNh4nSsLWVTBArkx/Sy8LyiXYCdJ9kfM/GTuU5GIV OJe6RULFspP06qTKK6P13BJjKS+mQr3POUg0xGyKmWLHwKwUT9MmyfNRs EracAdbDJ5f17mgu8dirvVsXRRMjYbPeRTO9oBjbqxRb55k49EQraBnWW g==; X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="289974867" X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="289974867" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2022 02:54:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="629718164" X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="629718164" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP; 20 Oct 2022 02:54:53 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 20 Oct 2022 02:54:53 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 20 Oct 2022 02:54:53 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 20 Oct 2022 02:54:53 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 20 Oct 2022 02:54:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g2TejMSX6a2RwagGZTdjKWhKUyoZ29bUiutdwPlZo7F7cvlo/DI2ipDAkb1+/nTNmhcqmcr/edfej/fJ0E/Hxfy8sfhlMktxWePwbgHrwyPUXn+H2kvA6Iv5WBe3clxyGE9T6JwQPK9cXooQpWcFLm8K/4UIst0I6wAuOeY2CbqdsUqm99LACJqHenvbwsJcCRlR/nt6dm898YmJmu8AVGYW1qDE7zvAIrxR23Ad0pbknSSdjSLgXzes2OCJLSrzYSBUx9c2xhSLEMphhPsc7PtSgbI3kHJwwag/pqvemC+p7q16MEGANy1lGsNSiT02eJ9OSFTUwiQEH5nPyheA6A== 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=eAr0OZqRyX6zDjF/N1Ba6mh5ml84wd4hgcm+OGjpWfk=; b=RBLiP2on20Y2CnWyIvNAFZCdi+p7sLUwId/ngO1QXs4UJsOW+15yEweIN5GxOqyRPPRIlaO9l5tN1+SSPdfWEJAO8vOMDeO/x+FCJPSGnKRpYNp1ODUt6unMtHagWeqGhGGieVCoDiFIz/v5zWdl/7cafUXsBUv+ximEgHA0tAlZiHcwJZz0fu67MigcNhbsgVT3lUr4OxtVuVa5pRRNv7m9T5dPSv9lK7Z4qJL3eBi0YZj6ooLeCfKzxL3EyMox6tKhncogmJeTC44NONwZ0QVTqaUYtmT8ZxfOWQ664cMYAB/8/A5RfI/1O6yaG66LPZiczHYUhGh85YD8mFCKoA== 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 MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by PH0PR11MB4789.namprd11.prod.outlook.com (2603:10b6:510:38::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Thu, 20 Oct 2022 09:54:51 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::fd53:6908:50cf:13ab]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::fd53:6908:50cf:13ab%7]) with mapi id 15.20.5723.034; Thu, 20 Oct 2022 09:54:50 +0000 From: "Power, Ciara" To: David Marchand , "dev@dpdk.org" CC: "Richardson, Bruce" , "mb@smartsharesystems.com" Subject: RE: [PATCH] telemetry: support boolean type Thread-Topic: [PATCH] telemetry: support boolean type Thread-Index: AQHY4426L9aK9yMt20WI1Ves21kVDa4XDJEQ Date: Thu, 20 Oct 2022 09:54:50 +0000 Message-ID: References: <20221019073702.3948624-1-david.marchand@redhat.com> In-Reply-To: <20221019073702.3948624-1-david.marchand@redhat.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action 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: MN2PR11MB3821:EE_|PH0PR11MB4789:EE_ x-ms-office365-filtering-correlation-id: 3bc91565-a344-4f29-7c9d-08dab2812172 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8u9LmDU064m/uKj2GxYUMmEwwCJchG9jZ6f2kaBIacN4B40bl5dUZDBOIIGdNKtEN9yFwvge3dLjnZi5gus3PO+LoLL23P2fZMZ26dE+/RXUd1L4cf812p/qtnDaRWgBuzDafOHyxmaiqtsz/c3wGczyQw4VjDYZ++TUmY9pnv0mtoqvmWRFsgtj3TzLj+zY+Pw8xB6DnTUSeJD/zTG8dNsCIm0m8mehbH0djWaUGrad49DpcWNzLvO2OyGBu6ZATBDotON+D8KjLWLpW3h+9ctAjn4tk+GyuDjo/czLEFvJZH4Jm9jV9fJ1sMKSTI+pzWq0mhdvI4CR8RU02F2EYqEF2i1Kq23LpQWGecWSuYxBokMqRTA32hiX9FIrCtWsiAazf/8OM10+WWF9eHnl3Hkaty9HsXelkL5ejqn3r2w7KcwKFJaaB4BAGnGRpxzSH3D90BZZEJX2bu7gYlysSGmWmfD65BQHoboYZlQUWnhlx/8V3YXQDtEC7lEgkOsvw4+hRWU9vC/kmOngrcXXOodNpyiLL3KUiIlEZeTf8xBBGbWEuz9WTeGho0eEwX3S3r/507APQPn1Qjiq5bQrbF8tiEkpEhYNq5sxDTJhLFLofhyQ+8Dg8u+8F/U4xRRfYy8Ze7O3izZLxSiNQ5KncHSsOALt3u9LPjOA6kdZWYJvsW+KrHRWXF0A1uyE+sgkNMD5/s17yNWNa+NkPIgD5RGI86UwXyYrTIvy5Hlr3lNkH1SlknzoG4oBn+MFt/4VNWSDDMJQVZfbe82Mxr3kzw== 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:(13230022)(376002)(136003)(366004)(346002)(396003)(39860400002)(451199015)(478600001)(86362001)(71200400001)(2906002)(52536014)(8936002)(41300700001)(316002)(5660300002)(4744005)(110136005)(8676002)(4326008)(66946007)(66446008)(66476007)(66556008)(38070700005)(64756008)(38100700002)(55016003)(9686003)(122000001)(53546011)(26005)(7696005)(82960400001)(76116006)(6506007)(83380400001)(186003)(54906003)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aQfSbH+xvDD+q+Ew68nP1+yboZizZu4OGoFjL2m0b+nfCxLfZUDyrhGSaC7b?= =?us-ascii?Q?ccFsg87SkhM11v5qp/HQnDPSckzVlpZCSRSaiP0bTiZAa3pfC2/IdPgrlseV?= =?us-ascii?Q?VgPaUgyl982/2aePZ62xesV/S0N47X0Xky9ebgi5eWa8lqFWx0Nqzw6rA9+I?= =?us-ascii?Q?GF7uLlLlt074QbhAwQ6j6JdPWB65Ckw+CqWqt7rjMrX1Fuvs9VQwc2J9e3qc?= =?us-ascii?Q?kGRdb9WTwp5ltWffQXTksETsUPvsZQ91l90yfb4LV41oDZIzlIHmdCHlP319?= =?us-ascii?Q?pNOMwgWzYmKLUC0cQ9yLZ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cLacLJs2Qgk+JPEdg+c40Ys3y/f4zTdjCASIdsT22VfGO8ScqQh9MMW0jd?= =?us-ascii?Q?7GurIS8PSnnLrnDG+raDqIWpaNagjfK+G1qjfjgsjykQ1HWjlH2h9EFYvtMF?= =?us-ascii?Q?sLI5o9D7+eTk3RZ504f+cNbNrOkWOFKqkBoYuduMNhMbni5HbUn2gZf9r1MC?= =?us-ascii?Q?nOwMIKWDZK0N921mT6KWy35KcbT2MSFlGfbZGUT7/nkkYC7RvXOs+Qz5Ww76?= =?us-ascii?Q?G5BSWRdtFHfc7rcbAveGOb7pfizsDu0ggmgCYC7bk4Y6MkXigQw2m/vSXvjF?= =?us-ascii?Q?cdFsvV3cRCPIMEvW7GCzp3IYHy14eiVvRnFrcAdLO05nnUPw04gSFzKhohCK?= =?us-ascii?Q?SY7SZmjzTT5KazhlpJRPYAZgTN2pK+u/4MiWNaFz?= 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: 3bc91565-a344-4f29-7c9d-08dab2812172 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2022 09:54:50.7397 (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: 4Mza4AUxyROORUho1zICca6jlxqL6efEEgbH6Ko0TR7QPZ7Sz2roO8zxEx00HV76TPPGUsfklfZxO8NySVsFRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4789 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 Hi David, This is a nice addition to the library. > -----Original Message----- > From: David Marchand > Sent: Wednesday 19 October 2022 08:37 > To: dev@dpdk.org > Cc: Richardson, Bruce ; > mb@smartsharesystems.com; Power, Ciara > Subject: [PATCH] telemetry: support boolean type >=20 > Add the boolean type RTE_TEL_BOOL_VAL for values in arrays and dicts. >=20 > Signed-off-by: David Marchand > --- > app/test/test_telemetry_data.c | 88 +++++++++++++++++++++++++++++++++- > lib/telemetry/rte_telemetry.h | 36 ++++++++++++++ > lib/telemetry/telemetry.c | 24 +++++++++- > lib/telemetry/telemetry_data.c | 44 +++++++++++++++-- > lib/telemetry/telemetry_data.h | 5 ++ lib/telemetry/telemetry_json.h | = 34 Acked-by: Ciara Power