| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |

Data Fields | |
| struct doca_dev * | device |
| struct doca_mmap * | mmap |
| struct doca_buf_inventory * | inventory |
| struct doca_pe * | pe |
| struct doca_ctx * | contexts [NUM_DMA_NODES] |
| struct doca_dma * | dma [NUM_DMA_NODES] |
| uint8_t * | buffer |
| uint8_t * | available_buffer |
| struct doca_graph * | graph |
| struct doca_graph_node * | dma_node [NUM_DMA_NODES] |
| struct doca_graph_node * | user_node |
| struct graph_instance_data | instances [NUM_GRAPH_INSTANCES] |
| uint32_t | num_completed_instances |
This struct defines the program context.
Definition at line 110 of file graph_sample.c.
| uint8_t* graph_sample_state::available_buffer |
Definition at line 127 of file graph_sample.c.
| uint8_t* graph_sample_state::buffer |
Buffer This buffer is used for the source and destination. Real life scenario may use more memory areas.
Definition at line 126 of file graph_sample.c.
| struct doca_ctx* graph_sample_state::contexts[NUM_DMA_NODES] |
Definition at line 118 of file graph_sample.c.
| struct doca_dev* graph_sample_state::device |
Resources
Definition at line 114 of file graph_sample.c.
| struct doca_dma* graph_sample_state::dma[NUM_DMA_NODES] |
Definition at line 119 of file graph_sample.c.
| struct doca_graph_node* graph_sample_state::dma_node[NUM_DMA_NODES] |
Definition at line 135 of file graph_sample.c.
| struct doca_graph* graph_sample_state::graph |
Graph This section holds the graph and nodes. The nodes are used during instance creation and maintenance.
Definition at line 134 of file graph_sample.c.
| struct graph_instance_data graph_sample_state::instances[NUM_GRAPH_INSTANCES] |
Definition at line 136 of file graph_sample.c.
| struct doca_buf_inventory* graph_sample_state::inventory |
Definition at line 116 of file graph_sample.c.
| struct doca_mmap* graph_sample_state::mmap |
Definition at line 115 of file graph_sample.c.
| uint32_t graph_sample_state::num_completed_instances |
Definition at line 141 of file graph_sample.c.
| struct doca_pe* graph_sample_state::pe |
Definition at line 117 of file graph_sample.c.
| struct doca_graph_node* graph_sample_state::user_node |
Definition at line 136 of file graph_sample.c.