Skip to content

Commit a2f76cd

Browse files
Ralph CampbellRoland Dreier
authored andcommitted
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 <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
1 parent 2f01a70 commit a2f76cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/infiniband/hw/ipath/ipath_qp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ int ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err)
387387
struct ib_wc wc;
388388
int ret = 0;
389389

390-
ipath_dbg("QP%d/%d in error state\n",
391-
qp->ibqp.qp_num, qp->remote_qpn);
390+
ipath_dbg("QP%d/%d in error state (%d)\n",
391+
qp->ibqp.qp_num, qp->remote_qpn, err);
392392

393393
spin_lock(&dev->pending_lock);
394394
/* XXX What if its already removed by the timeout code? */

0 commit comments

Comments
 (0)