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

Commits on Sep 25, 2024

  1. ibdiags: Do not panic on ibstat query failure

    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]>
    msanalla authored and Yishai Hadas committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    703b52c View commit details
    Browse the repository at this point in the history