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

#include </opt/mellanox/doca/samples/doca_gpunetio/rdma_common.h>

Collaboration diagram for rdma_resources:

Data Fields

struct rdma_configcfg
 
struct doca_dev * doca_device
 
struct doca_gpu * gpudev
 
struct doca_rdma * rdma
 
struct doca_gpu_dev_rdma * gpu_rdma
 
struct doca_ctx * rdma_ctx
 
struct doca_pe * pe
 
const void * connection_details
 
size_t conn_det_len
 
struct doca_rdma_addr * cm_addr
 
struct doca_rdma_connection * connection
 
bool connection_established
 
bool connection_error
 
bool server_listen_active
 
struct doca_rdma_connection * connection2
 
bool connection2_established
 
bool connection2_error
 
struct doca_mmap * mmap
 
struct doca_mmap * remote_mmap
 
struct doca_sync_event * sync_event
 
struct doca_sync_event_remote_net * remote_se
 
char * mmap_memrange
 
struct doca_buf_inventory * buf_inventory
 
const void * mmap_descriptor
 
size_t mmap_descriptor_size
 
struct doca_buf * src_buf
 
struct doca_buf * dst_buf
 
const void * rdma_conn_descriptor
 
size_t rdma_conn_descriptor_size
 
void * remote_rdma_conn_descriptor
 
size_t remote_rdma_conn_descriptor_size
 
void * remote_mmap_descriptor
 
size_t remote_mmap_descriptor_size
 
void * sync_event_descriptor
 
size_t sync_event_descriptor_size
 
doca_error_t first_encountered_error
 
bool run_pe_progress
 
size_t num_remaining_tasks
 
struct doca_rdma_connection * connections [MAX_NUM_CONNECTIONS]
 
uint32_t num_connection_established
 
struct doca_mmap * mmap_descriptor_mmap
 
struct doca_mmap * remote_mmap_descriptor_mmap
 
struct doca_mmap * sync_event_descriptor_mmap
 
bool recv_sync_event_desc
 
const char * self_name
 
bool is_client
 
bool is_requester
 
prepare_and_submit_task_fn task_fn
 
bool require_remote_mmap
 

Detailed Description

Definition at line 79 of file rdma_common.h.

Field Documentation

◆ buf_inventory

struct doca_buf_inventory* rdma_resources::buf_inventory

Definition at line 117 of file rdma_common.h.

◆ cfg

struct rdma_config * rdma_resources::cfg

Definition at line 80 of file rdma_common.h.

◆ cm_addr

struct doca_rdma_addr * rdma_resources::cm_addr

Definition at line 91 of file rdma_common.h.

◆ conn_det_len

size_t rdma_resources::conn_det_len

Definition at line 88 of file rdma_common.h.

◆ connection

struct doca_rdma_connection* rdma_resources::connection

Definition at line 92 of file rdma_common.h.

◆ connection2

struct doca_rdma_connection* rdma_resources::connection2

Definition at line 97 of file rdma_common.h.

◆ connection2_error

bool rdma_resources::connection2_error

Definition at line 99 of file rdma_common.h.

◆ connection2_established

bool rdma_resources::connection2_established

Definition at line 98 of file rdma_common.h.

◆ connection_details

const void* rdma_resources::connection_details

Definition at line 87 of file rdma_common.h.

◆ connection_error

bool rdma_resources::connection_error

Definition at line 94 of file rdma_common.h.

◆ connection_established

bool rdma_resources::connection_established

Definition at line 93 of file rdma_common.h.

◆ connections

struct doca_rdma_connection* rdma_resources::connections[MAX_NUM_CONNECTIONS]

Definition at line 138 of file rdma_common.h.

◆ doca_device

struct doca_dev * rdma_resources::doca_device

Definition at line 81 of file rdma_common.h.

◆ dst_buf

struct doca_buf* rdma_resources::dst_buf

Definition at line 123 of file rdma_common.h.

◆ first_encountered_error

doca_error_t rdma_resources::first_encountered_error

Definition at line 132 of file rdma_common.h.

◆ gpu_rdma

struct doca_gpu_dev_rdma* rdma_resources::gpu_rdma

Definition at line 84 of file rdma_common.h.

◆ gpudev

struct doca_gpu* rdma_resources::gpudev

