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 388D01B2A1; Wed, 17 Jan 2018 00:37:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ACFDA20AB1; Tue, 16 Jan 2018 18:37:37 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 16 Jan 2018 18:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=lBOy7vatx3qk49qo09eE3Mw8SD W8MJNXXVTmfVbaQTk=; b=oSeZQBrgJQJDRTEIpFUCrJFNdppJZJkZBurJVHafy+ pj1tSsK+G9NfVMmgS7oJr2Pz3nNF1AEBuWdoxPKoQHISdWObaCy1WQGkZt9rKTG+ Mdr9Ae0ZYB+FgG5kqmnznzmjheygfR7OtJhMO0/HDmIAhxYvvLHv9qmDfq1+7BpS I= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lBOy7v atx3qk49qo09eE3Mw8SDW8MJNXXVTmfVbaQTk=; b=UHdWaCvBQLb3J+sfCyCVtC LQ8Gp/KLvEJ23Hfe3Aqnf62xdggQNFPRTsrRYPvgrdd8UiGJw9AsEcVu7yAeU3X0 rcaDVbUObHXOdYYgL7nm+PbdUUXG09OTOOH3nV8670fPx33288FT8xCtLbUzEiDn 4E+qiy9YY50FzzKQ9//tRJyBSwaCpCND80rILljxKLMnvDejOw+IyYFMXL8GGSn+ TYq1wtJYQb8uLa0NkDo34g76ygtxOVUaWSTz+pDx6KidTFddnMSWTSKZst7cJ3Ek zdFif3agt7SqV59b4fefbpS/WhbH2pdvLfDe+c2iP3wxI41rl+/8EvVZnL6OGq3A == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 65F9524736; Tue, 16 Jan 2018 18:37:37 -0500 (EST) From: Thomas Monjalon To: Xiao Wang Cc: dev@dpdk.org, Ferruh Yigit , tiwei.bie@intel.com, stephen@networkplumber.org, stable@dpdk.org Date: Wed, 17 Jan 2018 00:37:06 +0100 Message-ID: <3136059.R3c8CBnyMf@xps> In-Reply-To: References: <1513706293-133528-1-git-send-email-xiao.w.wang@intel.com> <1514844010-39793-1-git-send-email-xiao.w.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4] igb_uio: allow multi-process access 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: Tue, 16 Jan 2018 23:37:38 -0000 16/01/2018 20:43, Ferruh Yigit: > On 1/1/2018 10:00 PM, Xiao Wang wrote: > > In some case, one device are accessed by different processes via > > different BARs, so one uio device may be opened by more than one > > process, for this case we just need to enable interrupt once, and > > pci_clear_master only when the last process closed. > > > > Fixes: 5f6ff30dc507 ("igb_uio: fix interrupt enablement after FLR in VM") Cc: stable@dpdk.org > > Signed-off-by: Xiao Wang > > Acked-by: Ferruh Yigit Applied, thanks