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 3527F423B5; Thu, 12 Jan 2023 12:00:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2F1642D27; Thu, 12 Jan 2023 11:59:46 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 629D642D4C for ; Thu, 12 Jan 2023 11:59:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673521185; x=1705057185; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TcHcw9FWcbYbPHA87JYTOeeggmYPLpFAX9Zx3RO29J8=; b=G4wJYlsGvQfNTUGL3cXk1DnKT9Fh+o73VyyJTaJdknVBn9HaF2Ht3sU4 KsZvNm/qyoCtIXE+KQfXWZY9oZak+LUCpfHmvqla0gO3dKfvPhocONPzQ +iBVOJOSq9/dcbW3KfZ60PIBGUFnhWo8S37n4rDP/aPVtEHPRFS+jtCoQ G9RXOO6DSk2BX9Ez/wjH1AdQUTqX5IvUrv//xYFfVnNBXtRVqtZDmIc8p tTe52yweMb+FAjJre9u7HjfXx2PnCaT8u+ezQbBlj8Hz8nKWpM73F9kAz 9pgFGxAUCfNq4QoO3W2cNL0XhL3nifUJLO60fwP49l6sBA4MngN0/56JU g==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="321365733" X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="321365733" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 02:59:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="781746906" X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="781746906" Received: from silpixa00401385.ir.intel.com ([10.237.214.166]) by orsmga004.jf.intel.com with ESMTP; 12 Jan 2023 02:59:40 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Tyler Retzlaff , Ciara Power Subject: [PATCH v2 8/9] telemetry: make internal int representation 64-bits Date: Thu, 12 Jan 2023 10:59:02 +0000 Message-Id: <20230112105903.46341-9-bruce.richardson@intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230112105903.46341-1-bruce.richardson@intel.com> References: <20221213182730.97065-1-bruce.richardson@intel.com> <20230112105903.46341-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