Skip to content

Commit

Permalink
fix(ofi): pass LCI_SERVER_MAX_SENDS/RECVS to libfabric endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
JiakunYan committed May 13, 2024
1 parent d9b81a0 commit 2bcf0c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lci/backend/ofi/server_ofi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 2bcf0c3

Please sign in to comment.