Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rxe/
Drxe_srq.c43 if (attr->srq_limit > rxe->attr.max_srq_wr) { in rxe_srq_chk_attr()
45 attr->srq_limit, rxe->attr.max_srq_wr); in rxe_srq_chk_attr()
49 if (srq && (attr->srq_limit > srq->rq.queue->buf->index_mask)) { in rxe_srq_chk_attr()
51 attr->srq_limit, in rxe_srq_chk_attr()
85 srq->limit = init->attr.srq_limit; in rxe_srq_from_init()
148 srq->limit = attr->srq_limit; in rxe_srq_from_attr()
Drxe_verbs.c340 attr->srq_limit = srq->limit; in rxe_query_srq()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c84 srq_attr->srq_limit = resp->attrs.srq_limit; in pvrdma_query_srq()
180 cmd->attrs.srq_limit = init_attr->attr.srq_limit; in pvrdma_create_srq()
290 cmd->attrs.srq_limit = attr->srq_limit; in pvrdma_modify_srq()
Dpvrdma_verbs.h295 u32 srq_limit; member
/drivers/infiniband/sw/rdmavt/
Dsrq.c87 srq->limit = srq_init_attr->attr.srq_limit; in rvt_create_srq()
142 attr->srq_limit : srq->limit) > attr->max_wr) in rvt_modify_srq()
221 srq->limit = attr->srq_limit; in rvt_modify_srq()
257 if (attr->srq_limit >= srq->rq.size) in rvt_modify_srq()
260 srq->limit = attr->srq_limit; in rvt_modify_srq()
285 attr->srq_limit = srq->limit; in rvt_query_srq()
/drivers/infiniband/hw/mlx4/
Dsrq.c236 if (attr->srq_limit >= srq->msrq.max) in mlx4_ib_modify_srq()
240 ret = mlx4_srq_arm(dev->dev, &srq->msrq, attr->srq_limit); in mlx4_ib_modify_srq()
261 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
/drivers/infiniband/hw/mthca/
Dmthca_srq.c385 if (attr->srq_limit > max_wr) in mthca_modify_srq()
389 ret = mthca_ARM_SRQ(dev, srq->srqn, attr->srq_limit); in mthca_modify_srq()
415 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq()
418 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
/drivers/infiniband/hw/mlx5/
Dsrq.c334 if (attr->srq_limit >= srq->msrq.max) in mlx5_ib_modify_srq()
338 ret = mlx5_cmd_arm_srq(dev, &srq->msrq, attr->srq_limit, 1); in mlx5_ib_modify_srq()
363 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq()
/drivers/infiniband/sw/siw/
Dsiw_verbs.c1609 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq()
1615 srq->limit = attrs->srq_limit; in siw_create_srq()
1694 if (attrs->srq_limit) { in siw_modify_srq()
1695 if (unlikely(attrs->srq_limit > srq->num_rqe)) { in siw_modify_srq()
1703 srq->limit = attrs->srq_limit; in siw_modify_srq()
1725 attrs->srq_limit = srq->limit; in siw_query_srq()
/drivers/infiniband/core/
Duverbs_std_types_srq.c56 ret = uverbs_copy_from(&attr.attr.srq_limit, attrs, in UVERBS_HANDLER()
Duverbs_cmd.c3417 attr.attr.srq_limit = cmd->srq_limit; in __uverbs_create_xsrq()
3487 xcmd.srq_limit = cmd.srq_limit; in ib_uverbs_create_srq()
3520 attr.srq_limit = cmd.srq_limit; in ib_uverbs_modify_srq()
3559 resp.srq_limit = attr.srq_limit; in ib_uverbs_query_srq()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h74 u32 srq_limit; member
Dib_verbs.c1654 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1655 srq->srq_limit = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1711 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1714 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq()
1721 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq()
1748 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
Droce_hsi.h2412 __le16 srq_limit; member
Dqplib_fp.c750 srq->threshold = le16_to_cpu(sb->srq_limit); in bnxt_qplib_query_srq()
/drivers/infiniband/hw/hns/
Dhns_roce_srq.c311 attr->srq_limit = 0; in set_srq_basic_param()
Dhns_roce_hw_v2.c5448 if (srq_attr->srq_limit > srq->wqe_cnt) in hns_roce_v2_modify_srq()
5460 hr_reg_write(srq_context, SRQC_LIMIT_WL, srq_attr->srq_limit); in hns_roce_v2_modify_srq()
5501 attr->srq_limit = hr_reg_read(srq_context, SRQC_LIMIT_WL); in hns_roce_v2_query_srq()
/drivers/infiniband/hw/qedr/
Dqedr.h368 u32 srq_limit; member
Dverbs.c104 srq_attr->srq_limit = srq->srq_limit; in qedr_query_srq()
1700 if (attr->srq_limit >= srq->hw_srq.max_wr) { in qedr_modify_srq()
1703 attr->srq_limit, srq->hw_srq.max_wr); in qedr_modify_srq()
1708 in_params.wqe_limit = attr->srq_limit; in qedr_modify_srq()
1714 srq->srq_limit = attr->srq_limit; in qedr_modify_srq()
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h508 u32 srq_limit; member
Dcq.c778 srq->wq.in_use < srq->srq_limit) in __c4iw_poll_cq_one()
Dqp.c2449 srq->srq_limit = attr->srq_limit; in c4iw_modify_srq()
/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2829 cmd->limit_max_rqe |= srq_attr->srq_limit << in ocrdma_mbx_modify_srq()
2855 srq_attr->srq_limit = rsp->srq_lmt_max_sge >> in ocrdma_mbx_query_srq()
Docrdma_verbs.c1808 if (init_attr->attr.srq_limit) { in ocrdma_create_srq()
/drivers/nvme/target/
Drdma.c1100 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq()