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

[v1.21.x] prov/efa: Remove unconditional assignment of err_entry #9946

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

shijin-aws
Copy link
Contributor

@shijin-aws shijin-aws commented Mar 28, 2024

backport #9942

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Currently, efa_rdm_cq_poll_ibv_cq always assigns err_entry
as {0} at the beginning while err_entry is only used in the error path.
This unconditional assignment (88 bytes) caused additonal overhead
in the fast path. This patch fixes it by moving the assignment
of err_entry to the error path only

Signed-off-by: Shi Jin <[email protected]>
(cherry picked from commit 37e557e)
@shijin-aws shijin-aws requested review from darrylabbate and a team March 28, 2024 20:16
@j-xiong
Copy link
Contributor

j-xiong commented Mar 28, 2024

@shijin-aws It's a little bit late for 1.21.0. Are you fine with getting it merged after 1.21.0?

@shijin-aws
Copy link
Contributor Author

shijin-aws commented Mar 28, 2024

@j-xiong It's to fix a perf regression introduced by the earlier commits in 1.21. It will greatly appreciated if we can include this. But it's acceptable for us to merge it after the OFIWG 1.21.0 release.

@j-xiong
Copy link
Contributor

j-xiong commented Mar 28, 2024

@shijin-aws Ok, I can get it in. Just need to restart packaging and testing.

@shijin-aws
Copy link
Contributor Author

@j-xiong Thanks a lot!

@j-xiong j-xiong merged commit bbe793b into ofiwg:v1.21.x Mar 29, 2024
11 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.

None yet

4 participants