From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/1] doc: announce API change to lcore role function Date: Wed, 14 Feb 2018 11:59:12 +0100 Message-ID: <9001700.V5d3VI6AvN@xps> References: <1515789935-3794-1-git-send-email-erik.g.carrillo@intel.com> <5006829.4uDuJ5LzRD@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, nhorman@tuxdriver.com, pbhagavatula@caviumnetworks.com, aconole@redhat.com To: Erik Gabriel Carrillo Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id AD0671B2BD for ; Wed, 14 Feb 2018 11:59:24 +0100 (CET) In-Reply-To: <5006829.4uDuJ5LzRD@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" 14/02/2018 01:09, Thomas Monjalon: > 12/01/2018 21:45, Erik Gabriel Carrillo: > > This an API/ABI change notice for DPDK 18.05 announcing a change in > > the meaning of the return values of the rte_lcore_has_role() function. > > > > Signed-off-by: Erik Gabriel Carrillo > > --- > > +* eal: The semantics of the return value for the ``rte_lcore_has_role`` function > > + are planned to change in v18.05. The function currently returns 0 and <0 for > > + success and failure, respectively. This will change to 1 and 0 for true and > > + false, respectively, to make use of the function more intuitive. > > It will introduce some subtle bugs in applications. > We must clearly advertise this API change in the release notes. > > Acked-by: Thomas Monjalon Applied