-
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: Fix the max_msg_size reporting for efa-direct
Currently, efa-direct always return the max of rdma size and mtu size when device rdma is supported. This is wrong because when FI_RMA is not requested, only send/recv will be used, and the max_msg_size should be returned as the mtu size only. This patch fixes this issue by moving the max_msg_size change to alter_direct_info based on hints->caps. Also adjust and introduces more unit tests. Signed-off-by: Shi Jin <sjina@amazon.com>
- Loading branch information
1 parent
a07fe39
commit f3e26d6
Showing
5 changed files
with
57 additions
and
18 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
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