Skip to content

Commit 8aa8cae

Browse files
committed
NA OFI: disable RNR protocol by default
Disable until issues related to RNR are fixed
1 parent 44bf719 commit 8aa8cae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/na/na_ofi.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3571,8 +3571,11 @@ na_ofi_getinfo(enum na_ofi_prov_type prov_type, const struct na_ofi_info *info,
35713571
if (FI_VERSION_GE(fi_version(), FI_VERSION(1, 21)) &&
35723572
(prov_type == NA_OFI_PROV_CXI)) {
35733573
char *env = getenv("NA_OFI_CXI_PROTO_RNR");
3574-
if (env == NULL || atoi(env) != 0) /* Enabled by default */
3575-
hints->ep_attr->protocol = (uint32_t) FI_PROTO_CXI_RNR;
3574+
/* Disabled by default */
3575+
hints->ep_attr->protocol =
3576+
(env != NULL && atoi(env) != 0)
3577+
? (uint32_t) FI_PROTO_CXI_RNR
3578+
: (uint32_t) na_ofi_prov_ep_proto[prov_type];
35763579
} else
35773580
#endif
35783581
hints->ep_attr->protocol =

0 commit comments

Comments
 (0)