1
1

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>
(cherry picked from commit 41acfee2bbfc5495aeeeae4b72f385ca8d1d8cee)
Этот коммит содержится в:
William Zhang 2020-08-11 13:59:26 -07:00
родитель 357ac2e2f5
Коммит 27c252e211

Просмотреть файл

@ -85,6 +85,14 @@ static int validate_info(struct fi_info *info, uint64_t required_caps,
return OPAL_ERROR;
}
/* ofi_rxm does not fulfill FI_DELIVERY_COMPLETE requirements. Thus we
* exclude it if it's detected.
*/
if (strstr(info->fabric_attr->prov_name, "ofi_rxm")) {
BTL_VERBOSE(("ofi_rxm does not support FI_DELIVERY_COMPLETE"));
return OPAL_ERROR;
}
/* we need exactly all the required bits */
if ((info->caps & required_caps) != required_caps) {
BTL_VERBOSE(("unsupported caps"));