| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <doca_error.h>#include <doca_log.h>#include <doca_buf_inventory.h>#include <doca_buf.h>#include <doca_ctx.h>#include <doca_argp.h>#include "rdma_common.h"
Go to the source code of this file.
Macros | |
| #define | MAX_BUFF_SIZE (256) /* Maximum DOCA buffer size */ |
| #define | EXPECTED_IMMEDIATE_VALUE (0xABCD) /* Expected immediate value to receive */ |
Functions | |
| DOCA_LOG_REGISTER (RDMA_RECEIVE_IMMEDIATE::SAMPLE) | |
| static doca_error_t | write_read_connection (struct rdma_config *cfg, struct rdma_resources *resources) |
| static void | rdma_receive_completed_callback (struct doca_rdma_task_receive *rdma_receive_task, union doca_data task_user_data, union doca_data ctx_user_data) |
| static void | rdma_receive_error_callback (struct doca_rdma_task_receive *rdma_receive_task, union doca_data task_user_data, union doca_data ctx_user_data) |
| static doca_error_t | rdma_receive_immediate_export_and_connect (struct rdma_resources *resources) |
| static doca_error_t | rdma_receive_prepare_and_submit_task (struct rdma_resources *resources) |
| static void | rdma_receive_state_change_callback (const union doca_data user_data, struct doca_ctx *ctx, enum doca_ctx_states prev_state, enum doca_ctx_states next_state) |
| doca_error_t | rdma_receive_immediate (struct rdma_config *cfg) |
| #define EXPECTED_IMMEDIATE_VALUE (0xABCD) /* Expected immediate value to receive */ |
Definition at line 36 of file rdma_receive_immediate_sample.c.
| #define MAX_BUFF_SIZE (256) /* Maximum DOCA buffer size */ |
Definition at line 35 of file rdma_receive_immediate_sample.c.
| DOCA_LOG_REGISTER | ( | RDMA_RECEIVE_IMMEDIATE::SAMPLE | ) |
|
static |
Definition at line 88 of file rdma_receive_immediate_sample.c.
|
static |
Definition at line 163 of file rdma_receive_immediate_sample.c.
| doca_error_t rdma_receive_immediate | ( | struct rdma_config * | cfg | ) |
Definition at line 375 of file rdma_receive_immediate_sample.c.
|
static |
Definition at line 197 of file rdma_receive_immediate_sample.c.
|
static |
Definition at line 243 of file rdma_receive_immediate_sample.c.
|
static |
doca_ctx_stop() has been called. In this sample, this happens either due to a failure encountered, in which case doca_pe_progress() will cause any inflight task to be flushed, or due to the successful compilation of the sample flow. In both cases, in this sample, doca_pe_progress() will eventually transition the context to idle state.
Definition at line 307 of file rdma_receive_immediate_sample.c.
|
static |
Definition at line 48 of file rdma_receive_immediate_sample.c.