diff options
| author | Vasundhara Volam <[email protected]> | 2021-01-25 02:08:12 -0500 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-25 19:20:03 -0800 |
| commit | 881d8353b05e80d93db14b860581ceba14116422 (patch) | |
| tree | 8b41fbd3f3f4bc30db31e8e8436d96e83fdea175 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 3e3c09b0e999f51d35875c3103c6ccb49290788f (diff) | |
bnxt_en: Add an upper bound for all firmware command timeouts.
The timeout period for firmware messages is passed to the driver
from the firmware in the response of the first command. This
timeout period is multiplied by a factor for certain long
running commands such as NVRAM commands. In some cases, the
timeout period can become really long and it can cause hung task
warnings if firmware has crashed or is not responding. To avoid
such long delays, cap all firmware commands to a max timeout value
of 40 seconds.
Reviewed-by: Edwin Peer <[email protected]>
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions