Skip to content
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

Allow ofi_iflush without memory registration if provider does not request it #97

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

dmaryin
Copy link
Contributor

@dmaryin dmaryin commented Mar 1, 2022

*Issue #, if available: #98

Parts of #81 fix were missed during work on new features. Reintroduced

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

}

/* Issue RDMA read */
do {
rc = fi_read(rComm->local_ep, rComm->flush_buff.host_buffer,
rComm->flush_buff.size,
fi_mr_desc(rComm->flush_buff.mr_handle),
mr_desc,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. We would need to provide MR descriptor for flush buffer rather than data buffer (passed via ofi_iflush api)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Please review.

@rashikakheria
Copy link
Contributor

Changes look good. Could you please merge both patches into one?

We will run the PR internally to check for any other regression and update once we have test results.

@dmaryin
Copy link
Contributor Author

dmaryin commented Mar 4, 2022

Changes look good. Could you please merge both patches into one?

We will run the PR internally to check for any other regression and update once we have test results.

Thanks. Commits squashed into one.

@rashikakheria
Copy link
Contributor

Tests completed successfully. Merging.

@rashikakheria rashikakheria merged commit b2ab25b into aws:master Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants