FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
vfio.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  linux_pci_vfio_iommu_group_t
 
struct  linux_vfio_main_t
 

Macros

#define LINUX_VFIO_F_HAVE_IOMMU   (1 << 0)
 
#define LINUX_VFIO_F_HAVE_NOIOMMU   (1 << 1)
 

Functions

clib_error_tlinux_vfio_init (vlib_main_t *vm)
 
void linux_vfio_dma_map_regions (vlib_main_t *vm)
 
clib_error_tlinux_vfio_group_get_device_fd (vlib_pci_addr_t *addr, int *fd)
 

Variables

linux_vfio_main_t vfio_main
 

Macro Definition Documentation

#define LINUX_VFIO_F_HAVE_IOMMU   (1 << 0)

Definition at line 29 of file vfio.h.

#define LINUX_VFIO_F_HAVE_NOIOMMU   (1 << 1)

Definition at line 30 of file vfio.h.

Function Documentation

void linux_vfio_dma_map_regions ( vlib_main_t vm)

Definition at line 77 of file vfio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* linux_vfio_group_get_device_fd ( vlib_pci_addr_t *  addr,
int *  fd 
)

Definition at line 168 of file vfio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* linux_vfio_init ( vlib_main_t vm)

Definition at line 229 of file vfio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

linux_vfio_main_t vfio_main

Definition at line 35 of file vfio.c.