Home
last modified time | relevance | path

Searched refs:max_qp_wr (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dfrwr_ops.c171 int max_qp_wr, depth, delta; in frwr_query_device() local
227 max_qp_wr = attrs->max_qp_wr; in frwr_query_device()
228 max_qp_wr -= RPCRDMA_BACKWARD_WRS; in frwr_query_device()
229 max_qp_wr -= 1; in frwr_query_device()
230 if (max_qp_wr < RPCRDMA_MIN_SLOT_TABLE) in frwr_query_device()
232 if (ep->re_max_requests > max_qp_wr) in frwr_query_device()
233 ep->re_max_requests = max_qp_wr; in frwr_query_device()
235 if (ep->re_attr.cap.max_send_wr > max_qp_wr) { in frwr_query_device()
236 ep->re_max_requests = max_qp_wr / depth; in frwr_query_device()
Dsvc_rdma_transport.c408 if (rq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept()
410 dev->attrs.max_qp_wr); in svc_rdma_accept()
411 rq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept()
419 if (newxprt->sc_sq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept()
421 dev->attrs.max_qp_wr); in svc_rdma_accept()
422 newxprt->sc_sq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c21 if (cap->max_send_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap()
23 cap->max_send_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap()
34 if (cap->max_recv_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap()
36 cap->max_recv_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap()
Drxe.c49 rxe->attr.max_qp_wr = RXE_MAX_QP_WR; in rxe_init_device_param()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c82 props->max_qp_wr = dev->dsr->caps.max_qp_wr; in pvrdma_query_device()
Dpvrdma_dev_api.h227 u32 max_qp_wr; member
Dpvrdma_qp.c134 if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_rq_size()
159 if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_sq_size()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw.h301 u32 max_qp_wr; member
Di40iw_verbs.c75 props->max_qp_wr = I40IW_MAX_QP_WRS; in i40iw_query_device()
137 uresp.wq_size = iwdev->max_qp_wr * 2; in i40iw_alloc_ucontext()
/kernel/linux/linux-5.10/net/rds/
Dib.c153 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
/kernel/linux/linux-5.10/fs/cifs/
Dsmbdirect.c1530 smbd_send_credit_target > info->id->device->attrs.max_qp_wr) { in _smbd_get_connection()
1534 info->id->device->attrs.max_qp_wr); in _smbd_get_connection()
1539 smbd_receive_credit_max > info->id->device->attrs.max_qp_wr) { in _smbd_get_connection()
1543 info->id->device->attrs.max_qp_wr); in _smbd_get_connection()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_main.c385 sdev->attrs.max_qp_wr = SIW_MAX_QP_WR; in siw_device_create()
Dsiw.h51 int max_qp_wr; member
Dsiw_verbs.c146 attr->max_qp_wr = sdev->attrs.max_qp_wr; in siw_query_device()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dprovider.c277 props->max_qp_wr = dev->rdev.hw_queue.t4_max_qp_depth; in c4iw_query_device()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Drw.c693 min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr); in rdma_rw_init_qp()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h130 __u32 max_qp_wr; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h116 __u32 max_qp_wr; member
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_verbs.c255 (unsigned int)ib_dev->attrs.max_qp_wr); in iser_create_ib_conn_res()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h185 __u32 max_qp_wr; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_main.c196 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c116 attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr); in bnxt_qplib_get_dev_attr()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c343 sdev->device->attrs.max_qp_wr); in srpt_get_ioc()
1816 qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); in srpt_create_ch_ib()
2230 ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr); in srpt_cm_req_recv()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c1582 min_t(int, sess->s.dev->ib_dev->attrs.max_qp_wr, in create_con_cq_qp()
1586 min_t(int, sess->s.dev->ib_dev->attrs.max_qp_wr, in create_con_cq_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c99 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()

12