CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
Structure definition behind the handles shared with the user's application program. Its contents are opaque to the user's program where it only has a pointer to a declared but not defined structure. More...
#include <adapter_api.h>
Data Fields | |
CdiListEntry | list_entry |
Used to store an instance of this object in a list using this element as the list item. | |
uint32_t | magic |
Set to kMagicAdapter when allocated, checked at every API function to help ensure validity. | |
CdiCsID | adapter_lock |
Lock used to protect access to adapter state data. | |
char | adapter_ip_addr_str [MAX_IP_STRING_LENGTH] |
Copy of the adapter's IP address string. "adapter_data.adapter_ip_addr_str" (see below) points to this value. | |
CdiAdapterData | adapter_data |
Adapter configuration data. | |
struct AdapterVirtualFunctionPtrTable * | functions_ptr |
Pointer to the table of adapter specific operation functions. | |
CdiCsID | connection_list_lock |
Lock used to protect access to connection_list. | |
CdiList | connection_list |
List of connections using this adapter. | |
CdiList | poll_thread_list |
List of poll threads using this adapter (holds PollThreadState*). NOTE: Must acquire adapter_lock before using. | |
void * | type_specific_ptr |
Data specific to the type of underlying adapter. | |
bool | tx_payload_buffer_is_hugepages |
If true, tx_payload_buffer_allocated_ptr is using hugepages, otherwise it is using heap memory. | |
uint64_t | tx_payload_buffer_size_bytes |
User configured size in bytes of a memory region for holding payload data to transmit. Actual allocated size is in tx_buffer_allocated_size. | |
uint64_t | tx_payload_buffer_allocated_size |
Size in bytes of Tx payload buffer allocated. Pointer to allocated buffer is in tx_payload_buffer_allocated_ptr. NOTE: The allocation may be larger than requested, due to rounding. | |
void * | tx_payload_buffer_allocated_ptr |
Pointer to start of the allocated transmit buffer. The buffer is available for the application. As part of adapter initialization, this value is returned in CdiAdapterData.ret_tx_buffer_ptr. Total allocated size is in tx_buffer_allocated_size. | |
CdiPoolHandle | probe_work_request_pool_handle |
Memory pool of Tx EFA probe packet work requests (ProbePacketWorkRequest). | |
Structure definition behind the handles shared with the user's application program. Its contents are opaque to the user's program where it only has a pointer to a declared but not defined structure.