|
MXL : Media eXchange Layer
MXL
|
#include <ProviderConfig.hpp>

Public Member Functions | |
| std::uint64_t | getCaps () const noexcept |
| Return the libfabric capability flags for this provider configuration. | |
| ::fi_ep_type | getEndpointType () const noexcept |
| Return the endpoint type for this provider (FI_EP_MSG, FI_EP_RDM, etc.). | |
| std::string | getProviderName () const |
| Get the provider name (as expected by libfabric in prov_name) as a string. | |
| int | getSupportedMemoryRegistrationModes () const noexcept |
| Return a value that represents all supported memory registration modes (mr_mode). | |
| bool | isSupportedFabricInfo (FabricInfoView view) const noexcept |
Static Public Member Functions | |
| static ProviderConfig | create (Provider provider, bool isTarget, std::optional< ProviderCapabilities > capabilities) |
| static ProviderConfig | efa (bool isTarget, std::optional< ProviderCapabilities > capabilities) |
| static ProviderConfig | shm (bool isTarget, std::optional< ProviderCapabilities > capabilities) |
| static ProviderConfig | tcp (bool isTarget, std::optional< ProviderCapabilities > capabilities) |
| static ProviderConfig | verbs (bool isTarget, std::optional< ProviderCapabilities > capabilities) |
Private Member Functions | |
| ProviderConfig (ProviderConfigValues values, std::optional< ProviderCapabilities > capabilities) | |
Private Attributes | |
| std::optional< ProviderCapabilities > | _capabilities |
| ProviderConfigValues | _values |
Definition at line 60 of file ProviderConfig.hpp.
|
private |
Definition at line 183 of file ProviderConfig.cpp.
|
static |
Create a provider config for the given provider. When capabilities is nullopt (query path), caps and requiredCaps are zero so no fi_info entries are rejected on capability grounds. When present (setup path), libfabric caps are derived from the MXL capability flags.
| isTarget | true for target (FI_REMOTE_WRITE), false for initiator (FI_WRITE). |
Definition at line 58 of file ProviderConfig.cpp.
|
static |
Definition at line 118 of file ProviderConfig.cpp.
|
nodiscardnoexcept |
Return the libfabric capability flags for this provider configuration.
Definition at line 178 of file ProviderConfig.cpp.
|
nodiscardnoexcept |
Return the endpoint type for this provider (FI_EP_MSG, FI_EP_RDM, etc.).
Definition at line 173 of file ProviderConfig.cpp.
|
nodiscard |
Get the provider name (as expected by libfabric in prov_name) as a string.
Definition at line 163 of file ProviderConfig.cpp.
|
nodiscardnoexcept |
Return a value that represents all supported memory registration modes (mr_mode).
Definition at line 168 of file ProviderConfig.cpp.
|
nodiscardnoexcept |
Returns true if this is a supported fabric configuration info. Can be used to filter the output of fi_getinfo to only a list of supported fabric configs.
Definition at line 135 of file ProviderConfig.cpp.
|
static |
Definition at line 102 of file ProviderConfig.cpp.
|
static |
Definition at line 70 of file ProviderConfig.cpp.
|
static |
Definition at line 86 of file ProviderConfig.cpp.
|
private |
Definition at line 105 of file ProviderConfig.hpp.
|
private |
Definition at line 104 of file ProviderConfig.hpp.