From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0B4871B025 for ; Wed, 17 Jan 2018 10:10:05 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7262520EF6; Wed, 17 Jan 2018 04:10:04 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 17 Jan 2018 04:10:04 -0500 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=nTkKhr2aNN+e8KL9H8bjTsDbvn vnqjW7pSRLvdvxLTo=; b=l/vXsAu7psGgzHwHoyayKY/tDowMIeCHMv1OZcZQ/c tnVIfK0QU0PBFx8NrnI0gw/S4sUm8/nluSIASeWkB+QLFVwt9i22ztiRC4OrQJaP QDgRyVzLX9IWcPUN3kSMKWrMxkLDeFYddhEPXMFYnkzkEtlMbfimkNmvGO5RQs9y 0= 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=fm1; bh=nTkKhr 2aNN+e8KL9H8bjTsDbvnvnqjW7pSRLvdvxLTo=; b=bK6IKSj006/ZCUF3o6IvYH R8cUHAlRlzamRlCcf1yIAgxZebfFPNi4ZffGDqX6LlSqaWp71uiIzpMV3Ew23pRd IXkM5zHKaR23FQMswWqfE6eMVgzR7BBgUCv0zMULF8DcYGwG7NRU83wBag4kYRVA T6FkdK97v82dGRHU//KFYLYPr9mGpYGkzziZ0Vz7yqL9EAblEKOo+Oq9sGEOrhXN WBnNUB4tInjiuPIhhxbb6rX6Kxn2x+hy95ZGXng3TZ9NSQaxDWYok8EVtGJhiixX D7w+Ndk0+Aw0eOL/lXRjLTw12uiTwxj3qr4O233yeu2wTNVO1Fn4kKWegC7YLVgA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 187FD24731; Wed, 17 Jan 2018 04:10:04 -0500 (EST) From: Thomas Monjalon To: Jia He Cc: dev@dpdk.org, Jerin Jacob , Jianbo Liu , Jan Viktorin , Olivier Matz , konstantin.ananyev@intel.com, hemant.agrawal@nxp.com, Jia He Date: Wed, 17 Jan 2018 10:09:31 +0100 Message-ID: <3399617.YsM4r4Ydhj@xps> In-Reply-To: <23810751-921d-4e3a-bac6-95d251cc122f@gmail.com> References: <1516161831-28719-1-git-send-email-hejianet@gmail.com> <2512442.13rg75T8JE@xps> <23810751-921d-4e3a-bac6-95d251cc122f@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v8 3/3] ring: introduce new header file to support C11 memory model 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, 17 Jan 2018 09:10:05 -0000 17/01/2018 09:47, Jia He: > > Hi Thomas > > On 1/17/2018 4:24 PM, Thomas Monjalon Wrote: > > 17/01/2018 05:03, Jia He: > >> To support C11 memory model barrier, 2 options are suggested by Jerin: > >> 1. use rte_smp_rmb > >> 2. use load_acquire/store_release(refer to [1]). > >> CONFIG_RTE_RING_USE_C11_MEM_MODEL is provided, and by default it is "n" > >> on any architectures so far. > > In previous patches, it was enabled for ARM. > > You decided to not enable it at all? > Sorry, maybe I misunderstand your previous mail. > >This config option should be added in the common file (as disabled). > Do you mean CONFIG_RTE_RING_USE_C11_MEM_MODEL=n in comm_base and > "y" in armv8 config? Yes, exactly