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

prov/efa: Respect FI_MR_LOCAL in transport path #10348

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

jiaxiyan
Copy link
Contributor

Currently, efa provider tries to register user buffer in transport in multiple places without checking whether application sets FI_MR_LOCAL, which is not complied with Libfabric standard. Add warning when application sets FI_MR_LOCAL but does not provide a valid desc parameter into applicable data transfer operations.

@jiaxiyan jiaxiyan requested a review from a team August 28, 2024 22:36
Comment on lines 273 to 274
"No valid desc is provided, not complied with FI_MR_LOCAL."
"buf: %p len: %ld access: %lx\n",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"No valid desc is provided, not complied with FI_MR_LOCAL."
"buf: %p len: %ld access: %lx\n",
"No valid desc is provided, not compliant with FI_MR_LOCAL. "
"buf: %p len: %ld access: %#lx\n",

# automatically prepends the conversion with 0x/0X - just now noticing the many instances of %x/%lx in our logs without it.

Currently, efa provider tries to register user buffer in transport
in multiple places without checking whether application sets
FI_MR_LOCAL, which is not complied with Libfabric standard. Add
warning when application sets FI_MR_LOCAL but does not provide
a valid desc parameter into applicable data transfer operations.

Signed-off-by: Jessie Yang <[email protected]>
@shijin-aws
Copy link
Contributor

bot:aws:retest

@shijin-aws shijin-aws merged commit 9f0f355 into ofiwg:main Aug 31, 2024
13 checks passed
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.

4 participants