NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
nvmf_doca_dpa_msgq_create_attr Struct Reference
Collaboration diagram for nvmf_doca_dpa_msgq_create_attr:

Data Fields

struct doca_dev * dev
 
struct doca_dpa * dpa
 
bool is_send
 
uint32_t max_num_msg
 
struct doca_comch_consumer_completion * consumer_comp
 
struct doca_dpa_completion * producer_comp
 
struct doca_pe * pe
 
doca_ctx_state_changed_callback_t ctx_state_changed_cb
 
void * ctx_user_data
 

Detailed Description

Definition at line 231 of file nvmf_doca_io.c.

Field Documentation

◆ consumer_comp

struct doca_comch_consumer_completion* nvmf_doca_dpa_msgq_create_attr::consumer_comp

Consumer completion context used by DPA to poll arrival of messages

Definition at line 236 of file nvmf_doca_io.c.

◆ ctx_state_changed_cb

doca_ctx_state_changed_callback_t nvmf_doca_dpa_msgq_create_attr::ctx_state_changed_cb

Callback invoked once consumer/producer state changes

Definition at line 241 of file nvmf_doca_io.c.

◆ ctx_user_data

void* nvmf_doca_dpa_msgq_create_attr::ctx_user_data

The user data to associate with the producer/consumer

Definition at line 243 of file nvmf_doca_io.c.

◆ dev

struct doca_dev* nvmf_doca_dpa_msgq_create_attr::dev

A doca device representing the emulation manager

Definition at line 232 of file nvmf_doca_io.c.

◆ dpa

struct doca_dpa* nvmf_doca_dpa_msgq_create_attr::dpa

DOCA DPA for accessing DPA resources

Definition at line 233 of file nvmf_doca_io.c.

◆ is_send

bool nvmf_doca_dpa_msgq_create_attr::is_send

If MsgQ is used to send to DPA or receive from DPA

Definition at line 234 of file nvmf_doca_io.c.

◆ max_num_msg

uint32_t nvmf_doca_dpa_msgq_create_attr::max_num_msg

The maximal number of messages that can be sent/received

Definition at line 235 of file nvmf_doca_io.c.

◆ pe

struct doca_pe* nvmf_doca_dpa_msgq_create_attr::pe

Progress engine to be used by DPU consumer and producer

Definition at line 240 of file nvmf_doca_io.c.

◆ producer_comp

struct doca_dpa_completion* nvmf_doca_dpa_msgq_create_attr::producer_comp

Producer completion context used by DPA to poll completion of send message

Definition at line 238 of file nvmf_doca_io.c.


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