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 AFB6BA0525 for ; Mon, 20 Jan 2020 10:04:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 523EA11A2; Mon, 20 Jan 2020 10:04:23 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id A5CCD11A2; Mon, 20 Jan 2020 10:04:21 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 42EA321E92; Mon, 20 Jan 2020 04:04:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 20 Jan 2020 04:04:21 -0500 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=mesmtp; bh=c9DRLq4rj0i+pvsj+2wLPhJu3XnV+zt6X4Hne6CBX7o=; b=io+/yMbcz2dO MpFMKR/6e8F0FKfI0HIaJlqXhNBsdX6ktCOao7chHH2O789HzG/lCSTC20C2PMGI 4v0gQ3f/ytXmnLR5aAn6nV7MjfoRKiORsK/X+UEKVhhlLQSp2lKWvylGghJKs9wz 0UY1GM6yBWTd/obrOYchfGkpDJ4bnT4= 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=fm1; bh=c9DRLq4rj0i+pvsj+2wLPhJu3XnV+zt6X4Hne6CBX 7o=; b=ZEckZemx/WOdaRxbrF20AYyOYFhyQa1s6gAIFlfuxR4RixkFt7I7V6OcS hmvP6WZ9WG8e/7w+L4kWPcepQgweeIJZ3ea+CJwCjOLt3E+vHfmNHC+z2pulyItD Dn+Av1GCJuo5Z7YISfCXoaOwFfUafEMbJgZpbECsW3rttSP72phLtUDCzGs80axr +Uo8g0qUGk+oZ7nHVe3qXa2cZvk9zvNMSBWWoh9oZqeTMJ+Xx5QNi3f0sMgyySTA kk/bKmQ0FKevpUfBgaRLEh4JNri7nLUqF/9O1EcC0qukqR7G5SOpIfhrv7fE0Bom rw2SOAY8SeNv2XtTRE0LDy8OorEdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeggdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 2F5DE8005B; Mon, 20 Jan 2020 04:04:20 -0500 (EST) From: Thomas Monjalon To: "Li, Xiaoyun" Cc: dev@dpdk.org, "stable@dpdk.org" , "Wu, Jingjing" , gavin.hu@arm.com Date: Mon, 20 Jan 2020 10:04:18 +0100 Message-ID: <2857314.xlVK0Xs8nM@xps> In-Reply-To: <9BB6961774997848B5B42BEC655768F8115C8E0D@SHSMSX103.ccr.corp.intel.com> References: <20191204151916.12607-1-xiaoyun.li@intel.com> <9BB6961774997848B5B42BEC655768F8115C8E0D@SHSMSX103.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] raw/ntb: fix write memory barrier issue X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 26/12/2019 02:46, Wu, Jingjing: > From: Li, Xiaoyun > > All buffers and ring info should be written before tail register update. > > This patch relocates the write memory barrier before updating tail register > > to avoid potential issues. > > > > Fixes: 11b5c7daf019 ("raw/ntb: add enqueue and dequeue functions") > > Cc: stable@dpdk.org > > > > Signed-off-by: Xiaoyun Li > Acked-by: Jingjing Wu v1 applied, thanks