Skip to content

Commit 41acfee

Browse files
committed
btl/ofi: Disable ofi_rxm provider
The ofi_rxm provider is dependent upon the underlying hardware for its implementation of FI_DELIVERY_COMPLETE. Since this can lead to early completions, we disable the provider to avoid correctness issues. This is not an issue in the mtl/ofi as it does not require FI_DELIVERY_COMPLETE. Signed-off-by: William Zhang <wilzhang@amazon.com>
1 parent a7dcfd9 commit 41acfee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

opal/mca/btl/ofi/btl_ofi_component.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ static int validate_info(struct fi_info *info, uint64_t required_caps)
7070
return OPAL_ERROR;
7171
}
7272

73+
/* ofi_rxm does not fulfill FI_DELIVERY_COMPLETE requirements. Thus we
74+
* exclude it if it's detected.
75+
*/
76+
if (strstr(info->fabric_attr->prov_name, "ofi_rxm")) {
77+
BTL_VERBOSE(("ofi_rxm does not support FI_DELIVERY_COMPLETE"));
78+
return OPAL_ERROR;
79+
}
80+
7381
/* we need exactly all the required bits */
7482
if ((info->caps & required_caps) != required_caps) {
7583
BTL_VERBOSE(("unsupported caps"));

0 commit comments

Comments
 (0)