|
MXL : Media eXchange Layer
MXL
|
TargetInfo contains all the information required by an initiator to operate transfers to the given target. More...
#include <TargetInfo.hpp>

Public Member Functions | |
| bool | operator== (TargetInfo const &other) const noexcept |
| ::mxlFabricsTargetInfo | toAPI () noexcept |
| Cast a pointer to a TargetInfo instance to an mxlFabricsTargetInfo opaque pointer. | |
| std::string | toJSON () const |
| Serialize a TargetInfo instance to a JSON representation. | |
Static Public Member Functions | |
| static TargetInfo * | fromAPI (mxlFabricsTargetInfo api) noexcept |
| Cast an mxlFabricsTargetInfo opaque pointer to a TargetInfo pointer. | |
| static TargetInfo | fromJSON (std::string const &s) |
| Construct a TargetInfo instance from a JSON representation. | |
Public Attributes | |
| std::optional< TargetInfoBounceBufferInfo > | bounceBufferInfo |
| RawFabricAddress | fabricAddress |
| Endpoint::Id | id |
| Provider | provider |
| std::vector< RemoteRegion > | remoteRegions |
TargetInfo contains all the information required by an initiator to operate transfers to the given target.
In the context of libfabric this means, the fi_addr, all the buffer addresses and sizes, and the remote protection key.
Definition at line 28 of file TargetInfo.hpp.
|
staticnodiscardnoexcept |
Cast an mxlFabricsTargetInfo opaque pointer to a TargetInfo pointer.
Definition at line 23 of file TargetInfo.cpp.
|
staticnodiscard |
Construct a TargetInfo instance from a JSON representation.
Definition at line 65 of file TargetInfo.cpp.
|
noexcept |
Definition at line 122 of file TargetInfo.cpp.
|
nodiscardnoexcept |
Cast a pointer to a TargetInfo instance to an mxlFabricsTargetInfo opaque pointer.
Definition at line 28 of file TargetInfo.cpp.
|
nodiscard |
Serialize a TargetInfo instance to a JSON representation.
Definition at line 33 of file TargetInfo.cpp.
| std::optional<TargetInfoBounceBufferInfo> mxl::lib::fabrics::ofi::TargetInfo::bounceBufferInfo |
Information about the bounce buffer on the target, if the target uses one.
Definition at line 59 of file TargetInfo.hpp.
| RawFabricAddress mxl::lib::fabrics::ofi::TargetInfo::fabricAddress |
Target's endpoint libfabric address
Definition at line 55 of file TargetInfo.hpp.
| Endpoint::Id mxl::lib::fabrics::ofi::TargetInfo::id |
A unique identifier of the target's endpoint
Definition at line 54 of file TargetInfo.hpp.
| Provider mxl::lib::fabrics::ofi::TargetInfo::provider |
Remote targets provider
Definition at line 56 of file TargetInfo.hpp.
| std::vector<RemoteRegion> mxl::lib::fabrics::ofi::TargetInfo::remoteRegions |
Target's memory regions (and keys) which an initiator can operate on. This is used only for RMA operations
Definition at line 58 of file TargetInfo.hpp.