mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
ib_srpt: Display the qpn when QP initialization fails
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4128 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2108,6 +2108,8 @@ static int srpt_create_ch_ib(struct srpt_rdma_ch *ch)
|
||||
goto err_destroy_cq;
|
||||
}
|
||||
|
||||
TRACE_DBG("qp_num = %#x", ch->qp->qp_num);
|
||||
|
||||
ch->sq_wr_avail = qp_init->cap.max_send_wr;
|
||||
|
||||
TRACE_DBG("%s: max_cqe= %d max_sge= %d sq_size = %d"
|
||||
@@ -2117,7 +2119,8 @@ static int srpt_create_ch_ib(struct srpt_rdma_ch *ch)
|
||||
|
||||
ret = srpt_init_ch_qp(ch, ch->qp);
|
||||
if (ret) {
|
||||
PRINT_ERROR("srpt_init_ch_qp() failed (%d)", ret);
|
||||
PRINT_ERROR("srpt_init_ch_qp(%#x) failed (%d)", ch->qp->qp_num,
|
||||
ret);
|
||||
goto err_destroy_qp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user