/drivers/infiniband/hw/mlx5/ |
D | gsi.c | 81 wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr]; in generate_completions() 145 gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, in mlx5_ib_gsi_create_qp() 171 gsi->cq = ib_alloc_cq(pd->device, gsi, init_attr->cap.max_send_wr, 0, in mlx5_ib_gsi_create_qp() 183 hw_init_attr.cap.max_send_wr = 0; in mlx5_ib_gsi_create_qp() 260 .max_send_wr = gsi->cap.max_send_wr, in create_gsi_ud_qp() 420 if (gsi->outstanding_pi == gsi->outstanding_ci + gsi->cap.max_send_wr) { in mlx5_ib_add_outstanding_wr() 426 gsi->cap.max_send_wr]; in mlx5_ib_add_outstanding_wr()
|
D | qp.c | 390 if (!attr->cap.max_send_wr) in calc_sq_size() 411 wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); in calc_sq_size() 415 attr->cap.max_send_wr, wqe_size, MLX5_SEND_WQE_BB, in calc_sq_size() 427 attr->cap.max_send_wr = qp->sq.max_post; in calc_sq_size() 4608 qp_attr->cap.max_send_wr = qp->sq.max_post; in mlx5_ib_query_qp() 4612 qp_attr->cap.max_send_wr = 0; in mlx5_ib_query_qp()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 232 dst->max_send_wr = src->max_send_wr; in pvrdma_qp_cap_to_ib() 241 dst->max_send_wr = src->max_send_wr; in ib_qp_cap_to_pvrdma()
|
D | pvrdma_qp.c | 156 if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_sq_size() 162 qp->sq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_send_wr)); in pvrdma_set_sq_size() 166 req_cap->max_send_wr = qp->sq.wqe_cnt; in pvrdma_set_sq_size() 336 cmd->max_send_wr = init_attr->cap.max_send_wr; in pvrdma_create_qp() 349 cmd->max_send_wr, cmd->max_recv_wr, cmd->max_send_sge, in pvrdma_create_qp()
|
D | pvrdma_dev_api.h | 505 u32 max_send_wr; member 524 u32 max_send_wr; member
|
D | pvrdma_verbs.h | 249 u32 max_send_wr; member
|
/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 56 if (cap->max_send_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap() 58 cap->max_send_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap() 239 qp->sq.max_wr = init->cap.max_send_wr; in rxe_qp_init_req() 391 init->cap.max_send_wr = qp->sq.max_wr; in rxe_qp_to_init() 776 attr->cap.max_send_wr = qp->sq.max_wr; in rxe_qp_to_attr()
|
/drivers/infiniband/core/ |
D | uverbs_marshall.c | 111 dst->max_send_wr = src->cap.max_send_wr; in ib_copy_qp_attr_to_user()
|
D | rw.c | 694 attr->cap.max_send_wr += factor * attr->cap.max_rdma_ctxs; in rdma_rw_init_qp() 700 attr->cap.max_send_wr = in rdma_rw_init_qp() 701 min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr); in rdma_rw_init_qp()
|
D | uverbs_cmd.c | 1414 if (ind_tbl && !cmd->max_send_wr) in create_qp() 1483 attr.cap.max_send_wr = cmd->max_send_wr; in create_qp() 1572 resp.base.max_send_wr = attr.cap.max_send_wr; in create_qp() 1665 cmd_ex.max_send_wr = cmd.max_send_wr; in ib_uverbs_create_qp() 1906 resp.max_send_wr = init_attr->cap.max_send_wr; in ib_uverbs_query_qp()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 347 if (cap->max_send_wr > hr_dev->caps.max_wqes || in hns_roce_set_kernel_sq_size() 359 max_cnt = cap->max_send_wr > HNS_ROCE_MIN_WQE_NUM ? in hns_roce_set_kernel_sq_size() 360 cap->max_send_wr : HNS_ROCE_MIN_WQE_NUM; in hns_roce_set_kernel_sq_size() 381 cap->max_send_wr = hr_qp->sq.max_post = hr_qp->sq.wqe_cnt; in hns_roce_set_kernel_sq_size()
|
D | hns_roce_hw_v1.c | 639 init_attr.cap.max_send_wr = HNS_ROCE_MIN_WQE_NUM; in hns_roce_v1_create_lp_qp() 3300 qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; in hns_roce_v1_q_sqp() 3437 qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; in hns_roce_v1_q_qp() 3440 qp_attr->cap.max_send_wr = 0; in hns_roce_v1_q_qp()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_cm.c | 171 if (attrs->cap.max_send_wr > QEDR_GSI_MAX_SEND_WR) { in qedr_check_gsi_qp_attrs() 174 attrs->cap.max_send_wr, QEDR_GSI_MAX_SEND_WR); in qedr_check_gsi_qp_attrs() 283 data.input.tx_num_desc = attrs->cap.max_send_wr; in qedr_ll2_start() 342 qp->sq.max_wr = attrs->cap.max_send_wr; in qedr_create_gsi_qp()
|
D | verbs.c | 377 uresp.max_send_wr = dev->attr.max_sqe; in qedr_alloc_ucontext() 1179 if (attrs->cap.max_send_wr > qattr->max_sqe) { in qedr_check_qp_attrs() 1182 attrs->cap.max_send_wr, qattr->max_sqe); in qedr_check_qp_attrs() 1506 qp->sq.max_wr = min_t(u32, attrs->cap.max_send_wr * dev->wq_multiplier, in qedr_create_kernel_qp() 1538 n_sq_entries = attrs->cap.max_send_wr; in qedr_create_kernel_qp() 2066 qp_attr->cap.max_send_wr = qp->sq.max_wr; in qedr_query_qp()
|
/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 457 init_attr.cap.max_send_wr = ISER_QP_SIG_MAX_REQ_DTOS + 1; in iser_create_ib_conn_res() 463 init_attr.cap.max_send_wr = ISER_QP_MAX_REQ_DTOS + 1; 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()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 148 .max_send_wr = ipoib_sendq_size, in ipoib_transport_dev_init()
|
D | ipoib_cm.c | 261 .cap.max_send_wr = 1, /* For drain WR */ in ipoib_cm_create_rx_qp() 1053 .cap.max_send_wr = ipoib_sendq_size, in ipoib_cm_create_tx_qp()
|
/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 786 init_attr->cap.max_send_wr > rdi->dparms.props.max_qp_wr || in rvt_create_qp() 797 init_attr->cap.max_send_wr + in rvt_create_qp() 803 init_attr->cap.max_send_wr + 1 + in rvt_create_qp() 904 qp->s_avail = init_attr->cap.max_send_wr; in rvt_create_qp() 1493 attr->cap.max_send_wr = qp->s_size - 1 - in rvt_query_qp()
|
/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1875 if (attrs->cap.max_send_wr > rhp->rdev.hw_queue.t4_max_sq_size) in c4iw_create_qp() 1877 sqsize = attrs->cap.max_send_wr + 1; in c4iw_create_qp() 1907 attrs->cap.max_send_wr = sqsize - 1; in c4iw_create_qp() 1914 qhp->attr.sq_num_entries = attrs->cap.max_send_wr; in c4iw_create_qp() 2028 attrs->cap.max_send_wr, qhp->wq.rq.qid, qhp->wq.rq.size, in c4iw_create_qp() 2117 init_attr->cap.max_send_wr = qhp->attr.sq_num_entries; in c4iw_ib_query_qp()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 866 sqsize = roundup_pow_of_two(attrs->cap.max_send_wr); in iwch_create_qp() 876 roundup_pow_of_two(attrs->cap.max_send_wr * 2)); in iwch_create_qp() 892 attrs->cap.max_send_wr = sqsize; in iwch_create_qp() 899 qhp->attr.sq_num_entries = attrs->cap.max_send_wr; in iwch_create_qp()
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 1034 if ((qp_init_attr->cap.max_send_wr > dev_attr->max_qp_wqes) || in bnxt_re_create_qp() 1110 entries = roundup_pow_of_two(qp_init_attr->cap.max_send_wr + 1); in bnxt_re_create_qp() 1114 qp_init_attr->cap.max_send_wr; in bnxt_re_create_qp() 1155 entries = roundup_pow_of_two(qp_init_attr->cap.max_send_wr + in bnxt_re_create_qp() 1524 if ((qp_attr->cap.max_send_wr >= dev_attr->max_qp_wqes) || in bnxt_re_modify_qp() 1534 entries = roundup_pow_of_two(qp_attr->cap.max_send_wr); in bnxt_re_modify_qp() 1538 qp_attr->cap.max_send_wr; in bnxt_re_modify_qp() 1618 qp_attr->cap.max_send_wr = qp->qplib_qp.sq.max_wqe; in bnxt_re_query_qp()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 504 qp_attr->cap.max_send_wr = qp->sq.max; in mthca_query_qp() 1248 if (cap->max_send_wr > dev->limits.max_wqes || in mthca_set_qp_size() 1265 qp->sq.max = cap->max_send_wr ? in mthca_set_qp_size() 1266 roundup_pow_of_two(cap->max_send_wr) : 0; in mthca_set_qp_size() 1269 qp->sq.max = cap->max_send_wr; in mthca_set_qp_size()
|
/drivers/nvme/target/ |
D | rdma.c | 965 qp_attr.cap.max_send_wr = queue->send_queue_size + 1; in nvmet_rdma_create_queue_ib() 984 atomic_set(&queue->sq_wr_avail, qp_attr.cap.max_send_wr); in nvmet_rdma_create_queue_ib() 988 qp_attr.cap.max_send_wr, queue->cm_id); in nvmet_rdma_create_queue_ib()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 442 if (cap->max_send_wr > (dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE) || in set_kernel_sq_size() 512 qp->sq.wqe_cnt = roundup_pow_of_two(cap->max_send_wr * in set_kernel_sq_size() 540 cap->max_send_wr = qp->sq.max_post = in set_kernel_sq_size() 851 if (init_attr->send_cq || init_attr->cap.max_send_wr) { in _mlx4_ib_create_qp_rss() 1220 (init_attr->cap.max_send_wr ? in create_qp_common() 4116 qp_attr->cap.max_send_wr = qp->sq.wqe_cnt; in mlx4_ib_query_qp() 4119 qp_attr->cap.max_send_wr = 0; in mlx4_ib_query_qp()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 1680 qp_init->cap.max_send_wr = srp_sq_size / 2; in srpt_create_ch_ib() 1699 atomic_set(&ch->sq_wr_avail, qp_init->cap.max_send_wr); in srpt_create_ch_ib() 1703 qp_init->cap.max_send_wr, ch->cm_id); in srpt_create_ch_ib()
|