FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
vfio.c File Reference
+ Include dependency graph for vfio.c:

Go to the source code of this file.

Macros

#define VFIO_NOIOMMU_IOMMU   8
 

Functions

static int map_regions (vlib_main_t *vm, int fd)
 
void linux_vfio_dma_map_regions (vlib_main_t *vm)
 
static linux_pci_vfio_iommu_group_tget_vfio_iommu_group (int group)
 
static clib_error_topen_vfio_iommu_group (int group, int is_noiommu)
 
clib_error_tlinux_vfio_group_get_device_fd (vlib_pci_addr_t *addr, int *fdp)
 
clib_error_tlinux_vfio_init (vlib_main_t *vm)
 

Variables

linux_vfio_main_t vfio_main
 

Macro Definition Documentation

#define VFIO_NOIOMMU_IOMMU   8

Definition at line 32 of file vfio.c.

Function Documentation

static linux_pci_vfio_iommu_group_t* get_vfio_iommu_group ( int  group)
static

Definition at line 75 of file vfio.c.

+ Here is the caller graph for this function:

void linux_vfio_dma_map_regions ( vlib_main_t vm)

Definition at line 66 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 *  fdp 
)

Definition at line 157 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 218 of file vfio.c.

+ Here is the caller graph for this function:

static int map_regions ( vlib_main_t vm,
int  fd 
)
static

Definition at line 38 of file vfio.c.

+ Here is the caller graph for this function:

static clib_error_t* open_vfio_iommu_group ( int  group,
int  is_noiommu 
)
static

Definition at line 86 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.