From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v4] igb_uio: allow multi-process access Date: Tue, 16 Jan 2018 19:43:35 +0000 Message-ID: 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-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, tiwei.bie@intel.com, stephen@networkplumber.org To: Xiao Wang Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1356FA49C for ; Tue, 16 Jan 2018 20:43:39 +0100 (CET) In-Reply-To: <1514844010-39793-1-git-send-email-xiao.w.wang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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") > > Signed-off-by: Xiao Wang Acked-by: Ferruh Yigit