diff options
author | Kalesh AP <[email protected]> | 2024-11-15 00:47:44 -0800 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-11-17 04:56:39 -0500 |
commit | 68b3bca2df00f0a63f0aa2db2b2adc795665229e (patch) | |
tree | 1aaa661e4502e4943453633e5d0db19d3d04cfab /scripts/clang-tools/gen_compile_commands.py | |
parent | bfb27ae6d0f9a1229ab15c2f13616e96b4a4419e (diff) |
RDMA/bnxt_re: Correct the sequence of device suspend
When in fatal error condition, mark device as detached first
and then complete all pending HWRM commands as firmware is not
going to process them and eventually time out. Move the device
to error only if suspend is called when device is in Fatal state.
Also, remove some outdated comments. Remove the stop_irq call
which is no longer required.
Fixes: cc5b9b48d447 ("RDMA/bnxt_re: Recover the device when FW error is detected")
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions