mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
ib_srpt: Log QP timeout if debugging is enabled
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1151,6 +1151,9 @@ static int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp)
|
||||
|
||||
attr->max_rd_atomic = 4;
|
||||
|
||||
TRACE_DBG("Session %s: QP timeout = %d (about %d ms)", ch->sess_name,
|
||||
attr->timeout, 1 << max(attr->timeout - 8, 0));
|
||||
|
||||
ret = ib_modify_qp(qp, attr, attr_mask);
|
||||
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user