Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <msanalla@nvidia.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
- Loading branch information