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 1B1874F90; Mon, 29 Oct 2018 01:26:34 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 80A3B21CF1; Sun, 28 Oct 2018 20:26:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 28 Oct 2018 20:26:33 -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=mesmtp; bh=UOVRICicFXhC4Sp/AQWbWYS2ASmylYQy2Fuy3Wv9exM=; b=aUxe/ftvy0+P 1l0ac27JQ/W3Uv2Zu906oJsWPnmcoPouYSDCjw3xxOY96MiYPpfS5jFEIVJydQ6y Uph0Gng6VGHo8ITSx52HqPb/HpVbZMjg5t8paAPd6UNIu7Wk4yNoSXH8K0FexnQF 97FOgx9ccgymycLcr4QLhefq0M1ZTqM= 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=UOVRICicFXhC4Sp/AQWbWYS2ASmylYQy2Fuy3Wv9e xM=; b=Ak4l2tTt6lfpOPDU60M+Xe6ThPEJM7N8+qh7aJIRD6X/TUHnC9EpPc1eg i71yBrl3SBK06GqtLjaERivnvOH1zw0nb1Lhm159nLCTMQVvsxr/6+va4BJeffk5 r79SMHEgDr/KjyeskaDdZM4w4rQYZPZSQVR6i/abrqlbI+G5UKbOthkfMgGgYcQH M+V0DfDRGVXe+e6psvwB+gwFRs+v8/MKwRKbr7xsnz1SBEuNTF8AgY5RqY4SMQtk pVPxAl637CpFVzCd+uv+AOg4Dkci2rRvUkDsrFyCOZrREofj0ohH3B2CPWMs3AYh 3aMQtSnVrJm/gw6vbfRW6vTCFh4OA== X-ME-Sender: 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 F2B5FE43AC; Sun, 28 Oct 2018 20:26:31 -0400 (EDT) From: Thomas Monjalon To: "Stojaczyk, Dariusz" Cc: dev@dpdk.org, "Wang, Xiao W" , Alejandro Lucero , "Burakov, Anatoly" , "stable@dpdk.org" Date: Mon, 29 Oct 2018 01:26:38 +0100 Message-ID: <14140752.NalxdHykFh@xps> In-Reply-To: References: <20180917134643.103871-1-dariusz.stojaczyk@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/2] eal/vfio: check if we already have the group fd open 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: , X-List-Received-Date: Mon, 29 Oct 2018 00:26:34 -0000 25/09/2018 09:56, Wang, Xiao W: > Hi, > > > From: Dariusz Stojaczyk > > > > Always attempt to find already opened fd for an iommu > > group as subsequent attempts to open it will fail. > > > > There's no public API to check if a group was already > > bound and has a container, so rte_vfio_container_group_bind() > > shouldn't fail in such case. > > > > Fixes: ea2dc1066870 ("vfio: add multi container support") > > Cc: xiao.w.wang@intel.com > > > > Signed-off-by: Dariusz Stojaczyk > > Acked-by: Xiao Wang +Cc: stable@dpdk.org Series applied, thanks