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: rxr to efa rdm round2 #9097

Merged
merged 10 commits into from
Jul 1, 2023

Conversation

wzamazon
Copy link
Contributor

Getting very close

@wzamazon wzamazon requested a review from a team June 30, 2023 13:33
@wzamazon wzamazon force-pushed the efa_rxr_to_efa_rdm_round2_upstream branch from d958b60 to b384a1b Compare June 30, 2023 13:37
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2023 Amazon.com, Inc. or its affiliates.
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated comments

@wzamazon wzamazon force-pushed the efa_rxr_to_efa_rdm_round2_upstream branch from b384a1b to c698219 Compare June 30, 2023 17:04
@wzamazon wzamazon requested a review from a-szegel June 30, 2023 17:10
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]>
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]>
rxr_match_info has been replaced by ofi_match_info

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]>
@wzamazon wzamazon force-pushed the efa_rxr_to_efa_rdm_round2_upstream branch from c698219 to e4d7ff9 Compare June 30, 2023 21:37
@wzamazon wzamazon merged commit 773ad43 into ofiwg:main Jul 1, 2023
@wzamazon wzamazon deleted the efa_rxr_to_efa_rdm_round2_upstream branch July 1, 2023 00:13
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