From fd95d787cc39a981c24cb2fb85e08e072d2e5179 Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Mon, 14 Jul 2025 14:46:30 +0000 Subject: [PATCH] ofi/btl: CHange default support to 1 & 2 sided ops Historically, the OFI BTL has defaulted to only supporting one-sided operations (ie, the RDMA OSC component). Howard and I can't think of a current Libfabric provider that has a performance difference when in one-sided vs. both one and two-sided mode, so change the default to support both. This allows users who want to use the OB1 PML to specify `-mca pml ob1` without also having to change the default mode in the BTL. Signed-off-by: Brian Barrett --- opal/mca/btl/ofi/btl_ofi_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/btl/ofi/btl_ofi_component.c b/opal/mca/btl/ofi/btl_ofi_component.c index 6785dcc74a0..142aa925635 100644 --- a/opal/mca/btl/ofi/btl_ofi_component.c +++ b/opal/mca/btl/ofi/btl_ofi_component.c @@ -150,7 +150,7 @@ static int mca_btl_ofi_component_register(void) return OPAL_ERR_OUT_OF_RESOURCE; } - mca_btl_ofi_component.mode = MCA_BTL_OFI_MODE_ONE_SIDED; + mca_btl_ofi_component.mode = MCA_BTL_OFI_MODE_FULL_SUPPORT; (void) mca_base_component_var_register(&mca_btl_ofi_component.super.btl_version, "mode", msg, MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, OPAL_INFO_LVL_5, MCA_BASE_VAR_SCOPE_READONLY,