/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_srq.c | 21 if (attr->max_wr > rxe->attr.max_srq_wr) { in rxe_srq_chk_attr() 23 attr->max_wr, rxe->attr.max_srq_wr); in rxe_srq_chk_attr() 27 if (attr->max_wr <= 0) { in rxe_srq_chk_attr() 28 pr_warn("max_wr(%d) <= 0\n", attr->max_wr); in rxe_srq_chk_attr() 32 if (srq && srq->limit && (attr->max_wr < srq->limit)) { in rxe_srq_chk_attr() 34 attr->max_wr, srq->limit); in rxe_srq_chk_attr() 38 if (attr->max_wr < RXE_MIN_SRQ_WR) in rxe_srq_chk_attr() 39 attr->max_wr = RXE_MIN_SRQ_WR; in rxe_srq_chk_attr() 86 srq->rq.max_wr = init->attr.max_wr; in rxe_srq_from_init() 94 q = rxe_queue_init(rxe, &srq->rq.max_wr, in rxe_srq_from_init() [all …]
|
D | rxe_qp.c | 220 qp->sq.max_wr = init->cap.max_send_wr; in rxe_qp_init_req() 230 qp->sq.queue = rxe_queue_init(rxe, &qp->sq.max_wr, wqe_size); in rxe_qp_init_req() 274 qp->rq.max_wr = init->cap.max_recv_wr; in rxe_qp_init_resp() 280 qp_num(qp), qp->rq.max_wr, qp->rq.max_sge, wqe_size); in rxe_qp_init_resp() 283 &qp->rq.max_wr, in rxe_qp_init_resp() 375 init->cap.max_send_wr = qp->sq.max_wr; in rxe_qp_to_init() 380 init->cap.max_recv_wr = qp->rq.max_wr; in rxe_qp_to_init() 734 attr->cap.max_send_wr = qp->sq.max_wr; in rxe_qp_to_attr() 739 attr->cap.max_recv_wr = qp->rq.max_wr; in rxe_qp_to_attr()
|
D | rxe_verbs.h | 80 int max_wr; member 88 int max_wr; member
|
D | rxe_verbs.c | 337 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | srq.c | 89 srq_init_attr->attr.max_wr == 0 || in rvt_create_srq() 90 srq_init_attr->attr.max_wr > dev->dparms.props.max_srq_wr) in rvt_create_srq() 96 srq->rq.size = srq_init_attr->attr.max_wr + 1; in rvt_create_srq() 182 if ((attr->max_wr > dev->dparms.props.max_srq_wr) || in rvt_modify_srq() 184 attr->srq_limit : srq->limit) > attr->max_wr) in rvt_modify_srq() 188 size = attr->max_wr + 1; in rvt_modify_srq() 324 attr->max_wr = srq->rq.size - 1; in rvt_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 85 srq_attr->max_wr = resp->attrs.max_wr; in pvrdma_query_srq() 127 if (init_attr->attr.max_wr > dev->dsr->caps.max_srq_wr || in pvrdma_create_srq() 178 cmd->attrs.max_wr = init_attr->attr.max_wr; in pvrdma_create_srq()
|
D | pvrdma_verbs.h | 328 u32 max_wr; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_wq.c | 52 ret = uverbs_copy_from(&wq_init_attr.max_wr, attrs, in UVERBS_HANDLER() 93 &wq_init_attr.max_wr, in UVERBS_HANDLER() 94 sizeof(wq_init_attr.max_wr)); in UVERBS_HANDLER()
|
D | uverbs_std_types_srq.c | 53 ret = uverbs_copy_from(&attr.attr.max_wr, attrs, in UVERBS_HANDLER() 117 &attr.attr.max_wr, in UVERBS_HANDLER() 118 sizeof(attr.attr.max_wr)); in UVERBS_HANDLER()
|
D | uverbs_cmd.c | 2908 wq_init_attr.max_wr = cmd.max_wr; in ib_uverbs_ex_create_wq() 2941 resp.max_wr = wq_init_attr.max_wr; in ib_uverbs_ex_create_wq() 3399 attr.attr.max_wr = cmd->max_wr; in __uverbs_create_xsrq() 3432 resp.max_wr = attr.attr.max_wr; in __uverbs_create_xsrq() 3469 xcmd.max_wr = cmd.max_wr; in ib_uverbs_create_srq() 3503 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq() 3541 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | srq.c | 90 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq() 96 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx4_ib_create_srq() 195 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx4_ib_create_srq() 258 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 215 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq() 219 srq->max = attr->max_wr; in mthca_alloc_srq() 297 attr->max_wr = srq->max - 1; in mthca_alloc_srq() 384 u32 max_wr = mthca_is_memfree(dev) ? srq->max - 1 : srq->max; in mthca_modify_srq() local 385 if (attr->srq_limit > max_wr) in mthca_modify_srq() 421 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/ |
D | ib_user_verbs.h | 972 __u32 max_wr; member 982 __u32 max_wr; member 992 __u32 max_wr; member 1000 __u32 max_wr; member 1011 __u32 max_wr; member 1030 __u32 max_wr; member 1039 __u32 max_wr; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
D | ib_user_verbs.h | 951 __u32 max_wr; member 961 __u32 max_wr; member 971 __u32 max_wr; member 978 __u32 max_wr; member 989 __u32 max_wr; member 1008 __u32 max_wr; member 1017 __u32 max_wr; member
|
/kernel/linux/linux-5.10/include/uapi/rdma/ |
D | ib_user_verbs.h | 1175 __u32 max_wr; member 1186 __u32 max_wr; member 1197 __u32 max_wr; member 1206 __u32 max_wr; member 1219 __u32 max_wr; member 1241 __u32 max_wr; member 1251 __u32 max_wr; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | srq.c | 230 if (init_attr->attr.max_wr >= max_srq_wqes) { in mlx5_ib_create_srq() 232 init_attr->attr.max_wr, in mlx5_ib_create_srq() 239 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx5_ib_create_srq() 326 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx5_ib_create_srq() 384 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr.h | 329 u16 max_wr; member 347 u32 max_wr; member 520 info->cons = (info->cons + 1) % info->max_wr; in qedr_inc_sw_cons() 526 info->prod = (info->prod + 1) % info->max_wr; in qedr_inc_sw_prod()
|
D | qedr_roce_cm.c | 55 info->gsi_cons = (info->gsi_cons + 1) % info->max_wr; in qedr_inc_sw_gsi_cons() 340 qp->rq.max_wr = attrs->cap.max_recv_wr; in qedr_create_gsi_qp() 341 qp->sq.max_wr = attrs->cap.max_send_wr; in qedr_create_gsi_qp() 343 qp->rqe_wr_id = kcalloc(qp->rq.max_wr, sizeof(*qp->rqe_wr_id), in qedr_create_gsi_qp() 347 qp->wqe_wr_id = kcalloc(qp->sq.max_wr, sizeof(*qp->wqe_wr_id), in qedr_create_gsi_qp()
|
D | verbs.c | 105 srq_attr->max_wr = qattr->max_srq_wr; in qedr_query_srq() 1416 if (attrs->attr.max_wr > qattr->max_srq_wr) { in qedr_check_srq_params() 1419 attrs->attr.max_wr, qattr->max_srq_wr); in qedr_check_srq_params() 1514 num_elems = init_attr->attr.max_wr * RDMA_MAX_SRQ_WQE_SIZE; in qedr_alloc_srq_kernel_params() 1559 hw_srq->max_wr = init_attr->attr.max_wr; in qedr_create_srq() 1677 if (attr->srq_limit >= srq->hw_srq.max_wr) { in qedr_modify_srq() 1680 attr->srq_limit, srq->hw_srq.max_wr); in qedr_modify_srq() 1921 qp->sq.max_wr = attrs->cap.max_send_wr; in qedr_create_user_qp() 1932 qp->rq.max_wr = attrs->cap.max_recv_wr; in qedr_create_user_qp() 2163 qp->sq.max_wr = min_t(u32, attrs->cap.max_send_wr * dev->wq_multiplier, in qedr_create_kernel_qp() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 297 if (init_attr->attr.max_wr >= hr_dev->caps.max_srq_wrs || in hns_roce_create_srq() 304 srq->wqe_cnt = roundup_pow_of_two(init_attr->attr.max_wr + 1); in hns_roce_create_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 1600 if (attrs->max_wr == 0 || attrs->max_wr > SIW_MAX_SRQ_WR || in siw_create_srq() 1601 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq() 1606 srq->num_rqe = roundup_pow_of_two(attrs->max_wr); in siw_create_srq() 1715 attrs->max_wr = srq->num_rqe; in siw_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 2692 if (attrs->attr.max_wr > rhp->rdev.hw_queue.t4_max_rq_size) in c4iw_create_srq() 2700 rqsize = attrs->attr.max_wr + 1; in c4iw_create_srq() 2737 attrs->attr.max_wr = rqsize - 1; in c4iw_create_srq() 2781 (unsigned long)srq->wq.memsize, attrs->attr.max_wr); in c4iw_create_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 2761 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq() 2767 srq_attr->attr.max_wr); in ocrdma_mbx_create_srq() 2853 srq_attr->max_wr = in ocrdma_mbx_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 1637 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq() 1654 entries = roundup_pow_of_two(srq_init_attr->attr.max_wr + 1); in bnxt_re_create_srq() 1755 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_verbs.h | 1039 u32 max_wr; member 1662 u32 max_wr; member
|