Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_srq.c70 if (attr->srq_limit > rxe->attr.max_srq_wr) { in rxe_srq_chk_attr()
72 attr->srq_limit, rxe->attr.max_srq_wr); in rxe_srq_chk_attr()
76 if (srq && (attr->srq_limit > srq->rq.queue->buf->index_mask)) { in rxe_srq_chk_attr()
78 attr->srq_limit, in rxe_srq_chk_attr()
111 srq->limit = init->attr.srq_limit; in rxe_srq_from_init()
173 srq->limit = attr->srq_limit; in rxe_srq_from_attr()
Drxe_verbs.c372 attr->srq_limit = srq->limit; in rxe_query_srq()
/Linux-v5.4/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()
289 cmd->attrs.srq_limit = attr->srq_limit; in pvrdma_modify_srq()
Dpvrdma_verbs.h330 u32 srq_limit; member
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dsrq.c129 srq->limit = srq_init_attr->attr.srq_limit; in rvt_create_srq()
184 attr->srq_limit : srq->limit) > attr->max_wr) in rvt_modify_srq()
263 srq->limit = attr->srq_limit; in rvt_modify_srq()
299 if (attr->srq_limit >= srq->rq.size) in rvt_modify_srq()
302 srq->limit = attr->srq_limit; in rvt_modify_srq()
326 attr->srq_limit = srq->limit; in rvt_query_srq()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dsrq.c230 if (attr->srq_limit >= srq->msrq.max) in mlx4_ib_modify_srq()
234 ret = mlx4_srq_arm(dev->dev, &srq->msrq, attr->srq_limit); in mlx4_ib_modify_srq()
255 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/mlx5/
Dsrq.c348 if (attr->srq_limit >= srq->msrq.max) in mlx5_ib_modify_srq()
352 ret = mlx5_cmd_arm_srq(dev, &srq->msrq, attr->srq_limit, 1); in mlx5_ib_modify_srq()
377 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq()
/Linux-v5.4/include/uapi/rdma/
Dib_user_verbs.h1166 __u32 srq_limit; member
1177 __u32 srq_limit; member
1196 __u32 srq_limit; member
1210 __u32 srq_limit; member
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_verbs.c1487 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq()
1494 srq->limit = attrs->srq_limit; in siw_create_srq()
1572 if (attrs->srq_limit) { in siw_modify_srq()
1573 if (unlikely(attrs->srq_limit > srq->num_rqe)) { in siw_modify_srq()
1581 srq->limit = attrs->srq_limit; in siw_modify_srq()
1603 attrs->srq_limit = srq->limit; in siw_query_srq()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h74 u32 srq_limit; member
Dib_verbs.c1375 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1376 srq->srq_limit = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1431 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1434 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq()
1441 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq()
1469 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
Droce_hsi.h2305 __le16 srq_limit; member
Dqplib_fp.c654 srq->threshold = le16_to_cpu(sb->srq_limit); in bnxt_qplib_query_srq()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dqedr.h366 u32 srq_limit; member
Dverbs.c98 srq_attr->srq_limit = srq->srq_limit; in qedr_query_srq()
1487 if (attr->srq_limit >= srq->hw_srq.max_wr) { in qedr_modify_srq()
1490 attr->srq_limit, srq->hw_srq.max_wr); in qedr_modify_srq()
1495 in_params.wqe_limit = attr->srq_limit; in qedr_modify_srq()
1501 srq->srq_limit = attr->srq_limit; in qedr_modify_srq()
/Linux-v5.4/drivers/infiniband/core/
Duverbs_cmd.c3422 attr.attr.srq_limit = cmd->srq_limit; in __uverbs_create_xsrq()
3521 xcmd.srq_limit = cmd.srq_limit; in ib_uverbs_create_srq()
3554 attr.srq_limit = cmd.srq_limit; in ib_uverbs_modify_srq()
3591 resp.srq_limit = attr.srq_limit; in ib_uverbs_query_srq()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h513 u32 srq_limit; member
Dcq.c778 srq->wq.in_use < srq->srq_limit) in __c4iw_poll_cq_one()
Dqp.c2457 srq->srq_limit = attr->srq_limit; in c4iw_modify_srq()
/Linux-v5.4/drivers/nvme/target/
Drdma.c863 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq()
/Linux-v5.4/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.c1821 if (init_attr->attr.srq_limit) { in ocrdma_create_srq()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c6136 if (srq_attr->srq_limit >= srq->max) in hns_roce_v2_modify_srq()
6150 SRQC_BYTE_8_SRQ_LIMIT_WL_S, srq_attr->srq_limit); in hns_roce_v2_modify_srq()
6195 attr->srq_limit = limit_wl; in hns_roce_v2_query_srq()
/Linux-v5.4/include/rdma/
Dib_verbs.h1021 u32 srq_limit; member