/Linux-v4.19/net/sunrpc/xprtrdma/ |
D | fmr_ops.c | 172 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()
|
D | frwr_ops.c | 222 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()
|
D | svc_rdma_transport.c | 489 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/ |
D | rxe_qp.c | 46 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()
|
D | rxe.c | 92 rxe->attr.max_qp_wr = RXE_MAX_QP_WR; in rxe_init_device_param()
|
/Linux-v4.19/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 462 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/ |
D | pvrdma_verbs.c | 83 props->max_qp_wr = dev->dsr->caps.max_qp_wr; in pvrdma_query_device()
|
D | pvrdma_dev_api.h | 225 u32 max_qp_wr; member
|
D | pvrdma_qp.c | 131 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/ |
D | i40iw.h | 301 u32 max_qp_wr; member
|
D | i40iw_verbs.c | 73 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/ |
D | ib.c | 146 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
|
/Linux-v4.19/fs/cifs/ |
D | smbdirect.c | 1635 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/ |
D | nes_verbs.c | 438 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()
|
D | nes_hw.h | 1102 u32 max_qp_wr; member
|
/Linux-v4.19/drivers/infiniband/core/ |
D | rw.c | 697 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/ |
D | provider.c | 311 props->max_qp_wr = dev->rdev.hw_queue.t4_max_qp_depth; in c4iw_query_device()
|
/Linux-v4.19/include/uapi/rdma/ |
D | ib_user_verbs.h | 184 __u32 max_qp_wr; member
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 206 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | qplib_sp.c | 114 attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr); in bnxt_qplib_get_dev_attr()
|
D | roce_hsi.h | 2699 __le16 max_qp_wr; member
|
/Linux-v4.19/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 349 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/ |
D | qp.c | 784 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/ |
D | mthca_provider.c | 98 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1069 props->max_qp_wr = dev->attr.max_wrs; in iwch_query_device()
|