Definition at line 82 of file rdma_common.h.

◆ is_client

bool rdma_resources::is_client

Definition at line 148 of file rdma_common.h.

◆ is_requester

bool rdma_resources::is_requester

Definition at line 149 of file rdma_common.h.

◆ mmap

struct doca_mmap* rdma_resources::mmap

Definition at line 112 of file rdma_common.h.

◆ mmap_descriptor

const void* rdma_resources::mmap_descriptor

Definition at line 118 of file rdma_common.h.

◆ mmap_descriptor_mmap

struct doca_mmap* rdma_resources::mmap_descriptor_mmap

Definition at line 142 of file rdma_common.h.

◆ mmap_descriptor_size

size_t rdma_resources::mmap_descriptor_size

Definition at line 119 of file rdma_common.h.

◆ mmap_memrange

char* rdma_resources::mmap_memrange

Definition at line 116 of file rdma_common.h.

◆ num_connection_established

uint32_t rdma_resources::num_connection_established

Definition at line 141 of file rdma_common.h.

◆ num_remaining_tasks

size_t rdma_resources::num_remaining_tasks

Definition at line 134 of file rdma_common.h.

◆ pe

struct doca_pe * rdma_resources::pe

Definition at line 86 of file rdma_common.h.

◆ rdma

struct doca_rdma * rdma_resources::rdma

Definition at line 83 of file rdma_common.h.

◆ rdma_conn_descriptor

const void* rdma_resources::rdma_conn_descriptor

Definition at line 124 of file rdma_common.h.

◆ rdma_conn_descriptor_size

size_t rdma_resources::rdma_conn_descriptor_size

Definition at line 125 of file rdma_common.h.

◆ rdma_ctx

struct doca_ctx * rdma_resources::rdma_ctx

Definition at line 85 of file rdma_common.h.

◆ recv_sync_event_desc

bool rdma_resources::recv_sync_event_desc

Definition at line 145 of file rdma_common.h.

◆ remote_mmap

struct doca_mmap* rdma_resources::remote_mmap

Definition at line 113 of file rdma_common.h.

◆ remote_mmap_descriptor

void* rdma_resources::remote_mmap_descriptor

Definition at line 128 of file rdma_common.h.

◆ remote_mmap_descriptor_mmap

struct doca_mmap* rdma_resources::remote_mmap_descriptor_mmap

Definition at line 143 of file rdma_common.h.

◆ remote_mmap_descriptor_size

size_t rdma_resources::remote_mmap_descriptor_size

Definition at line 129 of file rdma_common.h.

◆ remote_rdma_conn_descriptor

void* rdma_resources::remote_rdma_conn_descriptor

Definition at line 126 of file rdma_common.h.

◆ remote_rdma_conn_descriptor_size

size_t rdma_resources::remote_rdma_conn_descriptor_size

Definition at line 127 of file rdma_common.h.

◆ remote_se

struct doca_sync_event_remote_net* rdma_resources::remote_se

Definition at line 115 of file rdma_common.h.

◆ require_remote_mmap

bool rdma_resources::require_remote_mmap

Definition at line 152 of file rdma_common.h.

◆ run_pe_progress

bool rdma_resources::run_pe_progress

Definition at line 133 of file rdma_common.h.

◆ self_name

const char* rdma_resources::self_name

Definition at line 147 of file rdma_common.h.

◆ server_listen_active

bool rdma_resources::server_listen_active

Definition at line 95 of file rdma_common.h.

◆ src_buf

struct doca_buf* rdma_resources::src_buf

Definition at line 122 of file rdma_common.h.

◆ sync_event

struct doca_sync_event* rdma_resources::sync_event

Definition at line 114 of file rdma_common.h.

◆ sync_event_descriptor

void* rdma_resources::sync_event_descriptor

Definition at line 130 of file rdma_common.h.

◆ sync_event_descriptor_mmap

struct doca_mmap* rdma_resources::sync_event_descriptor_mmap

Definition at line 144 of file rdma_common.h.

◆ sync_event_descriptor_size

size_t rdma_resources::sync_event_descriptor_size

Definition at line 131 of file rdma_common.h.

◆ task_fn

prepare_and_submit_task_fn rdma_resources::task_fn

Definition at line 150 of file rdma_common.h.


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