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 B0871A0543; Wed, 14 Dec 2022 18:53:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9339140684; Wed, 14 Dec 2022 18:53:15 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 571BB400D6 for ; Wed, 14 Dec 2022 18:53:14 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id A19B020B87CB; Wed, 14 Dec 2022 09:53:13 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A19B020B87CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1671040393; bh=kTeFX2P8W95np/hqk0YWdG7/EXRxBRBqYN3bh5uuHVE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R3KK+eJSRMI1TYa8fW0+dh9B2lnEC4YMtUMYrdKzxrss3BXoA6ReR+oKeHP/rqNlj u7U5IK/HFz+95OEQBlBvd0oamQQWX7Oo+BoVFls/fnkKcKQPnW/AoHUt0cRFTvMPil fUY5amTo6Yf+ve5KroclfIh/rmk69INkB7GUAPfk= Date: Wed, 14 Dec 2022 09:53:13 -0800 From: Tyler Retzlaff To: Morten =?iso-8859-1?Q?Br=F8rup?= Cc: Bruce Richardson , dev@dpdk.org Subject: Re: [RFC PATCH 7/7] telemetry: change public API to use 64-bit signed values Message-ID: <20221214175313.GE31935@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20221213182730.97065-1-bruce.richardson@intel.com> <20221213182730.97065-8-bruce.richardson@intel.com> <98CBD80474FA8B44BF855DF32C47DC35D87594@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87594@smartserver.smartshare.dk> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Tue, Dec 13, 2022 at 09:19:45PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richardson@intel.com] > > Sent: Tuesday, 13 December 2022 19.28 > > > > While the unsigned values added to telemetry dicts/arrays were up to > > 64-bits in size, the sized values were only up to 32-bits. We can > > standardize the API by having both int and uint functions take 64-bit > > values. For ABI compatibility, we use function versioning to ensure > > older binaries can still use the older functions taking a 32-bit > > parameter. > > > > Suggested-by: Morten Brørup > > Signed-off-by: Bruce Richardson > > --- > > Excellent example of how to use function versioning for ABI compatibility. > > Series-acked-by: Morten Brørup > minor comments that can be optionally addressed. lgtm Series-acked-by: Tyler Retzlaff