Searched refs:srq_init_attr (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/infiniband/sw/rdmavt/ |
D | srq.c | 34 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()
|
D | srq.h | 11 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr,
|
/linux-5.19.10/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 172 struct ib_srq_init_attr *srq_init_attr,
|
D | ib_verbs.c | 1605 struct ib_srq_init_attr *srq_init_attr, in bnxt_re_create_srq() argument 1622 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq() 1628 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq() 1639 entries = roundup_pow_of_two(srq_init_attr->attr.max_wr + 1); in bnxt_re_create_srq() 1644 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq() 1647 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()
|
/linux-5.19.10/drivers/infiniband/core/ |
D | verbs.c | 1006 struct ib_srq_init_attr *srq_init_attr, in ib_create_srq_user() argument 1019 srq->event_handler = srq_init_attr->event_handler; in ib_create_srq_user() 1020 srq->srq_context = srq_init_attr->srq_context; in ib_create_srq_user() 1021 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user() 1025 srq->ext.cq = srq_init_attr->ext.cq; in ib_create_srq_user() 1029 srq->ext.xrc.xrcd = srq_init_attr->ext.xrc.xrcd; in ib_create_srq_user() 1038 ret = pd->device->ops.create_srq(srq, srq_init_attr, udata); in ib_create_srq_user()
|
/linux-5.19.10/include/rdma/ |
D | ib_verbs.h | 2455 struct ib_srq_init_attr *srq_init_attr, 3644 struct ib_srq_init_attr *srq_init_attr, 3648 ib_create_srq(struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr) in ib_create_srq() argument 3653 return ib_create_srq_user(pd, srq_init_attr, NULL, NULL); in ib_create_srq()
|
/linux-5.19.10/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 1555 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-5.19.10/drivers/infiniband/hw/hns/ |
D | hns_roce_device.h | 1178 struct ib_srq_init_attr *srq_init_attr,
|