Skip to content

Commit 15fe246

Browse files
committed
btl/ofi: Add FI_COMPLETION flag to tx and rx attributes
Add FI_COMPLETION flag to ensure completion entries are generated for all data transfer operations. Signed-off-by: Jessie Yang <[email protected]>
1 parent f65f900 commit 15fe246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/btl/ofi/btl_ofi_component.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ static mca_btl_base_module_t **mca_btl_ofi_component_init(int *num_btl_modules,
365365
tx_attr.iov_limit = 1;
366366
rx_attr.iov_limit = 1;
367367

368-
tx_attr.op_flags = FI_DELIVERY_COMPLETE;
368+
tx_attr.op_flags = FI_DELIVERY_COMPLETE | FI_COMPLETION;
369+
rx_attr.op_flags = FI_COMPLETION;
369370

370371
mca_btl_ofi_component.module_count = 0;
371372

0 commit comments

Comments
 (0)