Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c1021 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user()
1024 if (ib_srq_has_cq(srq->srq_type)) { in ib_create_srq_user()
1028 if (srq->srq_type == IB_SRQT_XRC) { in ib_create_srq_user()
1042 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_create_srq_user()
1044 if (ib_srq_has_cq(srq->srq_type)) in ib_create_srq_user()
1086 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_destroy_srq_user()
1088 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()
3371 if (cmd->srq_type == IB_SRQT_TM) in __uverbs_create_xsrq()
3374 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
3392 if (ib_srq_has_cq(cmd->srq_type)) { in __uverbs_create_xsrq()
3408 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq()
3428 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3431 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3434 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3449 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3454 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.1.9/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.c2819 attr.srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_init()
2831 attr.srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_init()
Dqp.c2264 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/infiniband/sw/rdmavt/
Dsrq.c42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
/linux-6.1.9/include/rdma/
Dib_verbs.h1045 static inline bool ib_srq_has_cq(enum ib_srq_type srq_type) in ib_srq_has_cq() argument
1047 return srq_type == IB_SRQT_XRC || in ib_srq_has_cq()
1048 srq_type == IB_SRQT_TM; in ib_srq_has_cq()
1066 enum ib_srq_type srq_type; member
1618 enum ib_srq_type srq_type; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h1170 __u32 srq_type; member
/linux-6.1.9/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.1.9/drivers/infiniband/sw/rxe/
Drxe_verbs.c298 if (init->srq_type != IB_SRQT_BASIC) in rxe_create_srq()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_provider.c401 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c1602 if (init_attrs->srq_type != IB_SRQT_BASIC) in siw_create_srq()
/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1556 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
/linux-6.1.9/drivers/nvme/target/
Drdma.c1102 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.c3061 .srq_type = IB_SRQT_BASIC, in srpt_alloc_srq()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1774 if (init_attr->srq_type != IB_SRQT_BASIC) in ocrdma_create_srq()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dqp.c2676 if (attrs->srq_type != IB_SRQT_BASIC) in c4iw_create_srq()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1628 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()

12