Skip to content

[v2.6.x] prov/efa: Update ibv_qp_attach_comp_cntr_op names - #12581

Merged
jiaxiyan merged 7 commits into
ofiwg:v2.6.xfrom
jiaxiyan:backport/update-ibv-qp-attach-comp-cntr-op-v2.6.x
Jul 21, 2026
Merged

[v2.6.x] prov/efa: Update ibv_qp_attach_comp_cntr_op names #12581
jiaxiyan merged 7 commits into
ofiwg:v2.6.xfrom
jiaxiyan:backport/update-ibv-qp-attach-comp-cntr-op-v2.6.x

Conversation

@jiaxiyan

Copy link
Copy Markdown
Contributor

jiaxiyan added 7 commits July 21, 2026 12:40
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)
@jiaxiyan
jiaxiyan requested a review from a team July 21, 2026 21:47
@jiaxiyan
jiaxiyan merged commit 9fcc8d8 into ofiwg:v2.6.x Jul 21, 2026
18 of 19 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.

2 participants