[dpdk-dev] [PATCH] bus/pci: fix vfio mode
Jerin Jacob
jerin.jacob at caviumnetworks.com
Sat Oct 28 08:20:52 CEST 2017
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")
Cc: Gaetan Rivet <gaetan.rivet at 6wind.com>
Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
---
drivers/bus/pci/linux/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c
index cdf810693..d0ce0207a 100644
--- a/drivers/bus/pci/linux/pci.c
+++ b/drivers/bus/pci/linux/pci.c
@@ -46,6 +46,7 @@
#include "eal_private.h"
#include "eal_filesystem.h"
+#include "eal_vfio.h"
#include "private.h"
#include "pci_init.h"
--
2.14.3
More information about the dev
mailing list