numam-dpdk/drivers/bus
Jerin Jacob 94d7265976 vfio: fix missing header inclusion
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
<rte_vfio.h> 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: cda9441996 ("vfio: fix build with Linux < 4.0")

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
2018-10-17 10:16:18 +02:00
..
dpaa dpaa: enable dpaax library 2018-10-16 14:54:25 +02:00
fslmc net/dpaa2: optimize fd reset in Tx path 2018-10-16 14:54:26 +02:00
ifpga eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
pci vfio: fix missing header inclusion 2018-10-17 10:16:18 +02:00
vdev eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
vmbus eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
Makefile bus/vmbus: add Hyper-V virtual bus support 2018-07-13 23:48:07 +02:00
meson.build bus/vmbus: add Hyper-V virtual bus support 2018-07-13 23:48:07 +02:00