[v2.5.x] prov/efa: Fix FI_INJECT in efa direct#12190
Open
jiaxiyan wants to merge 2 commits intoofiwg:v2.5.xfrom
Open
[v2.5.x] prov/efa: Fix FI_INJECT in efa direct#12190jiaxiyan wants to merge 2 commits intoofiwg:v2.5.xfrom
jiaxiyan wants to merge 2 commits intoofiwg:v2.5.xfrom
Conversation
Return -FI_EOPNOTSUPP for FI_INJECT when EFA device cannot use inline send. Replace the assert in fi_inject/fi_injectdata, fail with -FI_EOPNOTSUPP instead. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit a2f162a)
…ct_qp_gen_initialization The unit test binary is a single persistent process — all tests share the same efa_device with its qp_gen_table. Every test that creates an endpoint with data path direct enabled increments qp_gen_table[qpn_slot]. gen is a uint8_t that increments on every QP creation for that QPN slot across the entire test process. It will inevitably wrap to 0 after 256 QP cycles. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit bd54ef5)
shijin-aws
approved these changes
Apr 28, 2026
Contributor
|
bot:aws:retest |
Contributor
Author
|
The unit tests was based on #11963, need to update unit tests to fix CI or backport that PR |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport #12146