From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB2C7A04A4; Mon, 25 May 2020 01:54:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 390E81D5F1; Mon, 25 May 2020 01:54:56 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id BB9F61D5DC for ; Mon, 25 May 2020 01:54:54 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 546D95C0059; Sun, 24 May 2020 19:54:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sun, 24 May 2020 19:54:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= FN2sAX0DKvDgE/B1Cx577afRc+WPJil5p4+vmuzOzqc=; b=quj3hsF7H8hu7/IO Aqta5wkA7M95K17SerTJu6lVV8YmmTZM1TZsAEELQq7KpQbYSEGEHaiaoncbR217 1L/FfhOQyqM2smnylTCNMqdw1GB/mUA4onYKPl7lYnU2rnqG8rcd5a7oWKhWXACz rbRPVN/IFD4OG9b2/2HAOjrRuYffxkkriKM38hxcF9QYEO3w+bD0sUEKcBhuF7qT QyYPl9zHTdWvX95F1YRJ8+s1l10izICScfe0CgTQSU/+s7sL/tcyv0+d3KnX7A1F cNlqHRY8I6h/4o3NGRS624mqBmKob6TBiaGOwAOb89jdM8fnHugchIP84gAKZGrJ 5vv1Tw== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=FN2sAX0DKvDgE/B1Cx577afRc+WPJil5p4+vmuzOz qc=; b=qhQ4mvz2731vgr+dyz1pPWxjaqVHGXX734SvLPaiw8F680fnwElRJGNDz RXaBuSeFTKp0EGrRSaStqUK/jeGDLVImPlqPcgdCtvGnMGif2JBkT4jM438OWDsY 6Hc6rDmY5wuZcRYpLFZrJITmlEkiOUI/QfYt7aSFwDjY8YEkk1Qd3UxBJbz8BZAX Y+YANb0mHvR1thHA93OtA2WNZ526K68JAnas3H5Hp+m4kFYgK60zT91wZTdeuyr0 tTppatebhlYnMZbHCfIF0pHorpa1ZNtGQJMSNxecVyxqQkXtF0jatWP1WoAUapO1 iJaibhEnuuEaAhudI2r52Lbma3foQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudduledgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A0901328005D; Sun, 24 May 2020 19:54:52 -0400 (EDT) From: Thomas Monjalon To: Honnappa Nagarahalli Cc: "dev@dpdk.org" , "stephen@networkplumber.org" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "ruifeng.wang@arm.com" , "phil.yang@arm.com" , "nd@arm.com" , "Ananyev, Konstantin" Date: Mon, 25 May 2020 01:54:51 +0200 Message-ID: <10066799.p4WRxxX2tl@thomas> In-Reply-To: References: <1588835193-27550-1-git-send-email-phil.yang@arm.com> <20200522043013.12535-1-honnappa.nagarahalli@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] doc: announce adoption of C11 atomic operations semantics 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > As agreed in the DPDK tech board [1], after 20.05 release, patches must > > use C11 atomic operations semantics with the help of wrappers. > > > > [1] http://mails.dpdk.org/archives/dev/2020-April/165143.html > > > > Signed-off-by: Honnappa Nagarahalli > > Reviewed-by: Phil Yang > > Reviewed-by: Ruifeng Wang > > Acked-by: Hemant Agrawal > > Acked-by: Jerin Jacob > > --- > > +* rte_atomicNN_xxx: These APIs do not take memory order parameter. This does > > + not allow for writing optimized code for all the CPU architectures supported > > + in DPDK. DPDK will adopt C11 atomic operations semantics and provide wrappers > > + using C11 atomic built-ins. These wrappers must be used for patches that > > + need to be merged in 20.08 onwards. This change will not introduce any > > + performance degradation. > > + > > +* rte_smp_*mb: These APIs provide full barrier functionality. However, many > > + use cases do not require full barriers. To support such use cases, DPDK will > > + adopt C11 barrier semantics and provide wrappers using C11 atomic built-ins. > > + These wrappers must be used for patches that need to be merged in 20.08 > > + onwards. This change will not introduce any performance degradation. > > Acked-by: Konstantin Ananyev Acked-by: David Christensen Applied, thanks