Home
last modified time | relevance | path

Searched refs:srq_init_attr (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dsrq.c34 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr, in rvt_create_srq() argument
42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
45 if (srq_init_attr->attr.max_sge == 0 || in rvt_create_srq()
46 srq_init_attr->attr.max_sge > dev->dparms.props.max_srq_sge || in rvt_create_srq()
47 srq_init_attr->attr.max_wr == 0 || in rvt_create_srq()
48 srq_init_attr->attr.max_wr > dev->dparms.props.max_srq_wr) in rvt_create_srq()
54 srq->rq.size = srq_init_attr->attr.max_wr + 1; in rvt_create_srq()
55 srq->rq.max_sge = srq_init_attr->attr.max_sge; in rvt_create_srq()
87 srq->limit = srq_init_attr->attr.srq_limit; in rvt_create_srq()
Dsrq.h11 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr,
/linux-6.6.21/drivers/infiniband/core/
Dverbs.c1008 struct ib_srq_init_attr *srq_init_attr, in ib_create_srq_user() argument
1021 srq->event_handler = srq_init_attr->event_handler; in ib_create_srq_user()
1022 srq->srq_context = srq_init_attr->srq_context; in ib_create_srq_user()
1023 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user()
1027 srq->ext.cq = srq_init_attr->ext.cq; in ib_create_srq_user()
1031 srq->ext.xrc.xrcd = srq_init_attr->ext.xrc.xrcd; in ib_create_srq_user()
1040 ret = pd->device->ops.create_srq(srq, srq_init_attr, udata); in ib_create_srq_user()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h193 struct ib_srq_init_attr *srq_init_attr,
Dib_verbs.c1713 struct ib_srq_init_attr *srq_init_attr, in bnxt_re_create_srq() argument
1731 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq()
1737 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()
1748 entries = roundup_pow_of_two(srq_init_attr->attr.max_wr + 1); in bnxt_re_create_srq()
1753 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq()
1756 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1757 srq->srq_limit = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
/linux-6.6.21/include/rdma/
Dib_verbs.h2466 struct ib_srq_init_attr *srq_init_attr,
3656 struct ib_srq_init_attr *srq_init_attr,
3660 ib_create_srq(struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr) in ib_create_srq() argument
3665 return ib_create_srq_user(pd, srq_init_attr, NULL, NULL); in ib_create_srq()
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1555 struct ib_srq_init_attr srq_init_attr = { in ipoib_cm_create_srq() local
1563 priv->cm.srq = ib_create_srq(priv->pd, &srq_init_attr); in ipoib_cm_create_srq()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_device.h1189 struct ib_srq_init_attr *srq_init_attr,