Skip to content

prov/efa: Use ibv_query_comp_cntr_caps for device max cntr values#12591

Draft
jiaxiyan wants to merge 3 commits into
ofiwg:mainfrom
jiaxiyan:max_counters
Draft

prov/efa: Use ibv_query_comp_cntr_caps for device max cntr values#12591
jiaxiyan wants to merge 3 commits into
ofiwg:mainfrom
jiaxiyan:max_counters

Conversation

@jiaxiyan

Copy link
Copy Markdown
Contributor

rdma core added new API ibv_query_comp_cntr_caps to query device max_counters and max_value.
Remove unneeded symbol check.

@jiaxiyan
jiaxiyan marked this pull request as draft July 23, 2026 22:47
jiaxiyan added 3 commits July 24, 2026 16:26
rdma core added new API ibv_query_comp_cntr_caps to query device
max_counters and max_value.
Remove unneeded symbol check.

Signed-off-by: Jessie Yang <jiaxiyan@amazon.com>
For new application with API version >= 2.5, warn about the reason hardware
counter is not used instead of silently failing efa_domain_cntr_open_ext
or falling back to software counter in fi_cntr_open.

Signed-off-by: Jessie Yang <jiaxiyan@amazon.com>
Signed-off-by: Jessie Yang <jiaxiyan@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant