|
CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
The declarations in this header file correspond to the definitions in adapter_efa.c. More...
#include "adapter_api.h"#include "adapter_control_interface.h"#include "adapter_efa_probe.h"#include "cdi_raw_api.h"#include "private.h"#include "rdma/fabric.h"#include "rdma/fi_cm.h"#include "rdma/fi_endpoint.h"Go to the source code of this file.
Data Structures | |
| struct | LibfabricApi |
| V-table interface to the libfabric API. This allows multiple versions of libfabric to be used within this SDK. More... | |
| struct | EfaTxState |
| This defines a structure that contains all of the state information that is specific to the Tx side of a single EFA endpoint. More... | |
| struct | EfaRxState |
| This defines a structure that contains all of the state information that is specific to the Rx side of a single EFA endpoint. More... | |
| struct | EfaEndpointState |
| Structure used to hold EFA endpoint state data. More... | |
| struct | EfaConnectionState |
| Structure used to hold EFA connection state data. More... | |
The declarations in this header file correspond to the definitions in adapter_efa.c.
| bool EfaAdapterEndpointProtocolVersionSet | ( | EfaEndpointState * | endpoint_ptr, |
| const CdiProtocolVersionNumber * | remote_version_ptr ) |
Set the protocol version for the specified endpoint. The protocol version actually used is negotiated using the specified remote version and the current version of the CDI-SDK.
| endpoint_ptr | Pointer to endpoint. |
| remote_version_ptr | Pointer to remote protocol version data. |
| CdiReturnStatus EfaAdapterEndpointStart | ( | EfaEndpointState * | endpoint_ptr | ) |
Start the specified endpoint. This only allocates and starts low-level libfabric and EFA device driver resources. Other resources have already been created and started when the connection was created.
| endpoint_ptr | Pointer to the EFA endpoint to start. |
| CdiAdapterHandle EfaAdapterGetAdapterControlInterface | ( | AdapterConnectionState * | adapter_con_state_ptr | ) |
Get handle of adapter control inteface related to the specified EFA endpoint.
| adapter_con_state_ptr | Pointer to adapter connection state data. |
| CdiReturnStatus EfaAdapterProbeEndpointCreate | ( | EfaEndpointState * | endpoint_ptr, |
| ProbeEndpointHandle * | ret_probe_handle ) |
Create probe for the specified EFA endpoint.
| endpoint_ptr | Pointer to the adapter endpoint to create a probe for. |
| ret_probe_handle | Pointer to returned probe handle. |
| EndpointTransmitQueueLevel EfaGetTransmitQueueLevel | ( | const AdapterEndpointHandle | handle | ) |
| CdiReturnStatus EfaRxEndpointClose | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaRxEndpointOpen | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaRxEndpointPoll | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaRxEndpointReset | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaRxEndpointRxBuffersFree | ( | const AdapterEndpointHandle | handle, |
| const CdiSgList * | sgl_ptr ) |
| CdiReturnStatus EfaRxPacketPoolCreate | ( | EfaEndpointState * | endpoint_state_ptr | ) |
Create pool of Rx packet buffers for the endpoint.
| endpoint_state_ptr | Pointer to endpoint. |
| void EfaRxPacketPoolFree | ( | EfaEndpointState * | endpoint_ptr | ) |
Frees the previously allocated receive packet buffer pool for the endpoint.
| endpoint_ptr | Pointer to EFA endpoint state data. |
| CdiReturnStatus EfaTxEndpointClose | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaTxEndpointOpen | ( | EfaEndpointState * | endpoint_ptr, |
| const char * | remote_address_str, | ||
| int | dest_port ) |
| CdiReturnStatus EfaTxEndpointPoll | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaTxEndpointReset | ( | EfaEndpointState * | endpoint_ptr | ) |
| CdiReturnStatus EfaTxEndpointSend | ( | const AdapterEndpointHandle | handle, |
| const Packet * | packet_ptr, | ||
| bool | flush_packets ) |
| CdiReturnStatus EfaTxEndpointStart | ( | EfaEndpointState * | endpoint_ptr | ) |
| void EfaTxEndpointStop | ( | EfaEndpointState * | endpoint_ptr | ) |