[v2.6.x] prov/efa: Update ibv_qp_attach_comp_cntr_op names - #12581
Merged
jiaxiyan merged 7 commits intoJul 21, 2026
Merged
Conversation
linux-rdma/rdma-core#1701 renamed ibv_comp_cntr_attach_op to ibv_qp_attach_comp_cntr_op. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit c2a2401)
Deselect test at pytest collect time instead of skipping. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit 2c8b645)
Create hardware counters on cuda memory, exported with dmabuf. Test the counters are updated correctly with GDA for send, recv, read, write, and writedata. Use gda marker to deselect tests not built with efagda. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit 011b15c)
efa_ibv_post_write takes inline_data_list and use_inline. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit 5e32da0)
Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit 6e4ea7b)
Mock device comp_count_max_value and err_count_max_value instead of max_comp_cntr for hardware counter support. max_comp_cntr is the max number of counters supported, not the max value of the counter. Add macro and helper function efa_unit_test_set_hw_cntr_max_values. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit 7f2f975)
… not support it Check both the RDMA core symbol and cntr_cnt in fi_info for device support. Signed-off-by: Jessie Yang <jiaxiyan@amazon.com> (cherry picked from commit 933315e)
shijin-aws
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
backport #12338 #12455 #12576 #12577