Home
last modified time | relevance | path

Searched refs:rq_depth (Results 1 – 2 of 2) sorted by relevance

/net/9p/
Dtrans_rdma.c88 int rq_depth; member
127 int rq_depth; member
159 if (rdma->rq_depth != P9_RDMA_RQ_DEPTH) in p9_rdma_show_options()
160 seq_printf(m, ",rq=%u", rdma->rq_depth); in p9_rdma_show_options()
184 opts->rq_depth = P9_RDMA_RQ_DEPTH; in parse_opts()
221 opts->rq_depth = option; in parse_opts()
234 opts->rq_depth = max(opts->rq_depth, opts->sq_depth); in parse_opts()
583 rdma->rq_depth = opts->rq_depth; in alloc_rdma()
588 sema_init(&rdma->rq_sem, rdma->rq_depth); in alloc_rdma()
699 opts.sq_depth + opts.rq_depth + 1, in rdma_create_trans()
[all …]
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c373 unsigned int ctxts, rq_depth; in svc_rdma_accept() local
407 rq_depth = newxprt->sc_max_requests + newxprt->sc_max_bc_requests; in svc_rdma_accept()
408 if (rq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept()
411 rq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept()
412 newxprt->sc_max_requests = rq_depth - 2; in svc_rdma_accept()
418 newxprt->sc_sq_depth = rq_depth + ctxts; in svc_rdma_accept()
436 ib_alloc_cq_any(dev, newxprt, rq_depth, IB_POLL_WORKQUEUE); in svc_rdma_accept()
446 qp_attr.cap.max_recv_wr = rq_depth; in svc_rdma_accept()