Struct Endpoint

Struct Documentation

struct Endpoint

Structure holding elements of a libfabric endpoint.

Holds event queue and completion queue objects. All objects are handled by RAII wrappers to automatically free the resources when they go out of scope. FDs must not be closed. Closing endpoints takes care of it.

Public Members

FiInfoUniquePtr fi = {nullptr}
FiCloseUniquePtr<fid_cq> rcq = {nullptr}
FiCloseUniquePtr<fid_cq> cq = {nullptr}
FiCloseUniquePtr<fid_eq> eq = {nullptr}
FiCloseUniquePtr<fid_ep> ep = {nullptr}
int eqfd = {-1}
int cqfd = {-1}
std::size_t cq_size = {MAX_CQ_EVENTS}