Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/infiniband/core/
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()
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()
Dverbs.c1023 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user()
1026 if (ib_srq_has_cq(srq->srq_type)) { in ib_create_srq_user()
1030 if (srq->srq_type == IB_SRQT_XRC) { in ib_create_srq_user()
1044 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_create_srq_user()
1046 if (ib_srq_has_cq(srq->srq_type)) in ib_create_srq_user()
1088 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_destroy_srq_user()
1090 if (ib_srq_has_cq(srq->srq_type)) in ib_destroy_srq_user()
Duverbs_cmd.c1363 if (!srq || srq->srq_type == IB_SRQT_XRC) { in create_qp()
3376 if (cmd->srq_type == IB_SRQT_TM) in __uverbs_create_xsrq()
3379 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
3397 if (ib_srq_has_cq(cmd->srq_type)) { in __uverbs_create_xsrq()
3413 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq()
3433 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3436 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3439 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3454 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3459 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
[all …]
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-6.6.21/drivers/infiniband/hw/mlx5/
Dsrq.c203 if (init_attr->srq_type != IB_SRQT_BASIC && in mlx5_ib_create_srq()
204 init_attr->srq_type != IB_SRQT_XRC && in mlx5_ib_create_srq()
205 init_attr->srq_type != IB_SRQT_TM) in mlx5_ib_create_srq()
238 in.type = init_attr->srq_type; in mlx5_ib_create_srq()
256 if (init_attr->srq_type == IB_SRQT_XRC && init_attr->ext.xrc.xrcd) in mlx5_ib_create_srq()
261 if (init_attr->srq_type == IB_SRQT_TM) { in mlx5_ib_create_srq()
273 if (ib_srq_has_cq(init_attr->srq_type)) in mlx5_ib_create_srq()
Dmain.c2834 attr.srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_init()
2846 attr.srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_init()
Dqp.c2348 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
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()
Dpvrdma_dev_api.h518 u8 srq_type; member
/linux-6.6.21/drivers/infiniband/hw/mlx4/
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-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_srq.c320 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()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dsrq.c42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
/linux-6.6.21/include/rdma/
Dib_verbs.h1051 static inline bool ib_srq_has_cq(enum ib_srq_type srq_type) in ib_srq_has_cq() argument
1053 return srq_type == IB_SRQT_XRC || in ib_srq_has_cq()
1054 srq_type == IB_SRQT_TM; in ib_srq_has_cq()
1072 enum ib_srq_type srq_type; member
1628 enum ib_srq_type srq_type; member
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_verbs.c385 if (init->srq_type != IB_SRQT_BASIC) { in rxe_create_srq()
388 init->srq_type); in rxe_create_srq()
/linux-6.6.21/include/uapi/rdma/
Dib_user_verbs.h1186 __u32 srq_type; member
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dverbs.c1439 if (!udata && attrs->srq_type == IB_SRQT_XRC) { in qedr_check_srq_params()
1560 if (init_attr->srq_type != IB_SRQT_BASIC && in qedr_create_srq()
1561 init_attr->srq_type != IB_SRQT_XRC) in qedr_create_srq()
1569 srq->is_xrc = (init_attr->srq_type == IB_SRQT_XRC); in qedr_create_srq()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_provider.c401 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_verbs.c1602 if (init_attrs->srq_type != IB_SRQT_BASIC) in siw_create_srq()
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1556 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
/linux-6.6.21/drivers/nvme/target/
Drdma.c1102 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
/linux-6.6.21/drivers/infiniband/ulp/srpt/
Dib_srpt.c3069 .srq_type = IB_SRQT_BASIC, in srpt_alloc_srq()
/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1772 if (init_attr->srq_type != IB_SRQT_BASIC) in ocrdma_create_srq()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dqp.c2676 if (attrs->srq_type != IB_SRQT_BASIC) in c4iw_create_srq()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1737 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()

12