Searched refs:srq_type (Results 1 – 17 of 17) sorted by relevance
17 enum ib_srq_type srq_type = srq->srq_type; in uverbs_free_srq() local24 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()
1029 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()2952 if (ib_srq_has_cq(qp->srq->srq_type)) { in __ib_drain_srq()
205 if (init_attr->srq_type != IB_SRQT_BASIC && in mlx5_ib_create_srq()206 init_attr->srq_type != IB_SRQT_XRC && in mlx5_ib_create_srq()207 init_attr->srq_type != IB_SRQT_TM) in mlx5_ib_create_srq()245 in.type = init_attr->srq_type; in mlx5_ib_create_srq()263 if (init_attr->srq_type == IB_SRQT_XRC && init_attr->ext.xrc.xrcd) in mlx5_ib_create_srq()268 if (init_attr->srq_type == IB_SRQT_TM) { in mlx5_ib_create_srq()280 if (ib_srq_has_cq(init_attr->srq_type)) in mlx5_ib_create_srq()
3105 attr.srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_srq_init()3120 attr.srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_srq_init()
2350 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
120 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()
518 u8 srq_type; member
89 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()
320 srq->cqn = ib_srq_has_cq(init_attr->srq_type) ? in set_srq_ext_param()323 srq->xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? in set_srq_ext_param()
5931 srq->ibsrq.srq_type == IB_SRQT_XRC); in hns_roce_v2_write_srqc()
42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
1071 static inline bool ib_srq_has_cq(enum ib_srq_type srq_type) in ib_srq_has_cq() argument1073 return srq_type == IB_SRQT_XRC || in ib_srq_has_cq()1074 srq_type == IB_SRQT_TM; in ib_srq_has_cq()1092 enum ib_srq_type srq_type; member1649 enum ib_srq_type srq_type; member
1202 __u32 srq_type; member
1556 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
1106 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
1896 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()
2347 if (initattrs->srq_type != IB_SRQT_BASIC) in irdma_create_srq()