summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2024-02-04 18:16:44 -0500
committerChuck Lever <chuck.lever@oracle.com>2024-03-01 09:12:25 -0500
commit5485d6ddfc7a3f4623c77e9a13fec41909c809cf (patch)
tree2d3069a7081ac7d8145e48f2744a7d4bf783de78 /net/sunrpc
parente67792cc96ef8e98364f509a25a6392a7c962f90 (diff)
downloadlinux-5485d6ddfc7a3f4623c77e9a13fec41909c809cf.tar.gz
linux-5485d6ddfc7a3f4623c77e9a13fec41909c809cf.tar.bz2
linux-5485d6ddfc7a3f4623c77e9a13fec41909c809cf.zip
svcrdma: Report CQ depths in debugging output
Check that svc_rdma_accept() is allocating an appropriate number of CQEs. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/xprtrdma/svc_rdma_transport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c
index 4a038c7e86f9..8be0493797cf 100644
--- a/net/sunrpc/xprtrdma/svc_rdma_transport.c
+++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c
@@ -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);