Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1024 srq->srq_type = srq_init_attr->srq_type; in ib_create_srq_user()
1027 if (ib_srq_has_cq(srq->srq_type)) { in ib_create_srq_user()
1031 if (srq->srq_type == IB_SRQT_XRC) { in ib_create_srq_user()
1040 if (srq->srq_type == IB_SRQT_XRC) in ib_create_srq_user()
1042 if (ib_srq_has_cq(srq->srq_type)) in ib_create_srq_user()
1082 if (srq->srq_type == IB_SRQT_XRC) in ib_destroy_srq_user()
1084 if (ib_srq_has_cq(srq->srq_type)) in ib_destroy_srq_user()
Duverbs_cmd.c1326 if (!srq || srq->srq_type == IB_SRQT_XRC) { in create_qp()
3341 if (cmd->srq_type == IB_SRQT_TM) in __uverbs_create_xsrq()
3344 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
3362 if (ib_srq_has_cq(cmd->srq_type)) { in __uverbs_create_xsrq()
3378 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq()
3398 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3401 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq()
3404 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3419 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq()
3424 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq()
[all …]
/Linux-v5.10/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-v5.10/drivers/infiniband/hw/mlx5/
Dsrq.c259 in.type = init_attr->srq_type; in mlx5_ib_create_srq()
277 if (init_attr->srq_type == IB_SRQT_XRC && init_attr->ext.xrc.xrcd) in mlx5_ib_create_srq()
282 if (init_attr->srq_type == IB_SRQT_TM) { in mlx5_ib_create_srq()
294 if (ib_srq_has_cq(init_attr->srq_type)) in mlx5_ib_create_srq()
Dmain.c3078 attr.srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_init()
3089 devr->s0->srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_init()
3102 attr.srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_init()
3111 devr->s1->srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_init()
Dqp.c2028 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dsrq.c176 cqn = ib_srq_has_cq(init_attr->srq_type) ? in mlx4_ib_create_srq()
178 xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? in mlx4_ib_create_srq()
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dsrq.c84 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_srq.c332 cqn = ib_srq_has_cq(init_attr->srq_type) ? in hns_roce_create_srq()
/Linux-v5.10/include/rdma/
Dib_verbs.h1027 static inline bool ib_srq_has_cq(enum ib_srq_type srq_type) in ib_srq_has_cq() argument
1029 return srq_type == IB_SRQT_XRC || in ib_srq_has_cq()
1030 srq_type == IB_SRQT_TM; in ib_srq_has_cq()
1048 enum ib_srq_type srq_type; member
1598 enum ib_srq_type srq_type; member
/Linux-v5.10/include/uapi/rdma/
Dib_user_verbs.h1184 __u32 srq_type; member
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c409 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
/Linux-v5.10/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1560 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
/Linux-v5.10/drivers/nvme/target/
Drdma.c1101 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dverbs.c1428 if (!udata && attrs->srq_type == IB_SRQT_XRC) { in qedr_check_srq_params()
1554 srq->is_xrc = (init_attr->srq_type == IB_SRQT_XRC); in qedr_create_srq()
/Linux-v5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c3038 .srq_type = IB_SRQT_BASIC, in srpt_alloc_srq()
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1643 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()