Skip to content

btl/base: push operation->hdr to am_rdma_respond for queued operation #10463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion opal/mca/btl/base/btl_base_am_rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ static int am_rdma_respond(mca_btl_base_module_t *btl,
*descriptor = NULL;

if (NULL == send_descriptor) {
assert(NULL != hdr);
am_rdma_response_hdr_t *resp_hdr;
size_t data_size = am_rdma_is_atomic(hdr->type) ? hdr->data.atomic.size
: hdr->data.rdma.size;
Expand Down Expand Up @@ -780,7 +781,7 @@ static void am_rdma_retry_operation(am_rdma_operation_t *operation)
} else {
ret = am_rdma_respond(operation->btl, operation->endpoint,
&operation->descriptor,
/*addr=*/NULL, /*hdr=*/NULL);
/*addr=*/NULL, &operation->hdr);
}

if (OPAL_SUCCESS == ret) {
Expand Down