]> Git Repo - J-linux.git/commit
RDMA/bnxt_re: Fix error recovery sequence
authorKalesh AP <[email protected]>
Tue, 31 Dec 2024 02:50:08 +0000 (08:20 +0530)
committerLeon Romanovsky <[email protected]>
Tue, 31 Dec 2024 13:28:36 +0000 (08:28 -0500)
commite6178bf78d0378c2d397a6aafaf4882d0af643fa
treee304279bac5b627a7450c2a8eac598cd67d90bcc
parentfb514b31395946022f13a08e06a435f53cf9e8b3
RDMA/bnxt_re: Fix error recovery sequence

Fixed to return ENXIO from __send_message_basic_sanity()
to indicate that device is in error state. In the case of
ERR_DEVICE_DETACHED state, the driver should not post the
commands to the firmware as it will time out eventually.

Removed bnxt_re_modify_qp() call from bnxt_re_dev_stop()
as it is a no-op.

Fixes: cc5b9b48d447 ("RDMA/bnxt_re: Recover the device when FW error is detected")
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Kashyap Desai <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Selvin Xavier <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
This page took 0.048257 seconds and 4 git commands to generate.