Commit e6178bf
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: cc5b9b4 ("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]>1 parent fb514b3 commit e6178bf
2 files changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
1718 | | - | |
1719 | | - | |
1720 | 1718 | | |
1721 | 1719 | | |
1722 | | - | |
1723 | 1720 | | |
1724 | 1721 | | |
1725 | 1722 | | |
1726 | 1723 | | |
1727 | 1724 | | |
1728 | 1725 | | |
1729 | 1726 | | |
1730 | | - | |
| 1727 | + | |
1731 | 1728 | | |
1732 | 1729 | | |
1733 | | - | |
1734 | | - | |
1735 | | - | |
1736 | 1730 | | |
1737 | 1731 | | |
1738 | 1732 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
| 428 | + | |
428 | 429 | | |
429 | 430 | | |
430 | 431 | | |
| |||
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
496 | | - | |
| 497 | + | |
497 | 498 | | |
498 | 499 | | |
499 | 500 | | |
| |||
0 commit comments