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 781CE423B9; Thu, 12 Jan 2023 18:42:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4007F42DDB; Thu, 12 Jan 2023 18:42:15 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id D01EF42DD3 for ; Thu, 12 Jan 2023 18:42:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673545333; x=1705081333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TcHcw9FWcbYbPHA87JYTOeeggmYPLpFAX9Zx3RO29J8=; b=Njz25PgMQ/2bmzAmKyUpykoXEefC4FSh9xo3XGNZRkXMC/8xdhs/0Pcw naW4fGIa0fP6Rjf2hyNuqDeTIdMt1ITF7amHDT/6OjcLmJe2jesMurr1V dfbrccw3Zq9M0FQcvRDsyjyJkYmblitcuKZBpDktgkTvwurcWvhAHiTPY 5vI4kk2IVpwzsqfd0LrreQ80aqYXJl5yQwHi2l5v/2xblx9K68x088Vkz UsPxl7GgnHjaDi7QhiIbAsuaHl1511bOesA7ogADi1P6XUcQ3Kx50nx1d OTFompcE4A1xC62mUxSMZbgFEXGW5cRV5bIUX1NnEGfg4kY53PYO5YTr+ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="388264934" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="388264934" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 09:42:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="986678238" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="986678238" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by fmsmga005.fm.intel.com with ESMTP; 12 Jan 2023 09:42:11 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Tyler Retzlaff , Ciara Power Subject: [PATCH v3 8/9] telemetry: make internal int representation 64-bits Date: Thu, 12 Jan 2023 17:41:15 +0000 Message-Id: <20230112174116.2105237-9-bruce.richardson@intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230112174116.2105237-1-bruce.richardson@intel.com> References: <20221213182730.97065-1-bruce.richardson@intel.com> <20230112174116.2105237-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 Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- 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.37.2