-
Notifications
You must be signed in to change notification settings - Fork 382
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: rxr to efa rdm round2 #9097
prov/efa: rxr to efa rdm round2 #9097
Conversation
d958b60
to
b384a1b
Compare
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright (c) 2019-2023 Amazon.com, Inc. or its affiliates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you expand this commit message... I feel like you do a lot more in this commit than:
prov/efa: rename rxr_pkt_rx_map to efa_rdm_rxe_map
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Will add more comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated comments
b384a1b
to
c698219
Compare
Also added a docstring for this field. Signed-off-by: Wei Zhang <[email protected]>
rxr_cq has been renamed to efa_rdm_cq in previous commits, but "rxr_cq" was used in few places. This patch fixed those occurance. Signed-off-by: Wei Zhang <[email protected]>
Signed-off-by: Wei Zhang <[email protected]>
rxr_pkt_rx_map is a hashmap between (sender address + msg_id) and RX entry. It is used in processing medium RTM and runting read RTM. This patch rename the struct to efa_rdm_rxe_map, and renamed the lookup, insert, remove function accordingly. It also move the defintion and implementation to a separate file efa_rdm_rxe_map.c/h. Signed-off-by: Wei Zhang <[email protected]>
rename rxr_get_tx/rx_pool_chunk_cnt to efa_rdm_ep_get_tx/rx_pool_size Signed-off-by: Wei Zhang <[email protected]>
Signed-off-by: Wei Zhang <[email protected]>
Signed-off-by: Wei Zhang <[email protected]>
rxr_match_info has been replaced by ofi_match_info Signed-off-by: Wei Zhang <[email protected]>
Signed-off-by: Wei Zhang <[email protected]>
This function is not used after we switch to use peer API Signed-off-by: Wei Zhang <[email protected]>
c698219
to
e4d7ff9
Compare
Getting very close