From 2bcf0c3f16909f13c30a3f6517e6beb678b4c2b5 Mon Sep 17 00:00:00 2001 From: Jiakun Yan Date: Mon, 13 May 2024 11:19:29 -0500 Subject: [PATCH] fix(ofi): pass LCI_SERVER_MAX_SENDS/RECVS to libfabric endpoints --- lci/backend/ofi/server_ofi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lci/backend/ofi/server_ofi.c b/lci/backend/ofi/server_ofi.c index 1192bad8..dd3f1eef 100644 --- a/lci/backend/ofi/server_ofi.c +++ b/lci/backend/ofi/server_ofi.c @@ -153,6 +153,8 @@ void LCISD_endpoint_init(LCIS_server_t server_pp, LCIS_endpoint_t* endpoint_pp, endpoint_p->server->cxi_mr_bind_hack = false; } // Create end-point; + endpoint_p->server->info->tx_attr->size = LCI_SERVER_MAX_SENDS; + endpoint_p->server->info->rx_attr->size = LCI_SERVER_MAX_RECVS; FI_SAFECALL(fi_endpoint(endpoint_p->server->domain, endpoint_p->server->info, &endpoint_p->ep, NULL));