From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 062DC1B680 for ; Mon, 29 Jan 2018 16:12:27 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7004C21161; Mon, 29 Jan 2018 10:12:26 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 29 Jan 2018 10:12:26 -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=0dRP4FBNAP4BAkH5/evdjT8um8 cX6OvtzzS5klKtCAs=; b=a3PGgkxmuE/0R+qLF70+TvYit6sHmuwXGs9RUkCooR pBwXbBYEgqlaPNV197TAtwQBzFtbUqZgF/0WX0f1qX9WyXCx2Wengwxp8lGChKug Jv7tA8RBAv1SOjl9E32F+gm53xYy+7mx5QRgnCebz8mJlzwCxmJICsu37GPvaosT E= 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=0dRP4F BNAP4BAkH5/evdjT8um8cX6OvtzzS5klKtCAs=; b=CVGfAZJq82Dc21hgrS5oI5 5rMwGDlYcKR355zPa+dQYKwBgLRungRYJqaxUNDFo5464CAVPBTx/lfFQ6joa0Au zVElFr9CXYKUrj7QKwN5anqNgB92v6fjNa4TMQU4WgpxMyJQTn8V4mUos/LMLx8o Yy5Kr9HpzzeMyu8zOiOHTwWX/xkMC/e3WYVIMPgrOxskXHfLsUDqDTsHTFt3zq2K Qx2auufjB1Yd4+zZPb0IMRWbjVGtdk/DHpBQ6ByXxHYdQwhDjcnTOzZk8ZfQTTL8 Pm7yCuu5HlNor0tbv+kdzgaGl0auaYP10Ng6AYC3D4/Gu7i9FHKTz7xj93DMNsOw == 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 EF0B77E664; Mon, 29 Jan 2018 10:12:25 -0500 (EST) From: Thomas Monjalon To: Jia He Cc: dev@dpdk.org, Hemant Agrawal , Jerin Jacob , Jianbo Liu , Jan Viktorin , Olivier Matz , konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Mon, 29 Jan 2018 16:11:39 +0100 Message-ID: <2756445.xh3I1VZFvI@xps> In-Reply-To: <1516596088-10364-1-git-send-email-hejianet@gmail.com> References: <1516161831-28719-1-git-send-email-hejianet@gmail.com> <1516596088-10364-1-git-send-email-hejianet@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v9 0/3] support c11 memory model barrier in librte_ring 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: Mon, 29 Jan 2018 15:12:27 -0000 22/01/2018 05:41, Jia He: > There are 2 model barrier options in librte_ring suggested by Jerin: > 1. use rte_smp_rmb > 2. use load_acquire/store_release > > CONFIG_RTE_RING_USE_C11_MEM_MODEL is provided for supporting C11 memory > model barrier in librte_ring. By default it is "y" on arm64, "n" on any > other architectures so far. > > Already fuctionally tested on the machines as follows: > - on X86 > - on arm64 with CONFIG_RTE_RING_USE_C11_MEM_MODEL=y > - on arm64 with CONFIG_RTE_RING_USE_C11_MEM_MODEL=n Applied, thanks