| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include </opt/mellanox/doca/applications/nvme_emulation/host/nvmf_doca_io.h>

Public Member Functions | |
| TAILQ_ENTRY (nvmf_doca_request) link | |
Data Fields | |
| struct spdk_nvmf_request | request |
| struct nvmf_doca_sq * | doca_sq |
| struct spdk_nvme_cpl | cq_entry |
| struct spdk_nvme_cmd | command |
| struct doca_buf * | dpu_buffer [NVMF_REQ_MAX_BUFFERS] |
| struct doca_buf * | host_buffer [NVMF_REQ_MAX_BUFFERS] |
| struct doca_buf * | prp_host_buf |
| struct doca_buf * | prp_dpu_buf |
| uint32_t | num_of_buffers |
| uint32_t | residual_length |
| uint16_t | sqe_idx |
| bool | data_from_alloc |
| nvmf_doca_req_cb | doca_cb |
| void * | cb_arg |
Definition at line 110 of file nvmf_doca_io.h.
| nvmf_doca_request::TAILQ_ENTRY | ( | nvmf_doca_request | ) |
Link to next doca request
| void* nvmf_doca_request::cb_arg |
Doca request call back arguments
Definition at line 124 of file nvmf_doca_io.h.
| struct spdk_nvme_cmd nvmf_doca_request::command |
The NVMe command
Definition at line 112 of file nvmf_doca_io.h.
| struct spdk_nvme_cpl nvmf_doca_request::cq_entry |
Completion queue entry
Definition at line 112 of file nvmf_doca_io.h.
| bool nvmf_doca_request::data_from_alloc |
Indicates if spdk_nvmf_request::data is from allocation
Definition at line 122 of file nvmf_doca_io.h.
| nvmf_doca_req_cb nvmf_doca_request::doca_cb |
Doca request call back
Definition at line 123 of file nvmf_doca_io.h.
| struct nvmf_doca_sq* nvmf_doca_request::doca_sq |
The SQ handling the request
Definition at line 112 of file nvmf_doca_io.h.
| struct doca_buf* nvmf_doca_request::dpu_buffer[NVMF_REQ_MAX_BUFFERS] |
Array of pointers to DPU data buffers
Definition at line 115 of file nvmf_doca_io.h.
| struct doca_buf* nvmf_doca_request::host_buffer[NVMF_REQ_MAX_BUFFERS] |
Array of pointers to host data buffers
Definition at line 116 of file nvmf_doca_io.h.
| uint32_t nvmf_doca_request::num_of_buffers |
Counter for the number of buffers full so far
Definition at line 119 of file nvmf_doca_io.h.
| struct doca_buf* nvmf_doca_request::prp_dpu_buf |
Definition at line 118 of file nvmf_doca_io.h.
| struct doca_buf* nvmf_doca_request::prp_host_buf |
Definition at line 117 of file nvmf_doca_io.h.
| struct spdk_nvmf_request nvmf_doca_request::request |
The SPDK NVMf request
Definition at line 101 of file nvmf_doca_io.h.
| uint32_t nvmf_doca_request::residual_length |
The remainder of the NVMe request for write or read operations
Definition at line 120 of file nvmf_doca_io.h.
| uint16_t nvmf_doca_request::sqe_idx |
The SQE index of this request
Definition at line 121 of file nvmf_doca_io.h.