Home
last modified time | relevance | path

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

/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,
/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()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h172 struct ib_srq_init_attr *srq_init_attr,
Dib_verbs.c1617 struct ib_srq_init_attr *srq_init_attr, in bnxt_re_create_srq() argument
1634 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq()
1640 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()
1651 entries = roundup_pow_of_two(srq_init_attr->attr.max_wr + 1); in bnxt_re_create_srq()
1656 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq()
1659 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
1660 srq->srq_limit = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
/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()
/drivers/infiniband/hw/hns/
Dhns_roce_device.h1178 struct ib_srq_init_attr *srq_init_attr,