Home
last modified time | relevance | path

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

12

/Linux-v6.6/net/sunrpc/xprtrdma/
Dfrwr_ops.c174 int max_qp_wr, depth, delta; in frwr_query_device() local
230 max_qp_wr = attrs->max_qp_wr; in frwr_query_device()
231 max_qp_wr -= RPCRDMA_BACKWARD_WRS; in frwr_query_device()
232 max_qp_wr -= 1; in frwr_query_device()
233 if (max_qp_wr < RPCRDMA_MIN_SLOT_TABLE) in frwr_query_device()
235 if (ep->re_max_requests > max_qp_wr) in frwr_query_device()
236 ep->re_max_requests = max_qp_wr; in frwr_query_device()
238 if (ep->re_attr.cap.max_send_wr > max_qp_wr) { in frwr_query_device()
239 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()
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()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dirdma.h145 u32 max_qp_wr; member
Di40iw_hw.c258 dev->hw_attrs.max_qp_wr = I40IW_MAX_QP_WRS; in i40iw_init_hw()
/Linux-v6.6/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.c47 rxe->attr.max_qp_wr = RXE_MAX_QP_WR; in rxe_init_device_param()
/Linux-v6.6/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()
/Linux-v6.6/drivers/infiniband/sw/siw/
Dsiw_main.c335 sdev->attrs.max_qp_wr = SIW_MAX_QP_WR; in siw_device_create()
Dsiw.h51 int max_qp_wr; member
Dsiw_verbs.c147 attr->max_qp_wr = sdev->attrs.max_qp_wr; in siw_query_device()
/Linux-v6.6/fs/smb/server/
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()
/Linux-v6.6/net/rds/
Dib.c153 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
/Linux-v6.6/drivers/infiniband/hw/mana/
Dmain.c490 props->max_qp_wr = MAX_SEND_BUFFERS_PER_QUEUE; in mana_ib_query_device()
/Linux-v6.6/fs/smb/client/
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()
/Linux-v6.6/drivers/infiniband/hw/cxgb4/
Dprovider.c282 props->max_qp_wr = dev->rdev.hw_queue.t4_max_qp_depth; in c4iw_query_device()
/Linux-v6.6/drivers/infiniband/core/
Drw.c684 min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr); in rdma_rw_init_qp()
/Linux-v6.6/drivers/infiniband/ulp/iser/
Diser_verbs.c249 (unsigned int)ib_dev->attrs.max_qp_wr); in iser_create_ib_conn_res()
/Linux-v6.6/include/uapi/rdma/
Dib_user_verbs.h197 __u32 max_qp_wr; member
/Linux-v6.6/drivers/infiniband/ulp/srpt/
Dib_srpt.c343 sdev->device->attrs.max_qp_wr); in srpt_get_ioc()
1823 qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); in srpt_create_ch_ib()
2237 ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr); in srpt_cm_req_recv()
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_main.c179 props->max_qp_wr = hr_dev->caps.max_wqes; in hns_roce_query_device()
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c130 attr->max_qp_wqes = le16_to_cpu(sb->max_qp_wr); in bnxt_qplib_get_dev_attr()
/Linux-v6.6/drivers/infiniband/hw/mthca/
Dmthca_provider.c91 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
/Linux-v6.6/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c1670 wr_limit = clt_path->s.dev->ib_dev->attrs.max_qp_wr; in create_con_cq_qp()
1692 wr_limit = clt_path->s.dev->ib_dev->attrs.max_qp_wr; in create_con_cq_qp()

12