NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
devemu_host_resources Struct Reference

#include </opt/mellanox/doca/samples/doca_devemu/devemu_pci_host_common.h>

Collaboration diagram for devemu_host_resources:

Data Fields

int container_fd
 
int group_fd
 
int device_fd
 
struct bar_mapped_region stateful_region
 
struct bar_mapped_region db_region
 
int * msix_vector_to_fd
 
struct mapped_memory dma_mem
 

Detailed Description

Definition at line 46 of file devemu_pci_host_common.h.

Field Documentation

◆ container_fd

int devemu_host_resources::container_fd

The fd of the VFIO container

Definition at line 47 of file devemu_pci_host_common.h.

◆ db_region

struct bar_mapped_region devemu_host_resources::db_region

mapped memory of the DB region

Definition at line 49 of file devemu_pci_host_common.h.

◆ device_fd

int devemu_host_resources::device_fd

The fd of the VFIO device

Definition at line 49 of file devemu_pci_host_common.h.

◆ dma_mem

struct mapped_memory devemu_host_resources::dma_mem

mapped memory of for DMA operation

Definition at line 52 of file devemu_pci_host_common.h.

◆ group_fd

int devemu_host_resources::group_fd

The fd of the VFIO group

Definition at line 48 of file devemu_pci_host_common.h.

◆ msix_vector_to_fd

int* devemu_host_resources::msix_vector_to_fd

Map of MSI-X index to event fd

Definition at line 52 of file devemu_pci_host_common.h.

◆ stateful_region

struct bar_mapped_region devemu_host_resources::stateful_region

mapped memory of the stateful region

Definition at line 49 of file devemu_pci_host_common.h.


The documentation for this struct was generated from the following file: