max_send_wr 3157 drivers/infiniband/core/mad.c qp_init_attr.cap.max_send_wr = mad_sendq_size; max_send_wr 679 drivers/infiniband/core/rw.c attr->cap.max_send_wr += factor * attr->cap.max_rdma_ctxs; max_send_wr 685 drivers/infiniband/core/rw.c attr->cap.max_send_wr = max_send_wr 686 drivers/infiniband/core/rw.c min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr); max_send_wr 1315 drivers/infiniband/core/uverbs_cmd.c if (ind_tbl && !cmd->max_send_wr) max_send_wr 1386 drivers/infiniband/core/uverbs_cmd.c attr.cap.max_send_wr = cmd->max_send_wr; max_send_wr 1456 drivers/infiniband/core/uverbs_cmd.c resp.base.max_send_wr = attr.cap.max_send_wr; max_send_wr 1520 drivers/infiniband/core/uverbs_cmd.c cmd_ex.max_send_wr = cmd.max_send_wr; max_send_wr 1707 drivers/infiniband/core/uverbs_cmd.c resp.max_send_wr = init_attr->cap.max_send_wr; max_send_wr 110 drivers/infiniband/core/uverbs_marshall.c dst->max_send_wr = src->cap.max_send_wr; max_send_wr 1013 drivers/infiniband/hw/bnxt_re/ib_verbs.c if ((qp_init_attr->cap.max_send_wr > dev_attr->max_qp_wqes) || max_send_wr 1103 drivers/infiniband/hw/bnxt_re/ib_verbs.c entries = roundup_pow_of_two(qp_init_attr->cap.max_send_wr + 1); max_send_wr 1107 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_init_attr->cap.max_send_wr; max_send_wr 1148 drivers/infiniband/hw/bnxt_re/ib_verbs.c entries = roundup_pow_of_two(qp_init_attr->cap.max_send_wr + max_send_wr 1727 drivers/infiniband/hw/bnxt_re/ib_verbs.c if ((qp_attr->cap.max_send_wr >= dev_attr->max_qp_wqes) || max_send_wr 1737 drivers/infiniband/hw/bnxt_re/ib_verbs.c entries = roundup_pow_of_two(qp_attr->cap.max_send_wr); max_send_wr 1741 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->cap.max_send_wr; max_send_wr 1821 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->cap.max_send_wr = qp->qplib_qp.sq.max_wqe; max_send_wr 738 drivers/infiniband/hw/cxgb3/iwch_provider.c sqsize = roundup_pow_of_two(attrs->cap.max_send_wr); max_send_wr 749 drivers/infiniband/hw/cxgb3/iwch_provider.c roundup_pow_of_two(attrs->cap.max_send_wr * 2)); max_send_wr 765 drivers/infiniband/hw/cxgb3/iwch_provider.c attrs->cap.max_send_wr = sqsize; max_send_wr 772 drivers/infiniband/hw/cxgb3/iwch_provider.c qhp->attr.sq_num_entries = attrs->cap.max_send_wr; max_send_wr 2150 drivers/infiniband/hw/cxgb4/qp.c if (attrs->cap.max_send_wr > rhp->rdev.hw_queue.t4_max_sq_size) max_send_wr 2152 drivers/infiniband/hw/cxgb4/qp.c sqsize = attrs->cap.max_send_wr + 1; max_send_wr 2192 drivers/infiniband/hw/cxgb4/qp.c attrs->cap.max_send_wr = sqsize - 1; max_send_wr 2199 drivers/infiniband/hw/cxgb4/qp.c qhp->attr.sq_num_entries = attrs->cap.max_send_wr; max_send_wr 2340 drivers/infiniband/hw/cxgb4/qp.c attrs->cap.max_send_wr, qhp->wq.rq.qid, qhp->wq.rq.size, max_send_wr 2471 drivers/infiniband/hw/cxgb4/qp.c init_attr->cap.max_send_wr = qhp->attr.sq_num_entries; max_send_wr 105 drivers/infiniband/hw/efa/efa.h u32 max_send_wr; max_send_wr 384 drivers/infiniband/hw/efa/efa_verbs.c qp_attr->cap.max_send_wr = qp->max_send_wr; max_send_wr 568 drivers/infiniband/hw/efa/efa_verbs.c if (init_attr->cap.max_send_wr > dev->dev_attr.max_sq_depth) { max_send_wr 571 drivers/infiniband/hw/efa/efa_verbs.c init_attr->cap.max_send_wr, max_send_wr 709 drivers/infiniband/hw/efa/efa_verbs.c create_qp_params.sq_depth = init_attr->cap.max_send_wr; max_send_wr 749 drivers/infiniband/hw/efa/efa_verbs.c qp->max_send_wr = init_attr->cap.max_send_wr; max_send_wr 687 drivers/infiniband/hw/hns/hns_roce_hw_v1.c init_attr.cap.max_send_wr = HNS_ROCE_MIN_WQE_NUM; max_send_wr 3438 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; max_send_wr 3576 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; max_send_wr 3579 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_wr = 0; max_send_wr 4635 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_send_wr = hr_qp->sq.wqe_cnt; max_send_wr 4638 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_send_wr = 0; max_send_wr 560 drivers/infiniband/hw/hns/hns_roce_qp.c if (cap->max_send_wr > hr_dev->caps.max_wqes || max_send_wr 570 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(cap->max_send_wr, hr_dev->caps.min_wqes); max_send_wr 572 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = cap->max_send_wr; max_send_wr 613 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_send_wr = hr_qp->sq.max_post = hr_qp->sq.wqe_cnt; max_send_wr 624 drivers/infiniband/hw/hns/hns_roce_qp.c if (attr->qp_type == IB_QPT_XRC_TGT || !attr->cap.max_send_wr) max_send_wr 562 drivers/infiniband/hw/i40iw/i40iw_verbs.c sq_size = init_attr->cap.max_send_wr; max_send_wr 767 drivers/infiniband/hw/i40iw/i40iw_verbs.c attr->cap.max_send_wr = qp->qp_uk.sq_size; max_send_wr 1814 drivers/infiniband/hw/mlx4/mad.c qp_init_attr.init_attr.cap.max_send_wr = MLX4_NUM_TUNNEL_BUFS; max_send_wr 378 drivers/infiniband/hw/mlx4/qp.c if (cap->max_send_wr > (dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE) || max_send_wr 407 drivers/infiniband/hw/mlx4/qp.c qp->sq.wqe_cnt = roundup_pow_of_two(cap->max_send_wr + max_send_wr 426 drivers/infiniband/hw/mlx4/qp.c cap->max_send_wr = qp->sq.max_post = max_send_wr 752 drivers/infiniband/hw/mlx4/qp.c if (init_attr->send_cq || init_attr->cap.max_send_wr) { max_send_wr 1208 drivers/infiniband/hw/mlx4/qp.c (init_attr->cap.max_send_wr ? max_send_wr 4095 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_send_wr = qp->sq.wqe_cnt; max_send_wr 4098 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_send_wr = 0; max_send_wr 81 drivers/infiniband/hw/mlx5/gsi.c wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr]; max_send_wr 145 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr, max_send_wr 171 drivers/infiniband/hw/mlx5/gsi.c gsi->cq = ib_alloc_cq(pd->device, gsi, init_attr->cap.max_send_wr, 0, max_send_wr 183 drivers/infiniband/hw/mlx5/gsi.c hw_init_attr.cap.max_send_wr = 0; max_send_wr 260 drivers/infiniband/hw/mlx5/gsi.c .max_send_wr = gsi->cap.max_send_wr, max_send_wr 420 drivers/infiniband/hw/mlx5/gsi.c if (gsi->outstanding_pi == gsi->outstanding_ci + gsi->cap.max_send_wr) { max_send_wr 426 drivers/infiniband/hw/mlx5/gsi.c gsi->cap.max_send_wr]; max_send_wr 4837 drivers/infiniband/hw/mlx5/main.c init_attr->cap.max_send_wr = MAX_UMR_WR; max_send_wr 482 drivers/infiniband/hw/mlx5/qp.c if (!attr->cap.max_send_wr) max_send_wr 500 drivers/infiniband/hw/mlx5/qp.c wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); max_send_wr 504 drivers/infiniband/hw/mlx5/qp.c attr->cap.max_send_wr, wqe_size, MLX5_SEND_WQE_BB, max_send_wr 516 drivers/infiniband/hw/mlx5/qp.c attr->cap.max_send_wr = qp->sq.max_post; max_send_wr 5801 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_send_wr = qp->sq.max_post; max_send_wr 5805 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_send_wr = 0; max_send_wr 572 drivers/infiniband/hw/mthca/mthca_provider.c init_attr->cap.max_send_wr = qp->sq.max; max_send_wr 505 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->cap.max_send_wr = qp->sq.max; max_send_wr 1255 drivers/infiniband/hw/mthca/mthca_qp.c if (cap->max_send_wr > dev->limits.max_wqes || max_send_wr 1272 drivers/infiniband/hw/mthca/mthca_qp.c qp->sq.max = cap->max_send_wr ? max_send_wr 1273 drivers/infiniband/hw/mthca/mthca_qp.c roundup_pow_of_two(cap->max_send_wr) : 0; max_send_wr 1276 drivers/infiniband/hw/mthca/mthca_qp.c qp->sq.max = cap->max_send_wr; max_send_wr 2195 drivers/infiniband/hw/ocrdma/ocrdma_hw.c max_wqe_allocated = min_t(u32, attrs->cap.max_send_wr + 1, max_send_wr 1124 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c (attrs->cap.max_send_wr > dev->attr.max_wqe)) { max_send_wr 1126 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, attrs->cap.max_send_wr); max_send_wr 1497 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp_attr->cap.max_send_wr = qp->sq.max_cnt - 1; max_send_wr 170 drivers/infiniband/hw/qedr/qedr_roce_cm.c if (attrs->cap.max_send_wr > QEDR_GSI_MAX_SEND_WR) { max_send_wr 173 drivers/infiniband/hw/qedr/qedr_roce_cm.c attrs->cap.max_send_wr, QEDR_GSI_MAX_SEND_WR); max_send_wr 282 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.tx_num_desc = attrs->cap.max_send_wr; max_send_wr 341 drivers/infiniband/hw/qedr/qedr_roce_cm.c qp->sq.max_wr = attrs->cap.max_send_wr; max_send_wr 346 drivers/infiniband/hw/qedr/verbs.c uresp.max_send_wr = dev->attr.max_sqe; max_send_wr 1085 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_send_wr > qattr->max_sqe) { max_send_wr 1088 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_send_wr, qattr->max_sqe); max_send_wr 1833 drivers/infiniband/hw/qedr/verbs.c qp->sq.max_wr = min_t(u32, attrs->cap.max_send_wr * dev->wq_multiplier, max_send_wr 1865 drivers/infiniband/hw/qedr/verbs.c n_sq_entries = attrs->cap.max_send_wr; max_send_wr 2404 drivers/infiniband/hw/qedr/verbs.c qp_attr->cap.max_send_wr = qp->sq.max_wr; max_send_wr 558 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_send_wr; max_send_wr 577 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_send_wr; max_send_wr 227 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_send_wr = src->max_send_wr; max_send_wr 236 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_send_wr = src->max_send_wr; max_send_wr 156 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || max_send_wr 162 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->sq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_send_wr)); max_send_wr 166 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_send_wr = qp->sq.wqe_cnt; max_send_wr 356 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_send_wr = init_attr->cap.max_send_wr; max_send_wr 371 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_send_wr, cmd->max_recv_wr, cmd->max_send_sge, max_send_wr 249 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h u32 max_send_wr; max_send_wr 1082 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_send_wr > rdi->dparms.props.max_qp_wr || max_send_wr 1094 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_send_wr + max_send_wr 1100 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_send_wr + 1 + max_send_wr 1192 drivers/infiniband/sw/rdmavt/qp.c qp->s_avail = init_attr->cap.max_send_wr; max_send_wr 1773 drivers/infiniband/sw/rdmavt/qp.c attr->cap.max_send_wr = qp->s_size - 1 - max_send_wr 48 drivers/infiniband/sw/rxe/rxe_qp.c if (cap->max_send_wr > rxe->attr.max_qp_wr) { max_send_wr 50 drivers/infiniband/sw/rxe/rxe_qp.c cap->max_send_wr, rxe->attr.max_qp_wr); max_send_wr 241 drivers/infiniband/sw/rxe/rxe_qp.c qp->sq.max_wr = init->cap.max_send_wr; max_send_wr 394 drivers/infiniband/sw/rxe/rxe_qp.c init->cap.max_send_wr = qp->sq.max_wr; max_send_wr 753 drivers/infiniband/sw/rxe/rxe_qp.c attr->cap.max_send_wr = qp->sq.max_wr; max_send_wr 333 drivers/infiniband/sw/siw/siw_verbs.c if ((attrs->cap.max_send_wr > SIW_MAX_QP_WR) || max_send_wr 351 drivers/infiniband/sw/siw/siw_verbs.c if (attrs->cap.max_send_wr + attrs->cap.max_recv_wr == 0) { max_send_wr 395 drivers/infiniband/sw/siw/siw_verbs.c num_sqe = roundup_pow_of_two(attrs->cap.max_send_wr); max_send_wr 536 drivers/infiniband/sw/siw/siw_verbs.c qp_attr->cap.max_send_wr = qp->attrs.sq_size; max_send_wr 258 drivers/infiniband/ulp/ipoib/ipoib_cm.c .cap.max_send_wr = 1, /* For drain WR */ max_send_wr 1064 drivers/infiniband/ulp/ipoib/ipoib_cm.c .cap.max_send_wr = ipoib_sendq_size, max_send_wr 148 drivers/infiniband/ulp/ipoib/ipoib_verbs.c .max_send_wr = ipoib_sendq_size, max_send_wr 401 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.cap.max_send_wr = ISER_QP_SIG_MAX_REQ_DTOS + 1; max_send_wr 407 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.cap.max_send_wr = ISER_QP_MAX_REQ_DTOS + 1; max_send_wr 411 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.cap.max_send_wr = ib_dev->attrs.max_qp_wr; max_send_wr 128 drivers/infiniband/ulp/isert/ib_isert.c attr.cap.max_send_wr = ISERT_QP_MAX_REQ_DTOS + 1; max_send_wr 583 drivers/infiniband/ulp/srp/ib_srp.c init_attr->cap.max_send_wr = m * target->queue_size; max_send_wr 1817 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); max_send_wr 1861 drivers/infiniband/ulp/srpt/ib_srpt.c atomic_set(&ch->sq_wr_avail, qp_init->cap.max_send_wr); max_send_wr 1865 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_send_wr, ch); max_send_wr 46 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c u32 max_send_wr; max_send_wr 131 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dr_qp->sq.wqe_cnt = roundup_pow_of_two(attr->max_send_wr); max_send_wr 884 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c init_attr.max_send_wr = QUEUE_SIZE; max_send_wr 894 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dmn->info.max_send_wr = QUEUE_SIZE; max_send_wr 898 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dmn->send_ring->signal_th = dmn->info.max_send_wr / max_send_wr 635 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u32 max_send_wr; max_send_wr 263 drivers/nvme/host/rdma.c init_attr.cap.max_send_wr = factor * queue->queue_size + 1; max_send_wr 1010 drivers/nvme/target/rdma.c qp_attr.cap.max_send_wr = queue->send_queue_size + 1; max_send_wr 1029 drivers/nvme/target/rdma.c atomic_set(&queue->sq_wr_avail, qp_attr.cap.max_send_wr); max_send_wr 1033 drivers/nvme/target/rdma.c qp_attr.cap.max_send_wr, queue->cm_id); max_send_wr 1678 fs/cifs/smbdirect.c qp_attr.cap.max_send_wr = info->send_credit_target; max_send_wr 1045 include/rdma/ib_verbs.h u32 max_send_wr; max_send_wr 247 include/uapi/linux/rds.h __u32 max_send_wr; max_send_wr 263 include/uapi/linux/rds.h __u32 max_send_wr; max_send_wr 539 include/uapi/rdma/ib_user_verbs.h __u32 max_send_wr; max_send_wr 568 include/uapi/rdma/ib_user_verbs.h __u32 max_send_wr; max_send_wr 608 include/uapi/rdma/ib_user_verbs.h __u32 max_send_wr; max_send_wr 637 include/uapi/rdma/ib_user_verbs.h __u32 max_send_wr; max_send_wr 681 include/uapi/rdma/ib_user_verbs.h __u32 max_send_wr; max_send_wr 46 include/uapi/rdma/qedr-abi.h __u32 max_send_wr; max_send_wr 703 net/9p/trans_rdma.c qp_attr.cap.max_send_wr = opts.sq_depth; max_send_wr 318 net/rds/ib.c iinfo->max_send_wr = ic->i_send_ring.w_nr; max_send_wr 355 net/rds/ib.c iinfo6->max_send_wr = ic->i_send_ring.w_nr; max_send_wr 531 net/rds/ib_cm.c attr.cap.max_send_wr = ic->i_send_ring.w_nr + fr_queue_space + 1; max_send_wr 338 net/smc/smc_ib.c .max_send_wr = SMC_WR_BUF_CNT * 3, max_send_wr 458 net/smc/smc_wr.c lnk->qp_attr.cap.max_send_wr); max_send_wr 268 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_send_wr = ep->rep_max_requests * depth; max_send_wr 269 net/sunrpc/xprtrdma/frwr_ops.c if (ep->rep_attr.cap.max_send_wr > max_qp_wr) { max_send_wr 273 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_send_wr = ep->rep_max_requests * depth; max_send_wr 275 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_send_wr += RPCRDMA_BACKWARD_WRS; max_send_wr 276 net/sunrpc/xprtrdma/frwr_ops.c ep->rep_attr.cap.max_send_wr += 1; /* for ib_drain_sq */ max_send_wr 473 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_send_wr = newxprt->sc_sq_depth - ctxts; max_send_wr 484 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_send_wr, qp_attr.cap.max_recv_wr); max_send_wr 513 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_send_wr, max_send_wr 524 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_send_wr + 1,