FD.io VPP  v19.01.2-3-gf61a1a8
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

clib_error_tvfio_map_physmem_page (vlib_main_t *vm, void *addr)
 
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, int *is_noiommu)
 
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 80 of file vfio.c.

+ Here is the caller graph for this function:

clib_error_t* linux_vfio_group_get_device_fd ( vlib_pci_addr_t *  addr,
int *  fdp,
int *  is_noiommu 
)

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

+ Here is the call graph for this function:

+ 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 91 of file vfio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vfio_map_physmem_page ( vlib_main_t vm,
void *  addr 
)

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