From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E0A6C433DF for ; Wed, 29 Jul 2020 14:11:47 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 268492070B for ; Wed, 29 Jul 2020 14:11:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="rG4YjfGS"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="srqplHST" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 268492070B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B94C1BFF4; Wed, 29 Jul 2020 16:11:28 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 72EDD4C93 for ; Wed, 29 Jul 2020 16:11:27 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EBCAD5C00D4; Wed, 29 Jul 2020 10:11:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 29 Jul 2020 10:11:26 -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= v2iOxp0Jz3hWvBmGU9etWzrVAKHRXdulQN6cU8qxRm4=; b=rG4YjfGSCjffEo4z xSQbLNyul9nvaEOlhkQTedjqqQ5lfgqU+xY+UGXYFsRe3eVQX7YLy8C7nrQw71XE QdhwfB5mjUjzLiwe9d/S+BY79qjUbjvcf9KYXGQ4Ck/KNp0YKPWFKmL2hX5b6c9i 9xAoV8yA9BModMqwzTIRtvxcbZQFFir6n/EXQAGsqvyAIeO4OC9StwVSTW/68qTC 8tlRaKkcNwCqOIemUfKibQDkJVZFfxzwLeTcKj/V2rvt+QqFRJgGQIE8RSzdt2VM ZzXMUFG5IoHvYK8rucLTSbK9dD/VTY55KGXnA5nhH8ltEKdlRo3xK3m6cB2HBOCe hZ/fFg== 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=fm3; bh=v2iOxp0Jz3hWvBmGU9etWzrVAKHRXdulQN6cU8qxR m4=; b=srqplHSTrHNvQ7wgqsxJSGBokaBA5ES3J7IyNfvBnvgYKPSOnlouobXpY ttzWezbr7rc8ahSNELwGJrdFj9b199VAhV9URi+lkGXBA1ig2EgyrJ2QPI9zbjGq mqiB42FjcpYqxkK4GmkdDA4Xhus8F2IDkzAHfylylZmpbiMORbcUA7/LwzAXhwso Cwp3xluOGaFPopiyBtnn3+ca687xmjLoD+Z7Mox0cDU99NB+yKIMQ6OwZwmeNCbC HAnAUUCoXb272q7ecc4zWTnPSHavR0xQiHlxZDu7/ZtSKPGse526I2dJyHdJzVHi PRjl8sGk3q+N4ozbqdZ5exIiMgoJw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrieeggdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth 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 3A7ED328005A; Wed, 29 Jul 2020 10:11:26 -0400 (EDT) From: Thomas Monjalon To: Long Li Cc: Stephen Hemminger , dev@dpdk.org, Long Li Date: Wed, 29 Jul 2020 16:11:25 +0200 Message-ID: <3612498.uQDfU9uoTB@thomas> In-Reply-To: <1595017109-22952-1-git-send-email-longli@linuxonhyperv.com> References: <1595017109-22952-1-git-send-email-longli@linuxonhyperv.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bus/vmbus: use SMP memory barrier for signaling read 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" 17/07/2020 22:18, Long Li: > From: Long Li > > rte_smp_mb() uses the same locked ADD as the in-kernel vmbus driver, > and it has slightly performance improvement over rte_mb(). > > Signed-off-by: Long Li Applied, thanks