Home
last modified time | relevance | path

Searched refs:ctxts (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c373 unsigned int ctxts, rq_depth; in svc_rdma_accept() local
416 ctxts = rdma_rw_mr_factor(dev, newxprt->sc_port_num, RPCSVC_MAXPAGES); in svc_rdma_accept()
417 ctxts *= newxprt->sc_max_requests; in svc_rdma_accept()
418 newxprt->sc_sq_depth = rq_depth + ctxts; in svc_rdma_accept()
444 qp_attr.cap.max_rdma_ctxs = ctxts; in svc_rdma_accept()
445 qp_attr.cap.max_send_wr = newxprt->sc_sq_depth - ctxts; in svc_rdma_accept()
515 dprintk(" rdma_rw_ctxs : %d\n", ctxts); in svc_rdma_accept()
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c371 unsigned int ctxts, rq_depth; in svc_rdma_accept() local
417 ctxts = rdma_rw_mr_factor(dev, newxprt->sc_port_num, RPCSVC_MAXPAGES); in svc_rdma_accept()
418 ctxts *= newxprt->sc_max_requests; in svc_rdma_accept()
419 newxprt->sc_sq_depth = rq_depth + ctxts; in svc_rdma_accept()
445 qp_attr.cap.max_rdma_ctxs = ctxts; in svc_rdma_accept()
446 qp_attr.cap.max_send_wr = newxprt->sc_sq_depth - ctxts; in svc_rdma_accept()
516 dprintk(" rdma_rw_ctxs : %d\n", ctxts); in svc_rdma_accept()

Completed in 2 milliseconds