Skip to content

Commit 5485d6d

Browse files
committed
svcrdma: Report CQ depths in debugging output
Check that svc_rdma_accept() is allocating an appropriate number of CQEs. Signed-off-by: Chuck Lever <[email protected]>
1 parent e67792c commit 5485d6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/sunrpc/xprtrdma/svc_rdma_transport.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,8 @@ static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt)
460460
qp_attr.cap.max_send_wr, qp_attr.cap.max_recv_wr);
461461
dprintk(" cap.max_send_sge = %d, cap.max_recv_sge = %d\n",
462462
qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge);
463-
463+
dprintk(" send CQ depth = %u, recv CQ depth = %u\n",
464+
newxprt->sc_sq_depth, rq_depth);
464465
ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr);
465466
if (ret) {
466467
trace_svcrdma_qp_err(newxprt, ret);

0 commit comments

Comments
 (0)