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

#include </opt/mellanox/doca/applications/nvme_emulation/host/nvmf_doca_io.h>

Collaboration diagram for nvmf_doca_request:

Public Member Functions

 TAILQ_ENTRY (nvmf_doca_request) link
 

Data Fields

struct spdk_nvmf_request request
 
struct nvmf_doca_sqdoca_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
 

Detailed Description

Definition at line 110 of file nvmf_doca_io.h.

Member Function Documentation

◆ TAILQ_ENTRY()

nvmf_doca_request::TAILQ_ENTRY ( nvmf_doca_request  )

Link to next doca request

Field Documentation

◆ cb_arg

void* nvmf_doca_request::cb_arg

Doca request call back arguments

Definition at line 124 of file nvmf_doca_io.h.

◆ command

struct spdk_nvme_cmd nvmf_doca_request::command

The NVMe command

Definition at line 112 of file nvmf_doca_io.h.

◆ cq_entry

struct spdk_nvme_cpl nvmf_doca_request::cq_entry

Completion queue entry

Definition at line 112 of file nvmf_doca_io.h.

◆ data_from_alloc

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.

◆ doca_cb

nvmf_doca_req_cb nvmf_doca_request::doca_cb

Doca request call back

Definition at line 123 of file nvmf_doca_io.h.

◆ doca_sq

struct nvmf_doca_sq* nvmf_doca_request::doca_sq

The SQ handling the request

Definition at line 112 of file nvmf_doca_io.h.

◆ dpu_buffer

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.

◆ host_buffer

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.

◆ num_of_buffers

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.

◆ prp_dpu_buf

struct doca_buf* nvmf_doca_request::prp_dpu_buf

Definition at line 118 of file nvmf_doca_io.h.

◆ prp_host_buf

struct doca_buf* nvmf_doca_request::prp_host_buf

Definition at line 117 of file nvmf_doca_io.h.

◆ request

struct spdk_nvmf_request nvmf_doca_request::request

The SPDK NVMf request

Definition at line 101 of file nvmf_doca_io.h.

◆ residual_length

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.

◆ sqe_idx

uint16_t nvmf_doca_request::sqe_idx

The SQE index of this request

Definition at line 121 of file nvmf_doca_io.h.


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