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

infiniband: support Intel irdma devices #605

Merged
merged 1 commit into from
Feb 15, 2024

Commits on Feb 15, 2024

  1. infiniband: support Intel irdma devices

    This skips parsing /sys/class/infiniband/<device>/ports/<port-num>/counters
    for irdma devices, which do not expose it, and would previously cause
    parseInfiniBandPort() to return an error. Instead, irdma devices expose
    /sys/class/infiniband/<device>/ports/<port-num>/hw_counters.
    
    Fixes: prometheus#589
    
    Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
    dswarbrick committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    63b1cab View commit details
    Browse the repository at this point in the history