Searched refs:srq_init_attr (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/infiniband/sw/rdmavt/ |
A 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()
|
A D | srq.h | 11 int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr,
|
/linux/drivers/infiniband/core/ |
A D | verbs.c | 1014 struct ib_srq_init_attr *srq_init_attr, in ib_create_srq_user() argument 1027 srq->event_handler = srq_init_attr->event_handler; in ib_create_srq_user() 1028 srq->srq_context = srq_init_attr->srq_context; in ib_create_srq_user() 1029 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user() 1033 srq->ext.cq = srq_init_attr->ext.cq; in ib_create_srq_user() 1037 srq->ext.xrc.xrcd = srq_init_attr->ext.xrc.xrcd; in ib_create_srq_user() 1046 ret = pd->device->ops.create_srq(srq, srq_init_attr, udata); in ib_create_srq_user()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | ib_verbs.h | 172 struct ib_srq_init_attr *srq_init_attr,
|
A D | ib_verbs.c | 1606 struct ib_srq_init_attr *srq_init_attr, in bnxt_re_create_srq() argument 1623 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq() 1629 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq() 1640 entries = roundup_pow_of_two(srq_init_attr->attr.max_wr + 1); in bnxt_re_create_srq() 1645 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq() 1648 srq->qplib_srq.threshold = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq() 1649 srq->srq_limit = srq_init_attr->attr.srq_limit; in bnxt_re_create_srq()
|
/linux/include/rdma/ |
A D | ib_verbs.h | 2437 struct ib_srq_init_attr *srq_init_attr, 3634 struct ib_srq_init_attr *srq_init_attr, 3638 ib_create_srq(struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr) in ib_create_srq() argument 3643 return ib_create_srq_user(pd, srq_init_attr, NULL, NULL); in ib_create_srq()
|
/linux/drivers/infiniband/ulp/ipoib/ |
A 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/drivers/infiniband/hw/hns/ |
A D | hns_roce_device.h | 1228 struct ib_srq_init_attr *srq_init_attr,
|
Completed in 64 milliseconds