Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prov/efa: Clean up rxe map during rxe release #10799

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

shijin-aws
Copy link
Contributor

rxe can be inserted to rxe map when receiver
gets a multi-req pkts (medium, runting). When the
receive ep is closed early before the receive
completes, the stale entry in the rxe map will
cause an assertion error when destroying
the rxe_map buffer pool during ep close. This
patch fixes this issue by recording the rxe_map
insertion status in rxe, and removing the rxe
from the map during the rxe release.

rxe can be inserted to rxe map when receiver
gets a multi-req pkts (medium, runting). When the
receive ep is closed early before the receive
completes, the stale entry in the rxe map will
cause an assertion error when destroying
the rxe_map buffer pool during ep close. This
patch fixes this issue by recording the rxe_map
insertion status in rxe, and removing the rxe
from the map during the rxe release.

Signed-off-by: Shi Jin <sjina@amazon.com>
@shijin-aws shijin-aws requested a review from a team February 19, 2025 19:54
@shijin-aws shijin-aws merged commit a07fe39 into ofiwg:main Feb 20, 2025
13 checks passed
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.

2 participants