Commit 5485d6dd authored by Chuck Lever's avatar Chuck Lever
Browse files

svcrdma: Report CQ depths in debugging output



Check that svc_rdma_accept() is allocating an appropriate number of
CQEs.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent e67792cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -460,7 +460,8 @@ static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt)
		qp_attr.cap.max_send_wr, qp_attr.cap.max_recv_wr);
	dprintk("    cap.max_send_sge = %d, cap.max_recv_sge = %d\n",
		qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge);

	dprintk("    send CQ depth = %u, recv CQ depth = %u\n",
		newxprt->sc_sq_depth, rq_depth);
	ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr);
	if (ret) {
		trace_svcrdma_qp_err(newxprt, ret);