FD.io VPP  v21.01.1
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
 

Functions

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

Variables

linux_vfio_main_t vfio_main
 
format_function_t format_vfio_region_info
 

Function Documentation

◆ linux_vfio_group_get_device_fd()

clib_error_t* linux_vfio_group_get_device_fd ( vlib_pci_addr_t *  addr,
int *  fd,
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:

◆ linux_vfio_init()

clib_error_t* linux_vfio_init ( vlib_main_t vm)

Definition at line 240 of file vfio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vfio_map_physmem_page()

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

◆ format_vfio_region_info

format_function_t format_vfio_region_info

Definition at line 52 of file vfio.h.

◆ vfio_main

linux_vfio_main_t vfio_main

Definition at line 35 of file vfio.c.