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

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

Data Fields

struct doca_pe * pe
 
struct doca_dev * dev
 
struct doca_devemu_pci_type * pci_type
 
struct doca_dev_rep * rep
 
struct doca_devemu_pci_dev * pci_dev
 
struct doca_ctx * ctx
 
enum doca_devemu_pci_hotplug_state hotplug_state
 
void * stateful_region_values
 
struct doca_dpa * dpa
 
struct doca_dpa_thread * dpa_thread
 
struct doca_devemu_pci_db_completion * db_comp
 
doca_dpa_dev_devemu_pci_db_completion_t db_comp_handle
 
uint16_t db_region_idx
 
uint32_t db_id
 
struct {
   struct doca_devemu_pci_msix *   msix
 
   doca_dpa_dev_devemu_pci_msix_t   msix_handle
 
   struct doca_devemu_pci_db *   db
 
   doca_dpa_dev_devemu_pci_db_t   db_handle
 
data_path
 
doca_error_t error
 

Detailed Description

Definition at line 48 of file devemu_pci_common.h.

Field Documentation

◆ ctx

struct doca_ctx* devemu_resources::ctx

DOCA context representation of pci_dev

Definition at line 54 of file devemu_pci_common.h.

◆ 

struct { ... } devemu_resources::data_path

◆ db

struct doca_devemu_pci_db* devemu_resources::db

The device emulation DB object

Definition at line 66 of file devemu_pci_common.h.

◆ db_comp

struct doca_devemu_pci_db_completion* devemu_resources::db_comp

The DPA DB completion context

Definition at line 59 of file devemu_pci_common.h.

◆ db_comp_handle

doca_dpa_dev_devemu_pci_db_completion_t devemu_resources::db_comp_handle

The DPA DB completion context handle

Definition at line 60 of file devemu_pci_common.h.

◆ db_handle

doca_dpa_dev_devemu_pci_db_t devemu_resources::db_handle

The DPA handle of the DB object

Definition at line 67 of file devemu_pci_common.h.

◆ db_id

uint32_t devemu_resources::db_id

The DB ID

Definition at line 62 of file devemu_pci_common.h.

◆ db_region_idx

uint16_t devemu_resources::db_region_idx

The DB region index

Definition at line 61 of file devemu_pci_common.h.

◆ dev

struct doca_dev* devemu_resources::dev

Device that manage the emulated device

Definition at line 50 of file devemu_pci_common.h.

◆ dpa

struct doca_dpa* devemu_resources::dpa

The DPA context

Definition at line 57 of file devemu_pci_common.h.

◆ dpa_thread

struct doca_dpa_thread* devemu_resources::dpa_thread

DPA thread for receiving completions

Definition at line 58 of file devemu_pci_common.h.

◆ error

doca_error_t devemu_resources::error

Indicates an error that occurred during progress

Definition at line 69 of file devemu_pci_common.h.

◆ hotplug_state

enum doca_devemu_pci_hotplug_state devemu_resources::hotplug_state

The hotplug state of emulated device

Definition at line 54 of file devemu_pci_common.h.

◆ msix

struct doca_devemu_pci_msix* devemu_resources::msix

The device emulation MSI-X object

Definition at line 64 of file devemu_pci_common.h.

◆ msix_handle

doca_dpa_dev_devemu_pci_msix_t devemu_resources::msix_handle

The DPA handle of the MSI-X object

Definition at line 65 of file devemu_pci_common.h.

◆ pci_dev

struct doca_devemu_pci_dev* devemu_resources::pci_dev

The emulated device management context

Definition at line 53 of file devemu_pci_common.h.

◆ pci_type

struct doca_devemu_pci_type* devemu_resources::pci_type

The PCI type of the emulated device

Definition at line 51 of file devemu_pci_common.h.

◆ pe

struct doca_pe* devemu_resources::pe

Progress engine to retrieve events

Definition at line 49 of file devemu_pci_common.h.

◆ rep

struct doca_dev_rep* devemu_resources::rep

Representor of the emulated device

Definition at line 52 of file devemu_pci_common.h.

◆ stateful_region_values

void* devemu_resources::stateful_region_values

Buffer used to query stateful region values

Definition at line 56 of file devemu_pci_common.h.


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