| 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 "rdma_common.h"
Go to the source code of this file.
Macros | |
| #define | MAX_BUFF_SIZE (256) /* Maximum DOCA buffer size */ |
| #define | EXAMPLE_IMMEDIATE_VALUE (0xABCD) /* Example immediate value to send */ |
Functions | |
| DOCA_LOG_REGISTER (RDMA_SEND_IMMEDIATE::SAMPLE) | |
| static doca_error_t | write_read_connection (struct rdma_config *cfg, struct rdma_resources *resources) |
| static void | rdma_send_imm_completed_callback (struct doca_rdma_task_send_imm *rdma_send_imm_task, union doca_data task_user_data, union doca_data ctx_user_data) |
| static void | rdma_send_imm_error_callback (struct doca_rdma_task_send_imm *rdma_send_imm_task, union doca_data task_user_data, union doca_data ctx_user_data) |
| static doca_error_t | rdma_send_immediate_export_and_connect (struct rdma_resources *resources) |
| static doca_error_t | rdma_send_immediate_prepare_and_submit_task (struct rdma_resources *resources) |
| static void | rdma_send_immediate_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_send_immediate (struct rdma_config *cfg) |
| #define EXAMPLE_IMMEDIATE_VALUE (0xABCD) /* Example immediate value to send */ |
Definition at line 35 of file rdma_send_immediate_sample.c.
| #define MAX_BUFF_SIZE (256) /* Maximum DOCA buffer size */ |
Definition at line 34 of file rdma_send_immediate_sample.c.
| DOCA_LOG_REGISTER | ( | RDMA_SEND_IMMEDIATE::SAMPLE | ) |
|
static |
Definition at line 87 of file rdma_send_immediate_sample.c.
|
static |
Definition at line 123 of file rdma_send_immediate_sample.c.
| doca_error_t rdma_send_immediate | ( | struct rdma_config * | cfg | ) |
Definition at line 349 of file rdma_send_immediate_sample.c.
|
static |
Definition at line 157 of file rdma_send_immediate_sample.c.
|
static |
Definition at line 200 of file rdma_send_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 282 of file rdma_send_immediate_sample.c.
|
static |
Definition at line 47 of file rdma_send_immediate_sample.c.