Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Namespaces | Macros | Functions
lf.hpp File Reference
#include <map>
#include <rdma/fabric.h>
#include <thread>
#include <derecho/core/derecho_type_definitions.hpp>
Include dependency graph for lf.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sst::lf_sender_ctxt
 
class  sst::_resources
 Represents the set of RDMA resources needed to maintain a two-way connection to a single remote node. More...
 
class  sst::resources
 A public-facing version of the internal _resources class that extends it with more convenient functions. More...
 
class  sst::resources_two_sided
 A public-facing version of the internal _resources class that extends it with functions that support two-sided sends and receives. More...
 

Namespaces

 sst
 

Macros

#define LF_VERSION   FI_VERSION(1, 5)
 

Functions

bool sst::add_node (uint32_t new_id, const std::pair< ip_addr_t, uint16_t > &new_ip_addr_and_port)
 Adds a new node to the SST TPC connections set. More...
 
bool sst::remove_node (uint32_t node_id)
 Removes a node from the SST TCP connections set. More...
 
bool sst::sync (uint32_t r_id)
 Blocks the current thread until both this node and a remote node reach this function, which exchanges some trivial data over a TCP connection. More...
 
void sst::lf_initialize (const std::map< uint32_t, std::pair< ip_addr_t, uint16_t >> &ip_addrs_and_ports, uint32_t node_rank)
 Initializes the global libfabric resources. More...
 
std::pair< uint32_t, std::pair< int32_t, int32_t > > sst::lf_poll_completion ()
 Polls for completion of a single posted remote write. More...
 
void sst::shutdown_polling_thread ()
 Shutdown the polling thread. More...
 
void sst::lf_destroy ()
 Destroys the global libfabric resources. More...
 

Class Documentation

◆ sst::lf_sender_ctxt

struct sst::lf_sender_ctxt

Definition at line 22 of file lf.hpp.

Class Members
uint32_t ce_idx
uint32_t remote_id

Macro Definition Documentation

◆ LF_VERSION

#define LF_VERSION   FI_VERSION(1, 5)

Definition at line 17 of file lf.hpp.