Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/core/
A Duverbs_std_types_srq.c17 enum ib_srq_type srq_type = srq->srq_type; in uverbs_free_srq() local
24 if (srq_type == IB_SRQT_XRC) { in uverbs_free_srq()
62 ret = uverbs_get_const(&attr.srq_type, attrs, in UVERBS_HANDLER()
67 if (ib_srq_has_cq(attr.srq_type)) { in UVERBS_HANDLER()
74 switch (attr.srq_type) { in UVERBS_HANDLER()
128 if (attr.srq_type == IB_SRQT_XRC) { in UVERBS_HANDLER()
141 if (attr.srq_type == IB_SRQT_XRC) in UVERBS_HANDLER()
A Duverbs_std_types_qp.c220 if ((srq->srq_type == IB_SRQT_XRC && in UVERBS_HANDLER()
222 (srq->srq_type != IB_SRQT_XRC && in UVERBS_HANDLER()
A Dverbs.c1029 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user()
1032 if (ib_srq_has_cq(srq->srq_type)) { in ib_create_srq_user()
1036 if (srq->srq_type == IB_SRQT_XRC) { in ib_create_srq_user()
1050 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_create_srq_user()
1052 if (ib_srq_has_cq(srq->srq_type)) in ib_create_srq_user()
1094 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_destroy_srq_user()
1096 if (ib_srq_has_cq(srq->srq_type)) in ib_destroy_srq_user()
A Duverbs_cmd.c1360 if (!srq || srq->srq_type == IB_SRQT_XRC) { in create_qp()
3369 if (cmd->srq_type == IB_SRQT_TM) in __uverbs_create_xsrq()
3372 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
3390 if (ib_srq_has_cq(cmd->srq_type)) { in __uverbs_create_xsrq()
3406 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq()
3426 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3429 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3432 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3447 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3452 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
[all …]
A Dnldev.c825 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_TYPE, srq->srq_type)) in fill_res_srq_entry()
831 if (ib_srq_has_cq(srq->srq_type)) { in fill_res_srq_entry()
/linux/drivers/infiniband/hw/mlx5/
A Dsrq.c204 if (init_attr->srq_type != IB_SRQT_BASIC && in mlx5_ib_create_srq()
205 init_attr->srq_type != IB_SRQT_XRC && in mlx5_ib_create_srq()
206 init_attr->srq_type != IB_SRQT_TM) in mlx5_ib_create_srq()
239 in.type = init_attr->srq_type; in mlx5_ib_create_srq()
257 if (init_attr->srq_type == IB_SRQT_XRC && init_attr->ext.xrc.xrcd) in mlx5_ib_create_srq()
262 if (init_attr->srq_type == IB_SRQT_TM) { in mlx5_ib_create_srq()
274 if (ib_srq_has_cq(init_attr->srq_type)) in mlx5_ib_create_srq()
A Dmain.c2843 attr.srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_init()
2855 attr.srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_init()
A Dqp.c2262 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
/linux/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_srq.c120 if (init_attr->srq_type != IB_SRQT_BASIC) { in pvrdma_create_srq()
123 init_attr->srq_type); in pvrdma_create_srq()
175 cmd->srq_type = init_attr->srq_type; in pvrdma_create_srq()
A Dpvrdma_dev_api.h518 u8 srq_type; member
/linux/drivers/infiniband/hw/mlx4/
A Dsrq.c89 if (init_attr->srq_type != IB_SRQT_BASIC && in mlx4_ib_create_srq()
90 init_attr->srq_type != IB_SRQT_XRC) in mlx4_ib_create_srq()
180 cqn = ib_srq_has_cq(init_attr->srq_type) ? in mlx4_ib_create_srq()
182 xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? in mlx4_ib_create_srq()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_srq.c319 srq->cqn = ib_srq_has_cq(init_attr->srq_type) ? in set_srq_ext_param()
322 srq->xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? in set_srq_ext_param()
/linux/drivers/infiniband/sw/rdmavt/
A Dsrq.c42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
/linux/include/rdma/
A Dib_verbs.h1031 static inline bool ib_srq_has_cq(enum ib_srq_type srq_type) in ib_srq_has_cq() argument
1033 return srq_type == IB_SRQT_XRC || in ib_srq_has_cq()
1034 srq_type == IB_SRQT_TM; in ib_srq_has_cq()
1052 enum ib_srq_type srq_type; member
1604 enum ib_srq_type srq_type; member
/linux/include/uapi/rdma/
A Dib_user_verbs.h1170 __u32 srq_type; member
/linux/drivers/infiniband/hw/qedr/
A Dverbs.c1438 if (!udata && attrs->srq_type == IB_SRQT_XRC) { in qedr_check_srq_params()
1559 if (init_attr->srq_type != IB_SRQT_BASIC && in qedr_create_srq()
1560 init_attr->srq_type != IB_SRQT_XRC) in qedr_create_srq()
1568 srq->is_xrc = (init_attr->srq_type == IB_SRQT_XRC); in qedr_create_srq()
/linux/drivers/infiniband/hw/mthca/
A Dmthca_provider.c409 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
/linux/drivers/infiniband/sw/rxe/
A Drxe_verbs.c292 if (init->srq_type != IB_SRQT_BASIC) in rxe_create_srq()
/linux/drivers/infiniband/sw/siw/
A Dsiw_verbs.c1564 if (init_attrs->srq_type != IB_SRQT_BASIC) in siw_create_srq()
/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_cm.c1556 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
/linux/drivers/nvme/target/
A Drdma.c1102 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
/linux/drivers/infiniband/ulp/srpt/
A Dib_srpt.c3042 .srq_type = IB_SRQT_BASIC, in srpt_alloc_srq()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_verbs.c1772 if (init_attr->srq_type != IB_SRQT_BASIC) in ocrdma_create_srq()
/linux/drivers/infiniband/hw/cxgb4/
A Dqp.c2675 if (attrs->srq_type != IB_SRQT_BASIC) in c4iw_create_srq()
/linux/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.c1629 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()

Completed in 170 milliseconds

12