| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |

Go to the source code of this file.
Functions | |
| DOCA_LOG_REGISTER (DPA_PING_PONG::SAMPLE) | |
| static doca_error_t | rdma_objs_init (struct dpa_resources *resources, struct dpa_completion_obj *ping_dpa_completion_obj, struct dpa_completion_obj *pong_dpa_completion_obj, struct dpa_rdma_obj *ping_dpa_rdma_obj, struct dpa_rdma_obj *pong_dpa_rdma_obj) |
| Create, attach, start and connect DPA RDMA objects. More... | |
| static doca_error_t | rdma_objs_destroy (struct dpa_rdma_obj *ping_dpa_rdma_obj, struct dpa_rdma_obj *pong_dpa_rdma_obj) |
| Destroy DPA RDMA objects. More... | |
| doca_error_t | dpa_ping_pong (struct dpa_resources *resources) |
| Sample's Logic. More... | |
Variables | |
| doca_dpa_func_t | thread_kernel |
| doca_dpa_func_t | trigger_first_iteration_rpc |
| DOCA_LOG_REGISTER | ( | DPA_PING_PONG::SAMPLE | ) |
| doca_error_t dpa_ping_pong | ( | struct dpa_resources * | resources | ) |
Sample's Logic.
Sample's logic.
@resources [in]: DPA resources that the sample will use
Definition at line 167 of file dpa_ping_pong_sample.c.
|
static |
Destroy DPA RDMA objects.
@ping_dpa_rdma_obj [in]: Previously created ping DPA RDMA @pong_dpa_rdma_obj [in]: Previously created pong DPA RDMA
Definition at line 142 of file dpa_ping_pong_sample.c.
|
static |
Create, attach, start and connect DPA RDMA objects.
This function creates DPA RDMA objects, attaches to DPA completion, start and connect them
@resources [in]: DPA resources @ping_dpa_completion_obj [in]: Ping DPA completion @pong_dpa_completion_obj [in]: Pong DPA completion @ping_dpa_rdma_obj [out]: Created ping DPA RDMA @pong_dpa_rdma_obj [out]: Created pong DPA RDMA
Definition at line 49 of file dpa_ping_pong_sample.c.
| doca_dpa_func_t thread_kernel |
kernel/RPC declaration
Definition at line 34 of file dpa_ping_pong_sample.c.
| doca_dpa_func_t trigger_first_iteration_rpc |
Definition at line 35 of file dpa_ping_pong_sample.c.