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 F2287A0540; Tue, 13 Dec 2022 19:28:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CDA342D3A; Tue, 13 Dec 2022 19:28:00 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 0D35142D27 for ; Tue, 13 Dec 2022 19:27:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670956078; x=1702492078; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dkFTJQnbSQRFlMM3n71s4XkLya50APl2dRo+b7Ieqnc=; b=OWW2LdXgPOPXql9WVxeiFvSmWzM+0eHlRYdKH6luPuOYUZXaJ1OQ1vJ9 wQD6YdO9kiBvHrYUmzwhw/d27z8U3ybwbArc5e30fSup0jgDoL7dHleej GgUhRqzOkXmb0+Echa3d8R9gv1LKAE6C4UhNQAk51DGtA3/Znw9NCwsKV OYj6/lXfwy8BtJbKgtzcA+mo2LBUcZheSM4RoviKMjkLzN/tqegJNAlTu 30tLoJtw3M3B7XXW7W+gQzjtvfjGn9W2GPX8MvntFvu0MVtLnLKRzi0Qa oY0eatRJKUuTFsT2nCUav00CcdzuDvBXhgPDZH/n4fvp+roTlRlHP4cS1 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="382507001" X-IronPort-AV: E=Sophos;i="5.96,242,1665471600"; d="scan'208";a="382507001" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 10:27:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="626445241" X-IronPort-AV: E=Sophos;i="5.96,242,1665471600"; d="scan'208";a="626445241" Received: from silpixa00401459.ir.intel.com (HELO silpixa00401459.ger.corp.intel.com) ([10.237.223.55]) by orsmga006.jf.intel.com with ESMTP; 13 Dec 2022 10:27:56 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [RFC PATCH 6/7] telemetry: make internal int representation 64-bits Date: Tue, 13 Dec 2022 18:27:29 +0000 Message-Id: <20221213182730.97065-7-bruce.richardson@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221213182730.97065-1-bruce.richardson@intel.com> References: <20221213182730.97065-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 The internal storage for int values can be expanded from 32-bit to 64-bit without affecting the external ABI. Suggested-by: Morten Brørup Signed-off-by: Bruce Richardson --- lib/telemetry/telemetry_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/telemetry/telemetry_data.h b/lib/telemetry/telemetry_data.h index 8db6875a81..205509c5a2 100644 --- a/lib/telemetry/telemetry_data.h +++ b/lib/telemetry/telemetry_data.h @@ -28,7 +28,7 @@ struct container { */ union tel_value { char sval[RTE_TEL_MAX_STRING_LEN]; - int ival; + int64_t ival; uint64_t uval; struct container container; }; -- 2.34.1