diff options
author | 2022-06-27 16:05:31 +0300 | |
---|---|---|
committer | 2022-07-28 13:44:41 -0700 | |
commit | 42b4f7f66a43cdb9216e76e595c8a9af154806da (patch) | |
tree | d1d5f091a9864d6cc4b61240870cda454562c59f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: DR, Fix SMFS steering info dump format (diff) | |
download | linux-dev-42b4f7f66a43cdb9216e76e595c8a9af154806da.tar.xz linux-dev-42b4f7f66a43cdb9216e76e595c8a9af154806da.zip |
net/mlx5: Fix driver use of uninitialized timeout
Currently, driver is setting default values to all timeouts during
function setup. The offending commit is using a timeout before
function setup, meaning: the timeout is 0 (or garbage), since no
value have been set.
This may result in failure to probe the driver:
mlx5_function_setup:1034:(pid 69850): Firmware over 4294967296 MS in pre-initializing state, aborting
probe_one:1591:(pid 69850): mlx5_init_one failed with error code -16
Hence, set default values to timeouts during tout_init()
Fixes: 37ca95e62ee2 ("net/mlx5: Increase FW pre-init timeout for health recovery")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions