CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
libfabric_api.h File Reference

The declarations in this header file correspond to the definitions in libfabric_api.c. More...

#include "cdi_core_api.h"
#include "cdi_utility_api.h"

Go to the source code of this file.

Macros

#define LIBFABRIC_1_9_FILENAME_STRING   ("libfabric.so")
 The filename of the libfabric 1.9 library.
 
#define LIBFABRIC_NEW_FILENAME_STRING   ("libfabric_new.so")
 The filename of the libfabric new library.
 

Functions

CDI_INTERFACE CdiReturnStatus LoadLibfabric1_9 (LibfabricApi **ret_api_ptr)
 Dynamically load libfabric 1.9 and return a V-table to the API used by the SDK.
 
CDI_INTERFACE CdiReturnStatus LoadLibfabricMainline (LibfabricApi **ret_api_ptr)
 Dynamically load libfabric mainline and return a V-table to the API used by the SDK.
 

Detailed Description

The declarations in this header file correspond to the definitions in libfabric_api.c.

Function Documentation

◆ LoadLibfabric1_9()

CDI_INTERFACE CdiReturnStatus LoadLibfabric1_9 ( LibfabricApi ** ret_api_ptr)

Dynamically load libfabric 1.9 and return a V-table to the API used by the SDK.

Parameters
ret_api_ptrAddress where to write pointer to the V-table API.
Returns
CdiReturnStatus kCdiStausOk if successful, otherwise a value indicating the nature of failure.

◆ LoadLibfabricMainline()

CDI_INTERFACE CdiReturnStatus LoadLibfabricMainline ( LibfabricApi ** ret_api_ptr)

Dynamically load libfabric mainline and return a V-table to the API used by the SDK.

Parameters
ret_api_ptrAddress where to write pointer to the V-table API.
Returns
CdiReturnStatus kCdiStausOk if successful, otherwise a value indicating the nature of failure.