Skip to content

Commit 85c27e7

Browse files
authored
Merge pull request #4063 from jsquyres/pr/v3.0.x/usnic-send-credit-fix
v3.0.x: btl/usnic: assign the number of send credit correctly.
2 parents 51f19da + 48e2b0e commit 85c27e7

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)