]> 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)
commit1ea7812326004afd2803cc968a4776ae5120a597
tree0389fa136d28d62a87e23536fd30e9c160803504
parentb52d3161c23f8944a4050874d3556c8ed148927f
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: 64515dc899df ("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