-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/efa: Second fix for efa-direct's max_msg_size
commit f3e26d6 introduces another bug that the max_msg_size can be larger than the the max_msg_size of efa_prov_info when FI_RMA is requested: This will cause the fi_endpoint() call failed when comparing the user info and prov info. This patch fixes this issue by making the prov_info always use the largest max_msg_size, and conditionally reduce the returned user_info to the smaller max_msg_size when FI_RMA is not requested. Signed-off-by: Shi Jin <sjina@amazon.com>
- Loading branch information
1 parent
b135e2e
commit 6597c8b
Showing
3 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters