MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::fabrics::ofi::ProviderConfigValues Struct Reference

#include <ProviderConfig.hpp>

Public Attributes

std::uint64_t caps
::fi_ep_type endpointType
std::uint64_t filteredCaps
int memoryRegistrationModes
std::string providerName
std::uint64_t requiredCaps
std::vector< std::uint32_t > supportedAddressFormats
std::vector< std::string > supportedFabricNames
std::vector< std::uint32_t > supportedProtocols

Detailed Description

Libfabric-level configuration values for a specific provider. These are derived from MXL capability flags and control how fi_getinfo results are matched and filtered.

Definition at line 14 of file ProviderConfig.hpp.

Member Data Documentation

◆ caps

std::uint64_t mxl::lib::fabrics::ofi::ProviderConfigValues::caps

Libfabric capability flags (FI_WRITE, FI_REMOTE_WRITE, FI_SEND, FI_RECV, etc.) derived from MXL interface capabilities. Set to 0 on the query path.

Definition at line 26 of file ProviderConfig.hpp.

◆ endpointType

::fi_ep_type mxl::lib::fabrics::ofi::ProviderConfigValues::endpointType

Endpoint type for this provider (FI_EP_MSG or FI_EP_RDM).

Definition at line 21 of file ProviderConfig.hpp.

◆ filteredCaps

std::uint64_t mxl::lib::fabrics::ofi::ProviderConfigValues::filteredCaps

Libfabric capabilities that cause an interface to be rejected if present.

Definition at line 38 of file ProviderConfig.hpp.

◆ memoryRegistrationModes

int mxl::lib::fabrics::ofi::ProviderConfigValues::memoryRegistrationModes

Bitmask of supported memory registration modes (FI_MR_*).

Definition at line 19 of file ProviderConfig.hpp.

◆ providerName

std::string mxl::lib::fabrics::ofi::ProviderConfigValues::providerName

Provider name as expected by libfabric (e.g. "tcp", "verbs", "shm", "efa").

Definition at line 17 of file ProviderConfig.hpp.

◆ requiredCaps

std::uint64_t mxl::lib::fabrics::ofi::ProviderConfigValues::requiredCaps

Libfabric capabilities that must be present in fi_info for the interface to be accepted. Derived from MXL capability flags. Zero means no requirement check.

Definition at line 36 of file ProviderConfig.hpp.

◆ supportedAddressFormats

std::vector<std::uint32_t> mxl::lib::fabrics::ofi::ProviderConfigValues::supportedAddressFormats

Address formats accepted by this provider (FI_SOCKADDR_IN, FI_ADDR_STR, etc.).

Definition at line 29 of file ProviderConfig.hpp.

◆ supportedFabricNames

std::vector<std::string> mxl::lib::fabrics::ofi::ProviderConfigValues::supportedFabricNames

Libfabric fabric names that are accepted. Empty accepts any.

Definition at line 40 of file ProviderConfig.hpp.

◆ supportedProtocols

std::vector<std::uint32_t> mxl::lib::fabrics::ofi::ProviderConfigValues::supportedProtocols

Protocols accepted by this provider (FI_PROTO_SOCK_TCP, FI_PROTO_RDMA_CM_IB_XRC, etc.).

Definition at line 31 of file ProviderConfig.hpp.


The documentation for this struct was generated from the following file: