From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3BAA94CE4;
 Wed, 19 Dec 2018 03:02:57 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id BA0CE220AD;
 Tue, 18 Dec 2018 21:02:56 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 18 Dec 2018 21:02:56 -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=SrvG6ntNrZbV/XbN801jeu6BGLJht8bkCK7ULg6wxzo=; b=EMaUsqLXBZHn
 nplUqe/OySvsnuARIIaR+MzRIdAp2rokYii6Ojaw5c215zXmVAw7ixXJ2crJC4EE
 KTY3JbDdIoY5NhRyJcA5k5CVLzJ6V+JpE5SH3K9wa0um496HyFew1MSYQ9viNDl8
 0zpSNu6C2xeiwoqnRuZuSUGP2ViJrss=
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=SrvG6ntNrZbV/XbN801jeu6BGLJht8bkCK7ULg6wx
 zo=; b=TZXN+Sdp9PqfsM2TRr3q2fTwDKDDxWrPEEYlbnuxUqqfRLpWxF4cMpKCB
 CeTeqgGcoHYA+cpTk3fgPVNBvYPNDFiFd3jXJe4jAu4m0IvXM61TmQbsUtGdtwzV
 eEa1YSBfQ0+GUDDj9If98UdRDS/p/z8ZaI6jBmeO/IfZ+Afh08YX1c9sIxF0rvz9
 6jri2Ja+1RzWJ+7MjtZA0DhGXPylreBnJzqbseHKBCvTFco1YLkSHdvd1FsdcL3I
 SPiby1XBzhwzHaf7WAqBhUMUyGY61J6DGi56JXQdyx5Nf/xUddFHRCq6Vm9JSa8w
 o10lckp2u8wj3+vgOIfyPOCOtZb6Q==
X-ME-Sender: <xms:z6YZXPpSIpLLSZZmhMDg4Ze5PNUPRU67D6BX_Rcx8q6h4reGyKgarg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudeiledgudduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef
 tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg
 hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu
 oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd
 efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl
 ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:0KYZXKFjTI3l0zQCqBQjqeIqPkF22n14f14MnDadu92_9cSFFmQCEQ>
 <xmx:0KYZXL-BWKKuKdLMhRACzp_h3Ng07WSYOoIxUT3N2tFqJ772G3W_SQ>
 <xmx:0KYZXPSn5jjbvnTRtZY79WhvemyrXWZtpFmTxey3DO2a263ndSHezA>
 <xmx:0KYZXH5_EFkpgGU7GgrLPUkllY-AqvV02ktt8ppeGemhnGxmgZG45A>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 5814FE4384;
 Tue, 18 Dec 2018 21:02:55 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Stephen Hemminger <sthemmin@microsoft.com>
Cc: dev@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>,
 mgamal@redhat.com, stable@dpdk.org
Date: Wed, 19 Dec 2018 03:02:54 +0100
Message-ID: <2905401.3vmVePZ0RS@xps>
In-Reply-To: <20181205221159.6336-1-stephen@networkplumber.org>
References: <1543575881.5400.33.camel@redhat.com>
 <20181205221159.6336-1-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v2 1/4] bus/vmbus: fix race in sub channel
	creation
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Dec 2018 02:02:57 -0000

05/12/2018 23:11, Stephen Hemminger:
> When using multiple queues, there was a race with the kernel
> in setting up the second channel. This regression is due to a kernel change
> which does not allow accessing sysfs files for Hyper-V channels that are not opened.
> 
> The fix is simple, just move the logic to detect not ready
> sub channels earlier in the existing loop.
> 
> Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support")
> Reported-by:Mohammed Gamal <mgamal@redhat.com>
> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>

+Cc stable@dpdk.org

Series applied, thanks