From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id DD4F2DD2 for ; Wed, 2 May 2018 19:23:58 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 754E32174B; Wed, 2 May 2018 13:23:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 02 May 2018 13:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=yHsg/6/RVpCWC0yIqTo0b3GP15 mev1SsU6e/763pvgE=; b=PmHE3vum6FMYZ+hUCub9IIX7mohlLBVFV5EAmNf0Ol 6ATl5GNe3u5BWgDMhxwenIb5mYfx8pSKS7i3FFuknus6plQr0EHy5if8TGVlSfhk xqSTfJCqK1hPUj4QNm5PXu9CU6fXw2My9Jt1S0Ct2E3/SQ0lRcKJUWgTdrc9HC0H Q= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=yHsg/6 /RVpCWC0yIqTo0b3GP15mev1SsU6e/763pvgE=; b=SoMWQhLoj43g4L0UusGYBg 1pgXqwMDXkpl8f1TtN01QElsrgLu1DqhsuFMJF5NGDnIJdecJfew0c1L4QPZJV62 w+pMXgQtljYGJAmAr+C8YhZM1Jf6XPomv9amg4ONCnExuMQmGjfvsMJ0GIkhbO+G WEyRccCAGpPIGKOFBjj7r8mKepnQISQAn/Jl8vdPTcLVY+BiSBwLKfHheUmTTTLG j4+i/4MYzeaEGqbupN4bJb+uVXT5NSs0jzd4ke1BwM6/L0yTIET4WdtlPE6ZsInp YP1sBGla3NkpAUBIrIJ92x1ExLkgJ+xvc6bbsum+aOlPvjW2c1VJLfdhcqWJxP8Q == X-ME-Sender: Received: from xps.localnet (50.41.136.77.rev.sfr.net [77.136.41.50]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F389E4812; Wed, 2 May 2018 13:23:56 -0400 (EDT) From: Thomas Monjalon To: Konstantin Ananyev Cc: dev@dpdk.org, Ferruh Yigit Date: Wed, 02 May 2018 19:23:53 +0200 Message-ID: <2999530.qoPtrsuM73@xps> In-Reply-To: References: <1525269506-18710-1-git-send-email-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] x86: fix atomic exchange for 32-bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 17:23:59 -0000 02/05/2018 18:44, Ferruh Yigit: > On 5/2/2018 2:58 PM, Konstantin Ananyev wrote: > > should break out of loop when rte_atomic64_cmpset() retruns non-zero. > > > > Fixes: ff2863570fcc ("eal: introduce atomic exchange operation") > > > > Signed-off-by: Konstantin Ananyev > > Reviewed-by: Ferruh Yigit > Tested-by: Ferruh Yigit Applied, thanks