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 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudeiledgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 5814FE4384; Tue, 18 Dec 2018 21:02:55 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Stephen Hemminger , 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 > Signed-off-by: Stephen Hemminger +Cc stable@dpdk.org Series applied, thanks