From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] bus/pci: fix vfio mode Date: Mon, 30 Oct 2017 14:40:12 +0530 Message-ID: <20171030091011.GA26331@jerin> References: <20171028062053.6615-1-jerin.jacob@caviumnetworks.com> <20171030080654.GF10890@bidouze.vm.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, thomas@monjalon.net To: =?iso-8859-1?Q?Ga=EBtan?= Rivet Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0079.outbound.protection.outlook.com [104.47.36.79]) by dpdk.org (Postfix) with ESMTP id 4DC9A2BF5 for ; Mon, 30 Oct 2017 10:10:30 +0100 (CET) Content-Disposition: inline In-Reply-To: <20171030080654.GF10890@bidouze.vm.6wind.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" -----Original Message----- > Date: Mon, 30 Oct 2017 09:06:54 +0100 > From: Gaëtan Rivet > To: Jerin Jacob > Cc: dev@dpdk.org, thomas@monjalon.net > Subject: Re: [dpdk-dev] [PATCH] bus/pci: fix vfio mode > User-Agent: Mutt/1.5.23 (2014-03-12) > > Hi Jerin, Hi Gaëtan, > > On Sat, Oct 28, 2017 at 11:50:52AM +0530, Jerin Jacob wrote: > > The definition of VFIO_PRESENT is "eal_vfio.h", Fail to > > include eal_vfio.h will result in disabling vfio. > > > > Fixes: 279b581c897d ("vfio: expose functions") > > > > Thanks for the fix, sorry for VFIO. > I tried to let go of VFIO_PRESENT in the PCI patchset, unfortunately I did > not do a good-enough job. > > Instead of reinstating the dependency on the private eal_vfio.h header, > I'd suggest replacing all VFIO_PRESENT references within the PCI bus by > RTE_EAL_VFIO, and make the pci_vfio.c compilation depend on it within > the linux Makefile. Something like: That will work. But, I think, We can push this patch as a hot fix as master is broken now.