/linux/drivers/infiniband/core/ |
A 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()
|
A 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()
|
A D | verbs.c | 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()
|
A D | uverbs_cmd.c | 1360 if (!srq || srq->srq_type == IB_SRQT_XRC) { in create_qp() 3369 if (cmd->srq_type == IB_SRQT_TM) in __uverbs_create_xsrq() 3372 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq() 3390 if (ib_srq_has_cq(cmd->srq_type)) { in __uverbs_create_xsrq() 3406 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq() 3426 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq() 3429 if (cmd->srq_type == IB_SRQT_XRC) in __uverbs_create_xsrq() 3432 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq() 3447 if (ib_srq_has_cq(cmd->srq_type)) in __uverbs_create_xsrq() 3452 if (cmd->srq_type == IB_SRQT_XRC) { in __uverbs_create_xsrq() [all …]
|
A 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/drivers/infiniband/hw/mlx5/ |
A D | srq.c | 204 if (init_attr->srq_type != IB_SRQT_BASIC && in mlx5_ib_create_srq() 205 init_attr->srq_type != IB_SRQT_XRC && in mlx5_ib_create_srq() 206 init_attr->srq_type != IB_SRQT_TM) in mlx5_ib_create_srq() 239 in.type = init_attr->srq_type; in mlx5_ib_create_srq() 257 if (init_attr->srq_type == IB_SRQT_XRC && init_attr->ext.xrc.xrcd) in mlx5_ib_create_srq() 262 if (init_attr->srq_type == IB_SRQT_TM) { in mlx5_ib_create_srq() 274 if (ib_srq_has_cq(init_attr->srq_type)) in mlx5_ib_create_srq()
|
A D | main.c | 2843 attr.srq_type = IB_SRQT_XRC; in mlx5_ib_dev_res_init() 2855 attr.srq_type = IB_SRQT_BASIC; in mlx5_ib_dev_res_init()
|
A D | qp.c | 2262 init_attr->srq->srq_type == IB_SRQT_TM) in create_user_qp()
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A 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()
|
A D | pvrdma_dev_api.h | 518 u8 srq_type; member
|
/linux/drivers/infiniband/hw/mlx4/ |
A 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/drivers/infiniband/hw/hns/ |
A D | hns_roce_srq.c | 319 srq->cqn = ib_srq_has_cq(init_attr->srq_type) ? in set_srq_ext_param() 322 srq->xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? in set_srq_ext_param()
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | srq.c | 42 if (srq_init_attr->srq_type != IB_SRQT_BASIC) in rvt_create_srq()
|
/linux/include/rdma/ |
A D | ib_verbs.h | 1031 static inline bool ib_srq_has_cq(enum ib_srq_type srq_type) in ib_srq_has_cq() argument 1033 return srq_type == IB_SRQT_XRC || in ib_srq_has_cq() 1034 srq_type == IB_SRQT_TM; in ib_srq_has_cq() 1052 enum ib_srq_type srq_type; member 1604 enum ib_srq_type srq_type; member
|
/linux/include/uapi/rdma/ |
A D | ib_user_verbs.h | 1170 __u32 srq_type; member
|
/linux/drivers/infiniband/hw/qedr/ |
A D | verbs.c | 1438 if (!udata && attrs->srq_type == IB_SRQT_XRC) { in qedr_check_srq_params() 1559 if (init_attr->srq_type != IB_SRQT_BASIC && in qedr_create_srq() 1560 init_attr->srq_type != IB_SRQT_XRC) in qedr_create_srq() 1568 srq->is_xrc = (init_attr->srq_type == IB_SRQT_XRC); in qedr_create_srq()
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_provider.c | 409 if (init_attr->srq_type != IB_SRQT_BASIC) in mthca_create_srq()
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_verbs.c | 292 if (init->srq_type != IB_SRQT_BASIC) in rxe_create_srq()
|
/linux/drivers/infiniband/sw/siw/ |
A D | siw_verbs.c | 1564 if (init_attrs->srq_type != IB_SRQT_BASIC) in siw_create_srq()
|
/linux/drivers/infiniband/ulp/ipoib/ |
A D | ipoib_cm.c | 1556 .srq_type = IB_SRQT_BASIC, in ipoib_cm_create_srq()
|
/linux/drivers/nvme/target/ |
A D | rdma.c | 1102 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
|
/linux/drivers/infiniband/ulp/srpt/ |
A D | ib_srpt.c | 3042 .srq_type = IB_SRQT_BASIC, in srpt_alloc_srq()
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_verbs.c | 1772 if (init_attr->srq_type != IB_SRQT_BASIC) in ocrdma_create_srq()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | qp.c | 2675 if (attrs->srq_type != IB_SRQT_BASIC) in c4iw_create_srq()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | ib_verbs.c | 1629 if (srq_init_attr->srq_type != IB_SRQT_BASIC) { in bnxt_re_create_srq()
|