Home
last modified time | relevance | path

Searched refs:cqe_version (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h147 u8 cqe_version; member
1164 static inline int verify_assign_uidx(u8 cqe_version, u32 cmd_uidx, in verify_assign_uidx() argument
1167 if (cqe_version) { in verify_assign_uidx()
1184 u8 cqe_version = ucontext->cqe_version; in get_qp_user_index() local
1187 !cqe_version && (ucmd->uidx == MLX5_IB_DEFAULT_UIDX)) in get_qp_user_index()
1191 !!cqe_version)) in get_qp_user_index()
1194 return verify_assign_uidx(cqe_version, ucmd->uidx, user_index); in get_qp_user_index()
1202 u8 cqe_version = ucontext->cqe_version; in get_srq_user_index() local
1205 !cqe_version && (ucmd->uidx == MLX5_IB_DEFAULT_UIDX)) in get_srq_user_index()
1209 !!cqe_version)) in get_srq_user_index()
[all …]
H A Dmlx5_ib_srq.c141 if (MLX5_CAP_GEN(dev->mdev, cqe_version) == MLX5_CQE_VERSION_V1 && in create_srq_user()
201 if (MLX5_CAP_GEN(dev->mdev, cqe_version) == MLX5_CQE_VERSION_V1 && in create_srq_kernel()
H A Dmlx5_ib_main.c1436 resp.cqe_version = min_t(__u8, in mlx5_ib_alloc_ucontext()
1437 (__u8)MLX5_CAP_GEN(dev->mdev, cqe_version), in mlx5_ib_alloc_ucontext()
1500 if (field_avail(typeof(resp), cqe_version, udata->outlen)) in mlx5_ib_alloc_ucontext()
1501 resp.response_length += sizeof(resp.cqe_version); in mlx5_ib_alloc_ucontext()
1542 context->cqe_version = resp.cqe_version; in mlx5_ib_alloc_ucontext()
H A Dmlx5_ib_qp.c1887 if (MLX5_CAP_GEN(mdev, cqe_version) == MLX5_CQE_VERSION_V1) in create_qp_common()
2166 } else if (!to_mucontext(pd->uobject->context)->cqe_version) { in mlx5_ib_create_qp()
/freebsd/contrib/ofed/libmlx5/
H A Dcq.c834 int lock, enum polling_mode stall, int cqe_version)
837 int lock, enum polling_mode stall, int cqe_version) in mlx5_start_poll() argument
884 err = mlx5_parse_lazy_cqe(cq, cqe64, cqe, cqe_version); in mlx5_start_poll()
902 enum polling_mode stall, int cqe_version)
906 int cqe_version) in mlx5_next_poll() argument
921 return mlx5_parse_lazy_cqe(cq, cqe64, cqe, cqe_version); in mlx5_next_poll()
1255 (mctx->cqe_version ? V1 : 0) | in mlx5_cq_fill_pfns()
1350 struct mlx5_srq *srq, int cqe_version) in free_res_cqe() argument
1352 if (cqe_version) { in free_res_cqe()
1378 int cqe_version; in __mlx5_cq_clean() local
[all …]
H A Dmlx5-abi.h72 __u8 cqe_version; member
98 __u8 cqe_version; member
H A Dmlx5.c613 cqe_version), in mlx5_cmd_get_context()
650 if (mctx->cqe_version == MLX5_CQE_VERSION_V1) in mlx5dv_query_device()
914 req.cqe_version = MLX5_CQE_VERSION_V1; in mlx5_init_context()
933 context->cqe_version = resp.cqe_version; in mlx5_init_context()
934 if (context->cqe_version) { in mlx5_init_context()
935 if (context->cqe_version == MLX5_CQE_VERSION_V1) in mlx5_init_context()
H A Dverbs.c767 if (ctx->cqe_version && msrq->rsc.type == MLX5_RSC_TYPE_XSRQ) in mlx5_destroy_srq()
1415 if (!ctx->cqe_version) { in create_qp()
1441 if (!ctx->cqe_version) { in create_qp()
1466 qp->rsc.rsn = (ctx->cqe_version && !is_xrc_tgt(attr->qp_type)) ? in create_qp()
1475 if (!ctx->cqe_version) in create_qp()
1572 if (!ctx->cqe_version) in mlx5_destroy_qp()
1577 if (!ctx->cqe_version) in mlx5_destroy_qp()
1589 if (!ctx->cqe_version) { in mlx5_destroy_qp()
1595 if (!ctx->cqe_version) in mlx5_destroy_qp()
2076 if (ctx->cqe_version) { in mlx5_create_srq_ex()
[all …]
H A Dmlx5.h260 int cqe_version; member
/freebsd/sys/ofed/include/uapi/rdma/
H A Dmlx5-abi.h120 __u8 cqe_version; member
/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_conn.c589 if (MLX5_CAP_GEN(mdev, cqe_version) == 1) in mlx5_fpga_conn_create_qp()
/freebsd/sys/dev/mlx5/
H A Dmlx5_ifc.h1465 u8 cqe_version[0x4]; member