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

ibdiags: Do not panic on ibstat query failure #1501

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Sep 25, 2024

ibstat relies on umad_get_ca() to retrieve device's statistics. However, in case the latter function fails on a certain device, ibstat panics and exits before processing and displaying other device's statistics which may be obtainable.

Thus, warn on failed device query and continue querying the remaining devices instead of an early exit.

ibstat relies on umad_get_ca() to retrieve device's statistics.
However, in case the latter function fails on a certain device, ibstat
panics and exits before processing and displaying other device's
statistics which may be obtainable.

Thus, warn on failed device query and continue querying the remaining
devices instead of an early exit.

Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
@yishaih yishaih merged commit bddea82 into linux-rdma:master Sep 29, 2024
14 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