diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2024-11-15 00:47:44 -0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-11-17 04:56:39 -0500 |
commit | 68b3bca2df00f0a63f0aa2db2b2adc795665229e (patch) | |
tree | 1aaa661e4502e4943453633e5d0db19d3d04cfab /include/pcmcia | |
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 <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1731660464-27838-4-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions