| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
Data Structures | |
| class | channel |
| class | comch_channel |
| struct | message_id |
| struct | correlation_id |
| struct | message_header |
| struct | message |
| struct | error_response_payload |
| struct | storage_details_payload |
| struct | init_storage_payload |
| struct | rdma_connection_details_payload |
Enumerations | |
| enum class | rdma_connection_role { io_data , io_control } |
| enum class | message_type : uint32_t { error_response = 0 , query_storage_request , query_storage_response , init_storage_request , init_storage_response , create_rdma_connection_request , create_rdma_connection_response , start_storage_request , start_storage_response , stop_storage_request , stop_storage_response , shutdown_request , shutdown_response } |
|
strong |
Definition at line 56 of file control_message.hpp.
|
strong |
| Enumerator | |
|---|---|
| io_data | |
| io_control | |
Definition at line 38 of file control_message.hpp.
| char const * storage::control::decode | ( | char const * | buffer, |
| storage::control::message & | msg | ||
| ) |
Definition at line 185 of file control_message.cpp.
|
noexcept |
Definition at line 180 of file control_message.cpp.
| char * storage::control::encode | ( | char * | buffer, |
| storage::control::message const & | msg | ||
| ) |
Definition at line 112 of file control_message.cpp.
|
noexcept |
Definition at line 107 of file control_message.cpp.
| std::unique_ptr< storage::control::comch_channel > storage::control::make_comch_client_control_channel | ( | doca_dev * | dev, |
| char const * | channel_name, | ||
| void * | callback_user_data, | ||
| comch_channel::consumer_event_callback | new_consumer_event_cb, | ||
| comch_channel::consumer_event_callback | expired_consumer_event_cb | ||
| ) |
Definition at line 762 of file control_channel.cpp.
| std::unique_ptr< storage::control::comch_channel > storage::control::make_comch_server_control_channel | ( | doca_dev * | dev, |
| doca_dev_rep * | dev_rep, | ||
| char const * | channel_name, | ||
| void * | callback_user_data, | ||
| comch_channel::consumer_event_callback | new_consumer_event_cb, | ||
| comch_channel::consumer_event_callback | expired_consumer_event_cb | ||
| ) |
Definition at line 776 of file control_channel.cpp.
| std::unique_ptr< storage::control::channel > storage::control::make_tcp_client_control_channel | ( | storage::ip_address const & | server_address | ) |
Definition at line 792 of file control_channel.cpp.
| std::unique_ptr< storage::control::channel > storage::control::make_tcp_server_control_channel | ( | uint16_t | listen_port | ) |
Definition at line 797 of file control_channel.cpp.
|
inline |
Definition at line 47 of file control_message.hpp.
| std::string storage::control::to_string | ( | storage::control::message const & | msg | ) |
Definition at line 285 of file control_message.cpp.
| std::string storage::control::to_string | ( | storage::control::message_type | type | ) |
Definition at line 239 of file control_message.cpp.
| std::string storage::control::to_string | ( | storage::control::rdma_connection_role | role | ) |
Definition at line 273 of file control_message.cpp.
| uint32_t storage::control::wire_size | ( | storage::control::message const & | msg | ) |
Definition at line 39 of file control_message.cpp.
|
noexcept |
Definition at line 33 of file control_message.cpp.