summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2007-11-02 17:40:36 -0700
committerRoland Dreier <rolandd@cisco.com>2008-01-25 14:15:29 -0800
commita2f76cd69f4913079cad10670f8520ffe07f4067 (patch)
treef205a5409055cbbc5dc6a5a30e462f1c543b692d /drivers/infiniband
parent2f01a7001131bbf3ce1e39252bf72aea2da034df (diff)
downloadblackbird-op-linux-a2f76cd69f4913079cad10670f8520ffe07f4067.tar.gz
blackbird-op-linux-a2f76cd69f4913079cad10670f8520ffe07f4067.zip
IB/ipath: Add the work completion error code to the QP error debug output
Add the work completion error code to the QP error debug output. This makes it easier to determine the cause of the error. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_qp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_qp.c b/drivers/infiniband/hw/ipath/ipath_qp.c
index b997ff88401b..b405906974ca 100644
--- a/drivers/infiniband/hw/ipath/ipath_qp.c
+++ b/drivers/infiniband/hw/ipath/ipath_qp.c
@@ -387,8 +387,8 @@ int ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err)
struct ib_wc wc;
int ret = 0;
- ipath_dbg("QP%d/%d in error state\n",
- qp->ibqp.qp_num, qp->remote_qpn);
+ ipath_dbg("QP%d/%d in error state (%d)\n",
+ qp->ibqp.qp_num, qp->remote_qpn, err);
spin_lock(&dev->pending_lock);
/* XXX What if its already removed by the timeout code? */
OpenPOWER on IntegriCloud