numam-dpdk/drivers/bus/pci
Jeff Guo cda9441996 vfio: fix build with Linux < 4.0
Since the older kernel version do not implement the device request
interface for vfio, so when build on the kernel < v4.0.0, which is
the version begin to add the device request interface, it will
throw the error to show “VFIO_PCI_REQ_IRQ_INDEX” is undeclared.
This patch aim to fix this compile issue by add the macro
“HAVE_VFIO_DEV_REQ_INTERFACE” after checking the kernel version.

Fixes: 0eb8a1c4c7 ("vfio: add request notifier interrupt")
Fixes: c115fd000c ("vfio: handle hotplug request notifier")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-10-16 14:54:25 +02:00
..
bsd eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
linux vfio: fix build with Linux < 4.0 2018-10-16 14:54:25 +02:00
Makefile eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
meson.build eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
pci_common_uio.c bus/pci: support hot-unplug handler 2018-10-15 22:16:48 +02:00
pci_common.c vfio: fix build with Linux < 4.0 2018-10-16 14:54:25 +02:00
pci_params.c devargs: rename enum items with singular form 2018-10-11 13:57:29 +02:00
private.h bus/pci: support hot-unplug handler 2018-10-15 22:16:48 +02:00
rte_bus_pci_version.map bus/pci: fix namespace of sysfs path function 2017-11-07 00:44:10 +01:00
rte_bus_pci.h bus/pci: add VFIO request interrupt handle to device 2018-10-15 23:13:31 +02:00