Skip to content

Commit 6889948

Browse files
authored
Merge pull request #4058 from thananon/pr/usnic_fix_credit
btl/usnic: assign the number of send credit correctly.
2 parents dfe7b2b + 68658e4 commit 6889948

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/btl/usnic/btl_usnic_proc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ opal_btl_usnic_create_endpoint(opal_btl_usnic_module_t *module,
741741
endpoint->endpoint_module = module;
742742
assert(modex_index >= 0 && modex_index < (int)proc->proc_modex_count);
743743
endpoint->endpoint_remote_modex = proc->proc_modex[modex_index];
744+
endpoint->endpoint_send_credits = module->sd_num;
744745

745746
/* Start creating destinations; one for each channel. These
746747
progress in the background.a */

0 commit comments

Comments
 (0)