Skip to content

Conversation

antonycleave
Copy link

@antonycleave antonycleave commented Oct 15, 2024

This adds all the exposed hw_counters metrics for the bnxt_re infiniband driver that does not also expose functional counters
e.g:

# cat /sys/class/infiniband/bnxt_re0/ports/1/counters/port_rcv_data
cat: /sys/class/infiniband/bnxt_re0/ports/1/counters/port_rcv_data: Invalid argument
# cat /sys/class/infiniband/bnxt_re0/ports/1/hw_counters/rx_bytes
7521781137064

@antonycleave
Copy link
Author

@discordianfish is there any reason why the hw_counters in this PR should not be added? it would make my life a lot easier to be able to pull from here.

Thanks!

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.

1 participant