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>
This commit is contained in:
parent
2f01a70011
commit
a2f76cd69f
1 changed files with 2 additions and 2 deletions
|
@ -387,8 +387,8 @@ int ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err)
|
||||||
struct ib_wc wc;
|
struct ib_wc wc;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
ipath_dbg("QP%d/%d in error state\n",
|
ipath_dbg("QP%d/%d in error state (%d)\n",
|
||||||
qp->ibqp.qp_num, qp->remote_qpn);
|
qp->ibqp.qp_num, qp->remote_qpn, err);
|
||||||
|
|
||||||
spin_lock(&dev->pending_lock);
|
spin_lock(&dev->pending_lock);
|
||||||
/* XXX What if its already removed by the timeout code? */
|
/* XXX What if its already removed by the timeout code? */
|
||||||
|
|
Reference in a new issue