]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Clear WAIT_SEND flags when setting QP to error state
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 11 Jan 2011 01:42:20 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:20 +0000 (17:42 -0800)
commite1283172f2262d043950ea128054215caf7b48a7
tree1e291c492bb5f3009f770fff116d47c9ca4f4c2a
parentfd670f05cac3d8690666bae0c5ecc19e9bd546d6
IB/qib: Clear WAIT_SEND flags when setting QP to error state

If these flags are set when the QP is transitioned to the error state,
it will wait until the flags are cleared, which may never happen if
the error transition is due to a link going down.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_qp.c