From: "Eelco Chaudron" Subject: Re: [PATCH 3/3] lib/librte_meter: update abi to include new rfc4115 function Date: Wed, 28 Nov 2018 13:40:09 +0100 Message-ID: References: <154333204294.44971.12989297399338053044.stgit@dbuild> <3306361.jWiN20gDd9@xps> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; markup=markdown Cc: dev@dpdk.org, "David Marchand" , cristian.dumitrescu@intel.com To: "Thomas Monjalon" Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3A0D758EC for ; Wed, 28 Nov 2018 13:40:15 +0100 (CET) In-Reply-To: <3306361.jWiN20gDd9@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 28 Nov 2018, at 11:09, Thomas Monjalon wrote: > 28/11/2018 10:27, Eelco Chaudron: >> On 28 Nov 2018, at 9:38, David Marchand wrote: >>> On Tue, Nov 27, 2018 at 4:22 PM Eelco Chaudron >>> wrote: >>>> --- a/lib/librte_meter/Makefile >>>> +++ b/lib/librte_meter/Makefile >>>> -LIBABIVER := 2 >>>> +LIBABIVER := 3 >>> >>> As far as I understood the policy around the EXPERIMENTAL section, >>> you >>> don't need to bump the library version. >> >> Thought I would add the new function as none experimental, i.e. next >> version, but checkpatch did not allow me to do this. >> >> Tried to find info on what the right process was, as these functions >> are >> just another meter implementation using similar existing APIs. If >> anyone >> has any background on this please point me to it. > > It is documented here: > http://doc.dpdk.org/guides/contributing/versioning.html > > The case for "similar API" is not handled specifically so far. > So you need to introduce it as experimental. Thanks for the clarification, will update the APIs with __rte_experimental in the next iteration. >> I changed the library version as an existing data structure changed >> (which in theory should not change the location of the data), but the >> ABI check popped warnings so I decided to increase the version. > > It deserves to analyze why the ABI check raises a warning. > If it really needs to bump the ABI version, you should justify it > in the commit message, and explain what changed in the ABI section > of the release notes, plus update the version in the release notes. Will look at it more closely and update it for the next iteration.