/Linux-v6.1/drivers/infiniband/core/ |
D | uverbs_std_types_srq.c | 17 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()
|
D | uverbs_std_types_qp.c | 220 if ((srq->srq_type == IB_SRQT_XRC && in UVERBS_HANDLER() 222 (srq->srq_type != IB_SRQT_XRC && in UVERBS_HANDLER()
|
D | verbs.c | 1021 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()
|
D | uverbs_cmd.c | 1363 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 …]
|
D | nldev.c | 825 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-v6.1/drivers/infiniband/hw/mlx5/ |
D | srq.c | 203 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()
|
D | main.c | 2819 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()
|
D | qp.c | 2264 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
|
/Linux-v6.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 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()
|
D | pvrdma_dev_api.h | 518 u8 srq_type; member
|
/Linux-v6.1/drivers/infiniband/hw/mlx4/ |
D | srq.c | 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()
|
/Linux-v6.1/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 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()
|
/Linux-v6.1/drivers/infiniband/sw/rdmavt/ |
D | srq.c | 42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
|
/Linux-v6.1/include/rdma/ |
D | ib_verbs.h | 1045 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-v6.1/include/uapi/rdma/ |
D | ib_user_verbs.h | 1170 __u32 srq_type; member
|
/Linux-v6.1/drivers/infiniband/hw/qedr/ |
D | verbs.c | 1439 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-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 298 if (init->srq_type != IB_SRQT_BASIC) in rxe_create_srq()
|
/Linux-v6.1/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 401 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
|
/Linux-v6.1/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 1570 if (init_attrs->srq_type != IB_SRQT_BASIC) in siw_create_srq()
|
/Linux-v6.1/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 1556 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
|
/Linux-v6.1/drivers/nvme/target/ |
D | rdma.c | 1102 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
|
/Linux-v6.1/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1774 if (init_attr->srq_type != IB_SRQT_BASIC) in ocrdma_create_srq()
|
/Linux-v6.1/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3061 .srq_type = IB_SRQT_BASIC, in srpt_alloc_srq()
|
/Linux-v6.1/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 2676 if (attrs->srq_type != IB_SRQT_BASIC) in c4iw_create_srq()
|
/Linux-v6.1/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 1628 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()
|