linux-imx/drivers/infiniband
Kalesh AP 4a8390f96b RDMA/bnxt_re: Correct the sequence of device suspend
[ Upstream commit 68b3bca2df00f0a63f0aa2db2b2adc795665229e ]

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: cc5b9b48d4 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-05 14:02:16 +01:00
..
core RDMA/core: Implement RoCE GID port rescan and export delete function 2024-12-05 14:02:08 +01:00
hw RDMA/bnxt_re: Correct the sequence of device suspend 2024-12-05 14:02:16 +01:00
sw RDMA/rxe: Set queue pair cur_qp_state when being queried 2024-12-05 14:02:07 +01:00
ulp RDMA/srpt: Make slab cache names unique 2024-10-11 14:07:33 -03:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile