[dpdk-dev] [PATCH v3 1/2] bus/pci: fix vfio mode

Ferruh Yigit ferruh.yigit at intel.com
Mon Oct 30 20:07:05 CET 2017


On 10/30/2017 10:26 AM, Ferruh Yigit wrote:
> On 10/30/2017 9:36 AM, Gaetan Rivet wrote:
>> From: Jerin Jacob <jerin.jacob at caviumnetworks.com>
>>
>> Revert back to using VFIO_PRESENT as a marker to enable compilation
>> of VFIO-related segments.
>>
>> Fixes: 279b581c897d ("vfio: expose functions")
>>
>> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
>> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
> 
> Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>

Opps, this still will break the build with kernel < 3.6

Because rte_vfio.h includes "linux/vfio.h" unconditionally, I am still for
adding a version check in it to fix build for old kernels.


More information about the dev mailing list