prov/efa: Make DGRAM provider use new av_entry struct #10706
+390
−27
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.
Update the DGRAM provider to use the new efa_base_av_entry structure. This change splits the AV logic for the DGRAM and the RDM providers. Splitting the av logic for DGRAM makes DGRAM's AV logic simpler and faster in a few ways.
This change removes the efa_con struct from the av_entry because the DGRAM protocol does not maintain an idea of a connection to the endpoint receiving the messages. It does not matter if the remote endpoint we were previously communicating with exits, and a new QP opens with the same AH (NIC), and QPN (Endpoint). As long as someone is there to post recv buffers for our messages, DGRAM provider is happy.
This changes gets rid of the current/prev av reverse lookup map (ahn/qpn -> av_entry), and creates a single reverse look up map because the dgram provider does not care about old connections.