From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vfio: fix missing header inclusion Date: Wed, 17 Oct 2018 10:18:09 +0200 Message-ID: <1822592.kQGmlEvfPa@xps> References: <20181017052950.29078-1-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "ferruh.yigit@intel.com" , "jia.guo@intel.com" , "Jacob, Jerin" , "Bhagavatula, Pavan" To: Jerin Jacob Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ED4DD7D34 for ; Wed, 17 Oct 2018 10:18:08 +0200 (CEST) In-Reply-To: <20181017052950.29078-1-jerin.jacob@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/10/2018 07:30, Jerin Jacob: > The following change set introduces HAVE_VFIO_DEV_REQ_INTERFACE > and used in the below files. > > drivers/bus/pci/linux/pci_vfio.c > drivers/bus/pci/pci_common.c > lib/librte_eal/linuxapp/eal/eal_interrupts.c > > However, Except the first file, the change missed to include > where HAVE_VFIO_DEV_REQ_INTERFACE defined. > This creates runtime following error on vfio-pci mode and > kernel >= 4.0.0 combination. > > EAL: [rte_intr_enable] Unknown handle type of fd 95 > EAL: [pci_vfio_enable_notifier]Fail to enable req notifier. > EAL: Fail to unregister req notifier handler. > EAL: Error setting up notifier! > EAL: Requested device 0000:07:00.1 cannot be used > > Fixes: cda94419964f ("vfio: fix build with Linux < 4.0") > > Signed-off-by: Jerin Jacob > Signed-off-by: Pavan Nikhilesh Applied, thanks