linux-stable/drivers/infiniband
Kalesh AP 68b3bca2df 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: 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>
2024-11-17 04:56:39 -05:00
..
core IB/cm: Rework sending DREQ when destroying a cm_id 2024-11-17 04:51:49 -05:00
hw RDMA/bnxt_re: Correct the sequence of device suspend 2024-11-17 04:56:39 -05:00
sw RDMA/rxe: Set queue pair cur_qp_state when being queried 2024-11-04 06:53:06 -05:00
ulp RDMA: Use ethtool string helpers 2024-10-30 11:28:57 +02:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00