prov/efa: released matched rxe before destroying the srx rx_pool #10830
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.
If the sender exits early, there may still be unreleased rxe in the srx->rx_pool during util_srx_close, which will cause an
assertion error when the pool is destroyed. Release the matched rxe before calling util_srx_close.
fabtests/efa: Add remote exit early test with post recv
When rdma read is available and message size >= 1M, long read or runt read protocol is used and server is expected to get a cq entry or cq error.
Otherwise, if long CTS is used and sender exits before sending CTS data, receiver is expected to timeout after sending the CTS packet without getting a cq entry or cq error.