lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Fabrics Namespace Reference

Thin C++ wrappers around the libfabric API. More...

Classes

class  CompletionPoller
 Waits on the wait file descriptors of several completion queues with poll(). More...
 
class  CompletionQueue
 Wraps a libfabric completion queue (fid_cq). More...
 
class  Endpoint
 Active (connected) libfabric endpoint with send, receive, RMA read and write calls and their blocking _sync variants. More...
 
class  EndpointBase
 Common base of active and passive endpoints: holds the Fabric, the event queue and the transmit and receive completion queues, creating any that are not supplied. More...
 
class  ErrorHandler
 Base class that keeps the last error number and a formatted error message (256-byte buffer). More...
 
class  EventQueue
 Wraps a libfabric event queue (fid_eq). More...
 
class  Fabric
 Opens a libfabric fabric and domain for a node and service, and keeps the list of memory regions registered in that domain. More...
 
class  Info
 Owns a libfabric fi_info hints structure, preset by initialize() for FI_EP_MSG endpoints with FI_MSG and FI_RMA capabilities, FI_SOCKADDR_IN addresses and FI_RX_CQ_DATA mode. More...
 
class  LocalAddress
 Local buffer (pointer and length) with an optional MemoryRegion; its first two fields are reinterpreted as a struct iovec by iovec(). More...
 
class  LocalIOVec
 Growable array of struct iovec entries plus one memory-region descriptor per entry, for vectored libfabric calls. More...
 
class  MemoryRegion
 Owns a registered libfabric memory region (fid_mr) together with its start address and length. More...
 
class  Message
 Owns a struct fi_msg built from a LocalIOVec, for fi_sendmsg() and fi_recvmsg(). More...
 
class  PassiveEndpoint
 Listening libfabric endpoint that accepts or rejects connection requests and keeps the Endpoints it accepted. More...
 
class  RemoteAddress
 Remote memory descriptor (address, length, key) for RMA calls; its fields are reinterpreted as a struct fi_rma_iov by rma_iov(). More...
 
class  RemoteIOVec
 Growable array of struct fi_rma_iov entries that describe remote buffers for vectored RMA calls. More...
 
class  RmaMessage
 Owns a struct fi_msg_rma built from a LocalIOVec and a RemoteIOVec, for fi_readmsg() and fi_writemsg(). More...
 

Enumerations

enum  State {
  EP_CLOSED , EP_INIT , EP_UP , EP_ENABLED ,
  EP_LISTEN , EP_CONNECTED
}
 Life-cycle state of an EndpointBase, as assigned by the methods in Endpoint.cc. More...
 

Detailed Description

Thin C++ wrappers around the libfabric API.

Enumeration Type Documentation

◆ State

Life-cycle state of an EndpointBase, as assigned by the methods in Endpoint.cc.

Enumerator
EP_CLOSED 

Set by EndpointBase::shutdown() and when EndpointBase initialization fails.

EP_INIT 

Initial state; also restored by Endpoint::shutdown() and PassiveEndpoint::shutdown().

EP_UP 

Set once EndpointBase::initialize() has the event and completion queues.

EP_ENABLED 

Not assigned anywhere in Endpoint.cc.

EP_LISTEN 

Set by PassiveEndpoint::listen().

EP_CONNECTED 

Set when a connect() or accept() handshake receives FI_CONNECTED.