]> git.baikalelectronics.ru Git - kernel.git/commit
qed: rdma - don't wait for resources under hw error recovery flow
authorShai Malin <smalin@marvell.com>
Wed, 22 Sep 2021 10:53:26 +0000 (13:53 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2021 13:38:34 +0000 (14:38 +0100)
commit7a5b93dc12503b1c5a05dd7bcbb10302ec6b04a9
tree0389fa136d28d62a87e23536fd30e9c160803504
parentf84f1741d94f76a6b5a8faa568c231cbc3498e96
qed: rdma - don't wait for resources under hw error recovery flow

If the HW device is during recovery, the HW resources will never return,
hence we shouldn't wait for the CID (HW context ID) bitmaps to clear.
This fix speeds up the error recovery flow.

Fixes: a85237d7a8cb ("qed: Add infrastructure for error detection and recovery")
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
drivers/net/ethernet/qlogic/qed/qed_roce.c