#include <rte_pci.h>
#include <rte_eal_memconfig.h>
#include <rte_malloc.h>
+#include <rte_vfio.h>
#include "eal_filesystem.h"
#include "eal_pci_init.h"
-#include "eal_vfio.h"
#include "eal_private.h"
/**
* This file is only compiled if CONFIG_RTE_EAL_VFIO is set to "y".
*/
-#ifdef VFIO_PRESENT
+#ifdef RTE_EAL_VFIO
#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
#define PAGE_MASK (~(PAGE_SIZE - 1))
return -1;
}
-int
-pci_vfio_enable(void)
-{
- return vfio_enable("vfio_pci");
-}
-
int
pci_vfio_is_enabled(void)
{