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 parseRate fails on Melanox card #361

Closed
SuperQ opened this issue Feb 14, 2021 · 0 comments · Fixed by #362
Closed

Infiniband parseRate fails on Melanox card #361

SuperQ opened this issue Feb 14, 2021 · 0 comments · Fixed by #362

Comments

@SuperQ
Copy link
Member

SuperQ commented Feb 14, 2021

Linux: 4.14.24
mlx5_ib: Mellanox Connect-IB Infiniband driver v4.3-0.1.6

The format of the rate file is slightly different:

$ cat /sys/class/infiniband/mlx5_1/ports/1/rate
0 GB/sec

This happens with the SFP+ slot is unpoulated.

SuperQ added a commit that referenced this issue Feb 14, 2021
Fix parsing of infiniband rate for unconnected/unpopulated ports.

Fixes: #361

Signed-off-by: Ben Kochie <superq@gmail.com>
remijouannet pushed a commit to remijouannet/procfs that referenced this issue Oct 20, 2022
Fix parsing of infiniband rate for unconnected/unpopulated ports.

Fixes: prometheus#361

Signed-off-by: Ben Kochie <superq@gmail.com>
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 a pull request may close this issue.

1 participant