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


Go to the source code of this file.
Data Structures | |
| struct | sc_config |
| struct | t_results |
| struct | fast_path_ctx |
| struct | cc_ctx |
| struct | metadata_msg |
Enumerations | |
| enum | sc_mode { SC_MODE_HOST , SC_MODE_DPU } |
| enum | transfer_state { TRANSFER_IDLE , TRANSFER_IN_PROGRESS , TRANSFER_COMPLETE , TRANSFER_ERROR , TRANSFER_IDLE , TRANSFER_IN_PROGRESS , TRANSFER_COMPLETE , TRANSFER_ERROR , FASTPATH_IDLE , FASTPATH_IN_PROGRESS , FASTPATH_COMPLETE , FASTPATH_ERROR } |
| enum | msg_type { START_MSG , END_MSG } |
Functions | |
| doca_error_t | sc_start (struct comch_cfg *comch_cfg, struct sc_config *cfg, struct cc_ctx *ctx) |
| doca_error_t | register_secure_channel_params (void) |
| void | comch_recv_event_cb (struct doca_comch_event_msg_recv *event, uint8_t *recv_buffer, uint32_t msg_len, struct doca_comch_connection *comch_connection) |
| void | new_consumer_callback (struct doca_comch_event_consumer *event, struct doca_comch_connection *comch_connection, uint32_t id) |
| void | expired_consumer_callback (struct doca_comch_event_consumer *event, struct doca_comch_connection *comch_connection, uint32_t id) |
| enum msg_type |
| Enumerator | |
|---|---|
| START_MSG | |
| END_MSG | |
Definition at line 88 of file secure_channel_core.h.
| enum sc_mode |
| Enumerator | |
|---|---|
| SC_MODE_HOST | |
| SC_MODE_DPU | |
Definition at line 36 of file secure_channel_core.h.
| enum transfer_state |
Definition at line 56 of file secure_channel_core.h.
| void comch_recv_event_cb | ( | struct doca_comch_event_msg_recv * | event, |
| uint8_t * | recv_buffer, | ||
| uint32_t | msg_len, | ||
| struct doca_comch_connection * | comch_connection | ||
| ) |
Definition at line 187 of file secure_channel_core.c.
| void expired_consumer_callback | ( | struct doca_comch_event_consumer * | event, |
| struct doca_comch_connection * | comch_connection, | ||
| uint32_t | id | ||
| ) |
Callback for expired consumer arrival event
@event [in]: Expired remote consumer event object @comch_connection [in]: The connection related to the consumer @id [in]: The ID of the expired remote consumer
Definition at line 176 of file secure_channel_core.c.
| void new_consumer_callback | ( | struct doca_comch_event_consumer * | event, |
| struct doca_comch_connection * | comch_connection, | ||
| uint32_t | id | ||
| ) |
Definition at line 165 of file secure_channel_core.c.
| doca_error_t register_secure_channel_params | ( | void | ) |
Definition at line 1022 of file secure_channel_core.c.
| doca_error_t sc_start | ( | struct comch_cfg * | comch_cfg, |
| struct sc_config * | cfg, | ||
| struct cc_ctx * | ctx | ||
| ) |
Definition at line 933 of file secure_channel_core.c.