Struct opae_vfio¶
OPAE VFIO device abstraction. More...
#include <vfio.h>
Public Attributes¶
Type | Name |
---|---|
opae_hash_map | cont_buffers Map of allocated DMA buffers. |
char * | cont_device "/dev/vfio/vfio" |
int | cont_fd Container file descriptor. |
char * | cont_pciaddr PCIe address, eg 0000:00:00.0. |
struct opae_vfio_iova_range * | cont_ranges List of IOVA ranges. |
struct opae_vfio_device | device The VFIO device. |
struct opae_vfio_group | group The VFIO device group. |
struct mem_alloc | iova_alloc Allocator for IOVA space. |
pthread_mutex_t | lock For thread safety. |
Detailed Description¶
This structure is used to interact with the OPAE VFIO API. It tracks data related to the VFIO container, group, and device. A mutex is provided for thread safety.
Public Attributes Documentation¶
variable cont_buffers¶
variable cont_device¶
variable cont_fd¶
variable cont_pciaddr¶
variable cont_ranges¶
variable device¶
variable group¶
variable iova_alloc¶
variable lock¶
The documentation for this class was generated from the following file docs/sw/include/opae/vfio.h