Skip to content

[v2.5.x] prov/efa: Fix FI_INJECT in efa direct#12190

Open
jiaxiyan wants to merge 2 commits intoofiwg:v2.5.xfrom
jiaxiyan:backport/efa-fixes
Open

[v2.5.x] prov/efa: Fix FI_INJECT in efa direct#12190
jiaxiyan wants to merge 2 commits intoofiwg:v2.5.xfrom
jiaxiyan:backport/efa-fixes

Conversation

@jiaxiyan
Copy link
Copy Markdown
Contributor

backport #12146

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)
@jiaxiyan jiaxiyan requested a review from a team April 28, 2026 22:39
@a-szegel
Copy link
Copy Markdown
Contributor

bot:aws:retest

@jiaxiyan
Copy link
Copy Markdown
Contributor Author

jiaxiyan commented May 1, 2026

The unit tests was based on #11963, need to update unit tests to fix CI or backport that PR

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.

3 participants