IB/ipath: Fix RC and UC error handling
authorRalph Campbell <ralph.campbell@qlogic.com>
Tue, 13 May 2008 18:40:25 +0000 (11:40 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 13 May 2008 18:40:25 +0000 (11:40 -0700)
When errors are detected in RC, the QP should transition to the
IB_QPS_ERR state, not the IB_QPS_SQE state. Also, when the error is on
the responder side, the receive work completion error was incorrect
(remote vs. local).

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c
drivers/infiniband/hw/ipath/ipath_rc.c
drivers/infiniband/hw/ipath/ipath_ruc.c
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/ipath/ipath_verbs.h