Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/sunrpc/xprtrdma/
Dfmr_ops.c172 int max_qp_wr; in fmr_op_open() local
174 max_qp_wr = ia->ri_device->attrs.max_qp_wr; in fmr_op_open()
175 max_qp_wr -= RPCRDMA_BACKWARD_WRS; in fmr_op_open()
176 max_qp_wr -= 1; in fmr_op_open()
177 if (max_qp_wr < RPCRDMA_MIN_SLOT_TABLE) in fmr_op_open()
179 if (cdata->max_requests > max_qp_wr) in fmr_op_open()
180 cdata->max_requests = max_qp_wr; in fmr_op_open()
Dfrwr_ops.c222 int max_qp_wr, depth, delta; in frwr_op_open() local
256 max_qp_wr = ia->ri_device->attrs.max_qp_wr; in frwr_op_open()
257 max_qp_wr -= RPCRDMA_BACKWARD_WRS; in frwr_op_open()
258 max_qp_wr -= 1; in frwr_op_open()
259 if (max_qp_wr < RPCRDMA_MIN_SLOT_TABLE) in frwr_op_open()
261 if (cdata->max_requests > max_qp_wr) in frwr_op_open()
262 cdata->max_requests = max_qp_wr; in frwr_op_open()
264 if (ep->rep_attr.cap.max_send_wr > max_qp_wr) { in frwr_op_open()
265 cdata->max_requests = max_qp_wr / depth; in frwr_op_open()
Dsvc_rdma_transport.c489 if (rq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept()
491 dev->attrs.max_qp_wr); in svc_rdma_accept()
492 rq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept()
500 if (newxprt->sc_sq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept()
502 dev->attrs.max_qp_wr); in svc_rdma_accept()
503 newxprt->sc_sq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_qp.c46 if (cap->max_send_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap()
48 cap->max_send_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap()
59 if (cap->max_recv_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap()
61 cap->max_recv_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap()
Drxe.c92 rxe->attr.max_qp_wr = RXE_MAX_QP_WR; in rxe_init_device_param()
/Linux-v4.19/drivers/infiniband/ulp/iser/
Diser_verbs.c462 if (ib_dev->attrs.max_qp_wr > ISER_QP_MAX_REQ_DTOS) { in iser_create_ib_conn_res()
467 init_attr.cap.max_send_wr = ib_dev->attrs.max_qp_wr; in iser_create_ib_conn_res()
469 ISER_GET_MAX_XMIT_CMDS(ib_dev->attrs.max_qp_wr); in iser_create_ib_conn_res()
471 device->ib_device->name, ib_dev->attrs.max_qp_wr); in iser_create_ib_conn_res()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c83 props->max_qp_wr = dev->dsr->caps.max_qp_wr; in pvrdma_query_device()
Dpvrdma_dev_api.h225 u32 max_qp_wr; member
Dpvrdma_qp.c131 if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_rq_size()
156 if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_sq_size()
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw.h301 u32 max_qp_wr; member
Di40iw_verbs.c73 props->max_qp_wr = I40IW_MAX_QP_WRS; in i40iw_query_device()
148 uresp.wq_size = iwdev->max_qp_wr * 2; in i40iw_alloc_ucontext()
/Linux-v4.19/net/rds/
Dib.c146 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
/Linux-v4.19/fs/cifs/
Dsmbdirect.c1635 smbd_send_credit_target > info->id->device->attrs.max_qp_wr) { in _smbd_get_connection()
1642 info->id->device->attrs.max_qp_wr); in _smbd_get_connection()
1647 smbd_receive_credit_max > info->id->device->attrs.max_qp_wr) { in _smbd_get_connection()
1654 info->id->device->attrs.max_qp_wr); in _smbd_get_connection()
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_verbs.c438 props->max_qp_wr = nesdev->nesadapter->max_qp_wr - 2; in nes_query_device()
559 uresp.wq_size = nesdev->nesadapter->max_qp_wr * 2; in nes_alloc_ucontext()
619 index /= ((sizeof(struct nes_hw_qp_wqe) * nesdev->nesadapter->max_qp_wr * 2) + in nes_mmap()
3433 wqe_index = u32temp & (nesdev->nesadapter->max_qp_wr - 1); in nes_poll_cq()
3550 wqe_index = (wqe_index & (~(nesdev->nesadapter->max_qp_wr - 1))) | wq_tail; in nes_poll_cq()
Dnes_hw.h1102 u32 max_qp_wr; member
/Linux-v4.19/drivers/infiniband/core/
Drw.c697 min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr); in rdma_rw_init_qp()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dprovider.c311 props->max_qp_wr = dev->rdev.hw_queue.t4_max_qp_depth; in c4iw_query_device()
/Linux-v4.19/include/uapi/rdma/
Dib_user_verbs.h184 __u32 max_qp_wr; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_main.c206 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c114 attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr); in bnxt_qplib_get_dev_attr()
Droce_hsi.h2699 __le16 max_qp_wr; member
/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_srpt.c349 sdev->device->attrs.max_qp_wr); in srpt_get_ioc()
1753 qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); in srpt_create_ch_ib()
2170 ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr); in srpt_cm_req_recv()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c784 init_attr->cap.max_send_wr > rdi->dparms.props.max_qp_wr || in rvt_create_qp()
792 init_attr->cap.max_recv_wr > rdi->dparms.props.max_qp_wr) in rvt_create_qp()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_provider.c98 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1069 props->max_qp_wr = dev->attr.max_wrs; in iwch_query_device()

12