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

A struct that includes all the resources needed for DPA RDMA. More...

#include </opt/mellanox/doca/samples/doca_dpa/dpa_common.h>

Data Fields

struct doca_dev * doca_device
 
struct doca_dpa * doca_dpa
 
uint32_t permissions
 
uint32_t buf_list_len
 
uint32_t recv_queue_size
 
uint32_t max_connections_count
 
uint32_t gid_index
 
struct doca_dpa_completion * dpa_comp
 
struct doca_rdma * rdma
 
struct doca_ctx * rdma_as_ctx
 
doca_dpa_dev_rdma_t dpa_rdma
 
const void * connection_details
 
size_t conn_det_len
 
struct doca_rdma_connection * connection
 
uint32_t connection_id
 
bool second_connection_needed
 
const void * connection2_details
 
size_t conn2_det_len
 
struct doca_rdma_connection * connection2
 
uint32_t connection2_id
 

Detailed Description

A struct that includes all the resources needed for DPA RDMA.

Definition at line 144 of file dpa_common.h.

Field Documentation

◆ buf_list_len

uint32_t dpa_rdma_obj::buf_list_len

RDMA buffer list length

Definition at line 148 of file dpa_common.h.

◆ conn2_det_len

size_t dpa_rdma_obj::conn2_det_len

Created RDMA connection details length from second export

Definition at line 162 of file dpa_common.h.

◆ conn_det_len

size_t dpa_rdma_obj::conn_det_len

Created RDMA connection details length from export

Definition at line 157 of file dpa_common.h.

◆ connection

struct doca_rdma_connection* dpa_rdma_obj::connection

RDMA Connection

Definition at line 158 of file dpa_common.h.

◆ connection2

struct doca_rdma_connection* dpa_rdma_obj::connection2

Second RDMA Connection

Definition at line 163 of file dpa_common.h.

◆ connection2_details

const void* dpa_rdma_obj::connection2_details

Created RDMA connection details from second export

Definition at line 161 of file dpa_common.h.

◆ connection2_id

uint32_t dpa_rdma_obj::connection2_id

Second RDMA Connection ID to be used in datapath

Definition at line 164 of file dpa_common.h.

◆ connection_details

const void* dpa_rdma_obj::connection_details

Created RDMA connection details from export

Definition at line 156 of file dpa_common.h.

◆ connection_id

uint32_t dpa_rdma_obj::connection_id

RDMA Connection ID to be used in datapath

Definition at line 159 of file dpa_common.h.

◆ doca_device

struct doca_dev* dpa_rdma_obj::doca_device

DOCA device

Definition at line 145 of file dpa_common.h.

◆ doca_dpa

struct doca_dpa* dpa_rdma_obj::doca_dpa

DOCA DPA context

Definition at line 146 of file dpa_common.h.

◆ dpa_comp

struct doca_dpa_completion* dpa_rdma_obj::dpa_comp

Attached DOCA DPA completion context

Definition at line 152 of file dpa_common.h.

◆ dpa_rdma

doca_dpa_dev_rdma_t dpa_rdma_obj::dpa_rdma

Created RDMA DPA device handle

Definition at line 155 of file dpa_common.h.

◆ gid_index

uint32_t dpa_rdma_obj::gid_index

RDMA GID index

Definition at line 151 of file dpa_common.h.

◆ max_connections_count

uint32_t dpa_rdma_obj::max_connections_count

RDMA max connections count

Definition at line 150 of file dpa_common.h.

◆ permissions

uint32_t dpa_rdma_obj::permissions

RDMA permissions

Definition at line 147 of file dpa_common.h.

◆ rdma

struct doca_rdma* dpa_rdma_obj::rdma

Created RDMA

Definition at line 153 of file dpa_common.h.

◆ rdma_as_ctx

struct doca_ctx* dpa_rdma_obj::rdma_as_ctx

Created RDMA context

Definition at line 154 of file dpa_common.h.

◆ recv_queue_size

uint32_t dpa_rdma_obj::recv_queue_size

RDMA receive queue size

Definition at line 149 of file dpa_common.h.

◆ second_connection_needed

bool dpa_rdma_obj::second_connection_needed

Whether second connection is needed

Definition at line 160 of file dpa_common.h.


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