max_recv_wr 3158 drivers/infiniband/core/mad.c qp_init_attr.cap.max_recv_wr = mad_recvq_size; max_recv_wr 1310 drivers/infiniband/core/uverbs_cmd.c if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { max_recv_wr 1335 drivers/infiniband/core/uverbs_cmd.c cmd->max_recv_wr = 0; max_recv_wr 1387 drivers/infiniband/core/uverbs_cmd.c attr.cap.max_recv_wr = cmd->max_recv_wr; max_recv_wr 1455 drivers/infiniband/core/uverbs_cmd.c resp.base.max_recv_wr = attr.cap.max_recv_wr; max_recv_wr 1521 drivers/infiniband/core/uverbs_cmd.c cmd_ex.max_recv_wr = cmd.max_recv_wr; max_recv_wr 1708 drivers/infiniband/core/uverbs_cmd.c resp.max_recv_wr = init_attr->cap.max_recv_wr; max_recv_wr 111 drivers/infiniband/core/uverbs_marshall.c dst->max_recv_wr = src->cap.max_recv_wr; max_recv_wr 1158 drivers/infiniband/core/verbs.c qp_init_attr->srq || qp_init_attr->cap.max_recv_wr || max_recv_wr 1014 drivers/infiniband/hw/bnxt_re/ib_verbs.c (qp_init_attr->cap.max_recv_wr > dev_attr->max_qp_wqes) || max_recv_wr 1086 drivers/infiniband/hw/bnxt_re/ib_verbs.c entries = roundup_pow_of_two(qp_init_attr->cap.max_recv_wr + 1); max_recv_wr 1091 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_init_attr->cap.max_recv_wr; max_recv_wr 1728 drivers/infiniband/hw/bnxt_re/ib_verbs.c (qp_attr->cap.max_recv_wr >= dev_attr->max_qp_wqes) || max_recv_wr 1750 drivers/infiniband/hw/bnxt_re/ib_verbs.c entries = roundup_pow_of_two(qp_attr->cap.max_recv_wr); max_recv_wr 1754 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->cap.max_recv_wr; max_recv_wr 1823 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->cap.max_recv_wr = qp->qplib_qp.rq.max_wqe; max_recv_wr 719 drivers/infiniband/hw/cxgb3/iwch_provider.c rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr); max_recv_wr 720 drivers/infiniband/hw/cxgb3/iwch_provider.c if (rqsize == attrs->cap.max_recv_wr) max_recv_wr 721 drivers/infiniband/hw/cxgb3/iwch_provider.c rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr+1); max_recv_wr 764 drivers/infiniband/hw/cxgb3/iwch_provider.c attrs->cap.max_recv_wr = rqsize - 1; max_recv_wr 773 drivers/infiniband/hw/cxgb3/iwch_provider.c qhp->attr.rq_num_entries = attrs->cap.max_recv_wr; max_recv_wr 2143 drivers/infiniband/hw/cxgb4/qp.c if (attrs->cap.max_recv_wr > rhp->rdev.hw_queue.t4_max_rq_size) max_recv_wr 2145 drivers/infiniband/hw/cxgb4/qp.c rqsize = attrs->cap.max_recv_wr + 1; max_recv_wr 2191 drivers/infiniband/hw/cxgb4/qp.c attrs->cap.max_recv_wr = rqsize - 1; max_recv_wr 2203 drivers/infiniband/hw/cxgb4/qp.c qhp->attr.rq_num_entries = attrs->cap.max_recv_wr; max_recv_wr 2341 drivers/infiniband/hw/cxgb4/qp.c qhp->wq.rq.memsize, attrs->cap.max_recv_wr); max_recv_wr 2472 drivers/infiniband/hw/cxgb4/qp.c init_attr->cap.max_recv_wr = qhp->attr.rq_num_entries; max_recv_wr 106 drivers/infiniband/hw/efa/efa.h u32 max_recv_wr; max_recv_wr 385 drivers/infiniband/hw/efa/efa_verbs.c qp_attr->cap.max_recv_wr = qp->max_recv_wr; max_recv_wr 575 drivers/infiniband/hw/efa/efa_verbs.c if (init_attr->cap.max_recv_wr > dev->dev_attr.max_rq_depth) { max_recv_wr 578 drivers/infiniband/hw/efa/efa_verbs.c init_attr->cap.max_recv_wr, max_recv_wr 712 drivers/infiniband/hw/efa/efa_verbs.c create_qp_params.rq_depth = init_attr->cap.max_recv_wr; max_recv_wr 750 drivers/infiniband/hw/efa/efa_verbs.c qp->max_recv_wr = init_attr->cap.max_recv_wr; max_recv_wr 686 drivers/infiniband/hw/hns/hns_roce_hw_v1.c init_attr.cap.max_recv_wr = HNS_ROCE_MIN_WQE_NUM; max_recv_wr 3436 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_wr = hr_qp->rq.wqe_cnt; max_recv_wr 3572 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_wr = hr_qp->rq.wqe_cnt; max_recv_wr 4631 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_recv_wr = hr_qp->rq.wqe_cnt; max_recv_wr 279 drivers/infiniband/hw/hns/hns_roce_qp.c if (cap->max_recv_wr > hr_dev->caps.max_wqes || max_recv_wr 282 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_wr, cap->max_recv_sge); max_recv_wr 290 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_wr = 0; max_recv_wr 293 drivers/infiniband/hw/hns/hns_roce_qp.c if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) { max_recv_wr 299 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(cap->max_recv_wr, hr_dev->caps.min_wqes); max_recv_wr 301 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = cap->max_recv_wr; max_recv_wr 321 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_wr = hr_qp->rq.max_post = hr_qp->rq.wqe_cnt; max_recv_wr 634 drivers/infiniband/hw/hns/hns_roce_qp.c !attr->cap.max_recv_wr) max_recv_wr 563 drivers/infiniband/hw/i40iw/i40iw_verbs.c rq_size = init_attr->cap.max_recv_wr; max_recv_wr 768 drivers/infiniband/hw/i40iw/i40iw_verbs.c attr->cap.max_recv_wr = qp->qp_uk.rq_size; max_recv_wr 1815 drivers/infiniband/hw/mlx4/mad.c qp_init_attr.init_attr.cap.max_recv_wr = MLX4_NUM_TUNNEL_BUFS; max_recv_wr 332 drivers/infiniband/hw/mlx4/qp.c if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE || max_recv_wr 337 drivers/infiniband/hw/mlx4/qp.c if (cap->max_recv_wr || inl_recv_sz) max_recv_wr 347 drivers/infiniband/hw/mlx4/qp.c if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || max_recv_wr 351 drivers/infiniband/hw/mlx4/qp.c qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr)); max_recv_wr 359 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt; max_recv_wr 362 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_wr = qp->rq.max_post = max_recv_wr 1210 drivers/infiniband/hw/mlx4/qp.c (init_attr->cap.max_recv_wr ? max_recv_wr 4091 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_recv_wr = qp->rq.wqe_cnt; max_recv_wr 4180 drivers/infiniband/hw/mlx4/qp.c ib_qp_init_attr.cap.max_recv_wr = init_attr->max_wr; max_recv_wr 1814 drivers/infiniband/hw/mlx5/main.c resp.max_recv_wr = 1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz); max_recv_wr 337 drivers/infiniband/hw/mlx5/qp.c if (cap->max_recv_wr > (1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz))) max_recv_wr 344 drivers/infiniband/hw/mlx5/qp.c cap->max_recv_wr = 0; max_recv_wr 360 drivers/infiniband/hw/mlx5/qp.c wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; max_recv_wr 567 drivers/infiniband/hw/mlx5/qp.c !attr->cap.max_recv_wr) max_recv_wr 2673 drivers/infiniband/hw/mlx5/qp.c if (init_attr->cap.max_recv_wr || max_recv_wr 5797 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_recv_wr = qp->rq.wqe_cnt; max_recv_wr 573 drivers/infiniband/hw/mthca/mthca_provider.c init_attr->cap.max_recv_wr = qp->rq.max; max_recv_wr 506 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->cap.max_recv_wr = qp->rq.max; max_recv_wr 1256 drivers/infiniband/hw/mthca/mthca_qp.c cap->max_recv_wr > dev->limits.max_wqes || max_recv_wr 1270 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max = cap->max_recv_wr ? max_recv_wr 1271 drivers/infiniband/hw/mthca/mthca_qp.c roundup_pow_of_two(cap->max_recv_wr) : 0; max_recv_wr 1275 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max = cap->max_recv_wr; max_recv_wr 2246 drivers/infiniband/hw/ocrdma/ocrdma_hw.c u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; max_recv_wr 2252 drivers/infiniband/hw/ocrdma/ocrdma_hw.c attrs->cap.max_recv_wr + 1); max_recv_wr 1131 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (!attrs->srq && (attrs->cap.max_recv_wr > dev->attr.max_rqe)) { max_recv_wr 1133 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, attrs->cap.max_recv_wr); max_recv_wr 1498 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp_attr->cap.max_recv_wr = qp->rq.max_cnt - 1; max_recv_wr 163 drivers/infiniband/hw/qedr/qedr_roce_cm.c if (attrs->cap.max_recv_wr > QEDR_GSI_MAX_RECV_WR) { max_recv_wr 166 drivers/infiniband/hw/qedr/qedr_roce_cm.c attrs->cap.max_recv_wr, QEDR_GSI_MAX_RECV_WR); max_recv_wr 279 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.rx_num_desc = attrs->cap.max_recv_wr; max_recv_wr 340 drivers/infiniband/hw/qedr/qedr_roce_cm.c qp->rq.max_wr = attrs->cap.max_recv_wr; max_recv_wr 347 drivers/infiniband/hw/qedr/verbs.c uresp.max_recv_wr = dev->attr.max_rqe; max_recv_wr 1851 drivers/infiniband/hw/qedr/verbs.c qp->rq.max_wr = (u16) max_t(u32, attrs->cap.max_recv_wr, 1); max_recv_wr 2405 drivers/infiniband/hw/qedr/verbs.c qp_attr->cap.max_recv_wr = qp->rq.max_wr; max_recv_wr 559 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_recv_wr; max_recv_wr 578 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_recv_wr; max_recv_wr 228 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_recv_wr = src->max_recv_wr; max_recv_wr 237 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_recv_wr = src->max_recv_wr; max_recv_wr 131 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || max_recv_wr 137 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_recv_wr)); max_recv_wr 141 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_recv_wr = qp->rq.wqe_cnt; max_recv_wr 357 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_recv_wr = init_attr->cap.max_recv_wr; max_recv_wr 371 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_send_wr, cmd->max_recv_wr, cmd->max_send_sge, max_recv_wr 250 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h u32 max_recv_wr; max_recv_wr 1090 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_recv_wr > rdi->dparms.props.max_qp_wr) max_recv_wr 1096 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_recv_wr == 0) max_recv_wr 1166 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.size = init_attr->cap.max_recv_wr + 1; max_recv_wr 1775 drivers/infiniband/sw/rdmavt/qp.c attr->cap.max_recv_wr = qp->ibqp.srq ? 0 : qp->r_rq.size - 1; max_recv_wr 61 drivers/infiniband/sw/rxe/rxe_qp.c if (cap->max_recv_wr > rxe->attr.max_qp_wr) { max_recv_wr 63 drivers/infiniband/sw/rxe/rxe_qp.c cap->max_recv_wr, rxe->attr.max_qp_wr); max_recv_wr 296 drivers/infiniband/sw/rxe/rxe_qp.c qp->rq.max_wr = init->cap.max_recv_wr; max_recv_wr 399 drivers/infiniband/sw/rxe/rxe_qp.c init->cap.max_recv_wr = qp->rq.max_wr; max_recv_wr 758 drivers/infiniband/sw/rxe/rxe_qp.c attr->cap.max_recv_wr = qp->rq.max_wr; max_recv_wr 334 drivers/infiniband/sw/siw/siw_verbs.c (attrs->cap.max_recv_wr > SIW_MAX_QP_WR) || max_recv_wr 351 drivers/infiniband/sw/siw/siw_verbs.c if (attrs->cap.max_send_wr + attrs->cap.max_recv_wr == 0) { max_recv_wr 396 drivers/infiniband/sw/siw/siw_verbs.c num_rqe = roundup_pow_of_two(attrs->cap.max_recv_wr); max_recv_wr 538 drivers/infiniband/sw/siw/siw_verbs.c qp_attr->cap.max_recv_wr = qp->attrs.rq_size; max_recv_wr 266 drivers/infiniband/ulp/ipoib/ipoib_cm.c attr.cap.max_recv_wr = ipoib_recvq_size; max_recv_wr 149 drivers/infiniband/ulp/ipoib/ipoib_verbs.c .max_recv_wr = ipoib_recvq_size, max_recv_wr 395 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS; max_recv_wr 129 drivers/infiniband/ulp/isert/ib_isert.c attr.cap.max_recv_wr = ISERT_QP_MAX_RECV_DTOS + 1; max_recv_wr 584 drivers/infiniband/ulp/srp/ib_srp.c init_attr->cap.max_recv_wr = target->queue_size + 1; max_recv_wr 1827 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_recv_wr = ch->rq_size; max_recv_wr 265 drivers/nvme/host/rdma.c init_attr.cap.max_recv_wr = queue->queue_size + 1; max_recv_wr 1019 drivers/nvme/target/rdma.c qp_attr.cap.max_recv_wr = 1 + queue->recv_queue_size; max_recv_wr 1679 fs/cifs/smbdirect.c qp_attr.cap.max_recv_wr = info->receive_credit_max; max_recv_wr 1046 include/rdma/ib_verbs.h u32 max_recv_wr; max_recv_wr 248 include/uapi/linux/rds.h __u32 max_recv_wr; max_recv_wr 264 include/uapi/linux/rds.h __u32 max_recv_wr; max_recv_wr 540 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_wr; max_recv_wr 569 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_wr; max_recv_wr 609 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_wr; max_recv_wr 638 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_wr; max_recv_wr 682 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_wr; max_recv_wr 135 include/uapi/rdma/mlx5-abi.h __u32 max_recv_wr; max_recv_wr 47 include/uapi/rdma/qedr-abi.h __u32 max_recv_wr; max_recv_wr 704 net/9p/trans_rdma.c qp_attr.cap.max_recv_wr = opts.rq_depth; max_recv_wr 319 net/rds/ib.c iinfo->max_recv_wr = ic->i_recv_ring.w_nr; max_recv_wr 356 net/rds/ib.c iinfo6->max_recv_wr = ic->i_recv_ring.w_nr; max_recv_wr 532 net/rds/ib_cm.c attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; max_recv_wr 339 net/smc/smc_ib.c .max_recv_wr = SMC_WR_BUF_CNT * 3, max_recv_wr 460 net/smc/smc_wr.c lnk->qp_attr.cap.max_recv_wr); max_recv_wr 277 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_recv_wr = ep->rep_max_requests; max_recv_wr 278 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_recv_wr += RPCRDMA_BACKWARD_WRS; max_recv_wr 279 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_recv_wr += 1; /* for ib_drain_rq */ max_recv_wr 474 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_recv_wr = rq_depth; max_recv_wr 484 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_send_wr, qp_attr.cap.max_recv_wr); max_recv_wr 514 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_recv_wr, max_recv_wr 532 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_recv_wr + 1,