Home
last modified time | relevance | path

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

12

/openbmc/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c175 int max_qp_wr, depth, delta; in frwr_query_device() local
231 max_qp_wr = attrs->max_qp_wr; in frwr_query_device()
232 max_qp_wr -= RPCRDMA_BACKWARD_WRS; in frwr_query_device()
233 max_qp_wr -= 1; in frwr_query_device()
234 if (max_qp_wr < RPCRDMA_MIN_SLOT_TABLE) in frwr_query_device()
236 if (ep->re_max_requests > max_qp_wr) in frwr_query_device()
237 ep->re_max_requests = max_qp_wr; in frwr_query_device()
239 if (ep->re_attr.cap.max_send_wr > max_qp_wr) { in frwr_query_device()
240 ep->re_max_requests = max_qp_wr / depth; in frwr_query_device()
H A 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()
420 if (newxprt->sc_sq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept()
422 dev->attrs.max_qp_wr); in svc_rdma_accept()
423 newxprt->sc_sq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dirdma.h145 u32 max_qp_wr; member
H A Di40iw_hw.c258 dev->hw_attrs.max_qp_wr = I40IW_MAX_QP_WRS; in i40iw_init_hw()
/openbmc/linux/drivers/infiniband/sw/rxe/
H A 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()
H A Drxe.c49 rxe->attr.max_qp_wr = RXE_MAX_QP_WR; in rxe_init_device_param()
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c82 props->max_qp_wr = dev->dsr->caps.max_qp_wr; in pvrdma_query_device()
H A Dpvrdma_dev_api.h227 u32 max_qp_wr; member
H A 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()
/openbmc/linux/fs/smb/server/
H A Dtransport_rdma.c1749 max_send_wrs > device->attrs.max_qp_wr) { in smb_direct_init_params()
1753 device->attrs.max_cqe, device->attrs.max_qp_wr); in smb_direct_init_params()
1758 smb_direct_receive_credit_max > device->attrs.max_qp_wr) { in smb_direct_init_params()
1762 device->attrs.max_cqe, device->attrs.max_qp_wr); in smb_direct_init_params()
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c335 sdev->attrs.max_qp_wr = SIW_MAX_QP_WR; in siw_device_create()
H A Dsiw.h51 int max_qp_wr; member
H A Dsiw_verbs.c147 attr->max_qp_wr = sdev->attrs.max_qp_wr; in siw_query_device()
/openbmc/linux/net/rds/
H A Dib.c153 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
/openbmc/linux/fs/smb/client/
H A Dsmbdirect.c1511 smbd_send_credit_target > info->id->device->attrs.max_qp_wr) { in _smbd_get_connection()
1515 info->id->device->attrs.max_qp_wr); in _smbd_get_connection()
1520 smbd_receive_credit_max > info->id->device->attrs.max_qp_wr) { in _smbd_get_connection()
1524 info->id->device->attrs.max_qp_wr); in _smbd_get_connection()
/openbmc/linux/drivers/infiniband/hw/mana/
H A Dmain.c490 props->max_qp_wr = MAX_SEND_BUFFERS_PER_QUEUE; in mana_ib_query_device()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dprovider.c282 props->max_qp_wr = dev->rdev.hw_queue.t4_max_qp_depth; in c4iw_query_device()
/openbmc/linux/drivers/infiniband/core/
H A Drw.c684 min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr); in rdma_rw_init_qp()
/openbmc/linux/drivers/infiniband/ulp/iser/
H A Diser_verbs.c248 (unsigned int)ib_dev->attrs.max_qp_wr); in iser_create_ib_conn_res()
/openbmc/linux/include/uapi/rdma/
H A Dib_user_verbs.h197 __u32 max_qp_wr; member
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c408 sdev->device->attrs.max_qp_wr); in srpt_get_ioc()
1887 qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); in srpt_create_ch_ib()
2301 ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr); in srpt_cm_req_recv()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c180 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c91 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.c132 attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr) - 1; in bnxt_qplib_get_dev_attr()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c1049 init_attr->cap.max_send_wr > rdi->dparms.props.max_qp_wr) in rvt_create_qp()
1056 init_attr->cap.max_recv_wr > rdi->dparms.props.max_qp_wr) in rvt_create_qp()

12