Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_srq.c55 srq->limit = init->attr.srq_limit; in rxe_srq_from_init()
124 if (attr->srq_limit > rxe->attr.max_srq_wr) { in rxe_srq_chk_attr()
126 attr->srq_limit, rxe->attr.max_srq_wr); in rxe_srq_chk_attr()
130 if (attr->srq_limit > srq->rq.queue->buf->index_mask) { in rxe_srq_chk_attr()
132 attr->srq_limit, in rxe_srq_chk_attr()
168 srq->limit = attr->srq_limit; in rxe_srq_from_attr()
Drxe_verbs.c361 attr->srq_limit = srq->limit; in rxe_query_srq()
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dsrq.c333 if (attr->srq_limit >= srq->msrq.max) in mlx5_ib_modify_srq()
337 ret = mlx5_cmd_arm_srq(dev, &srq->msrq, attr->srq_limit, 1); in mlx5_ib_modify_srq()
362 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq()
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h1163 __u32 srq_limit; member
1174 __u32 srq_limit; member
1193 __u32 srq_limit; member
1207 __u32 srq_limit; member
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c1611 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq()
1617 srq->limit = attrs->srq_limit; in siw_create_srq()
1696 if (attrs->srq_limit) { in siw_modify_srq()
1697 if (unlikely(attrs->srq_limit > srq->num_rqe)) { in siw_modify_srq()
1705 srq->limit = attrs->srq_limit; in siw_modify_srq()
1727 attrs->srq_limit = srq->limit; in siw_query_srq()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h74 u32 srq_limit; member
Dib_verbs.c1647 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1648 srq->srq_limit = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1704 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1707 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq()
1714 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq()
1742 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
Droce_hsi.h2417 __le16 srq_limit; member
/linux-6.1.9/drivers/infiniband/core/
Duverbs_std_types_srq.c56 ret = uverbs_copy_from(&attr.attr.srq_limit, attrs, in UVERBS_HANDLER()
Duverbs_cmd.c3411 attr.attr.srq_limit = cmd->srq_limit; in __uverbs_create_xsrq()
3481 xcmd.srq_limit = cmd.srq_limit; in ib_uverbs_create_srq()
3514 attr.srq_limit = cmd.srq_limit; in ib_uverbs_modify_srq()
3553 resp.srq_limit = attr.srq_limit; in ib_uverbs_query_srq()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr.h368 u32 srq_limit; member
Dverbs.c104 srq_attr->srq_limit = srq->srq_limit; in qedr_query_srq()
1691 if (attr->srq_limit >= srq->hw_srq.max_wr) { in qedr_modify_srq()
1694 attr->srq_limit, srq->hw_srq.max_wr); in qedr_modify_srq()
1699 in_params.wqe_limit = attr->srq_limit; in qedr_modify_srq()
1705 srq->srq_limit = attr->srq_limit; in qedr_modify_srq()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_srq.c312 attr->srq_limit = 0; in set_srq_basic_param()
Dhns_roce_hw_v2.c5776 if (srq_attr->srq_limit > srq->wqe_cnt) in hns_roce_v2_modify_srq()
5788 hr_reg_write(srq_context, SRQC_LIMIT_WL, srq_attr->srq_limit); in hns_roce_v2_modify_srq()
5827 attr->srq_limit = hr_reg_read(srq_context, SRQC_LIMIT_WL); in hns_roce_v2_query_srq()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h507 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()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2825 cmd->limit_max_rqe |= srq_attr->srq_limit << in ocrdma_mbx_modify_srq()
2851 srq_attr->srq_limit = rsp->srq_lmt_max_sge >> in ocrdma_mbx_query_srq()
/linux-6.1.9/drivers/nvme/target/
Drdma.c1101 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq()
/linux-6.1.9/include/rdma/
Dib_verbs.h1059 u32 srq_limit; member

12