Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h136 u8 cqe_version; member
1134 static inline int verify_assign_uidx(u8 cqe_version, u32 cmd_uidx, in verify_assign_uidx() argument
1137 if (cqe_version) { in verify_assign_uidx()
1154 u8 cqe_version = ucontext->cqe_version; in get_qp_user_index() local
1157 !cqe_version && (ucmd->uidx == MLX5_IB_DEFAULT_UIDX)) in get_qp_user_index()
1161 !!cqe_version)) in get_qp_user_index()
1164 return verify_assign_uidx(cqe_version, ucmd->uidx, user_index); in get_qp_user_index()
1172 u8 cqe_version = ucontext->cqe_version; in get_srq_user_index() local
1175 !cqe_version && (ucmd->uidx == MLX5_IB_DEFAULT_UIDX)) in get_srq_user_index()
1179 !!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.c1310 resp.cqe_version = min_t(__u8, in mlx5_ib_alloc_ucontext()
1311 (__u8)MLX5_CAP_GEN(dev->mdev, cqe_version), in mlx5_ib_alloc_ucontext()
1374 if (field_avail(typeof(resp), cqe_version, udata->outlen)) in mlx5_ib_alloc_ucontext()
1375 resp.response_length += sizeof(resp.cqe_version); in mlx5_ib_alloc_ucontext()
1416 context->cqe_version = resp.cqe_version; in mlx5_ib_alloc_ucontext()
H A Dmlx5_ib_qp.c1831 if (MLX5_CAP_GEN(mdev, cqe_version) == MLX5_CQE_VERSION_V1) in create_qp_common()
2110 } else if (!to_mucontext(pd->uobject->context)->cqe_version) { in mlx5_ib_create_qp()
/freebsd-14.2/contrib/ofed/libmlx5/
H A Dcq.c829 int lock, enum polling_mode stall, int cqe_version)
832 int lock, enum polling_mode stall, int cqe_version) in mlx5_start_poll() argument
879 err = mlx5_parse_lazy_cqe(cq, cqe64, cqe, cqe_version); in mlx5_start_poll()
897 enum polling_mode stall, int cqe_version)
901 int cqe_version) in mlx5_next_poll() argument
1247 (mctx->cqe_version ? V1 : 0) | in mlx5_cq_fill_pfns()
1342 struct mlx5_srq *srq, int cqe_version) in free_res_cqe() argument
1344 if (cqe_version) { in free_res_cqe()
1370 int cqe_version; in __mlx5_cq_clean() local
1390 cqe_version = (to_mctx(cq->ibv_cq.context))->cqe_version; in __mlx5_cq_clean()
[all …]
H A Dmlx5.c593 cqe_version), in mlx5_cmd_get_context()
630 if (mctx->cqe_version == MLX5_CQE_VERSION_V1) in mlx5dv_query_device()
814 req.cqe_version = MLX5_CQE_VERSION_V1; in mlx5_init_context()
833 context->cqe_version = resp.cqe_version; in mlx5_init_context()
834 if (context->cqe_version) { in mlx5_init_context()
835 if (context->cqe_version == MLX5_CQE_VERSION_V1) in mlx5_init_context()
H A Dmlx5-abi.h71 __u8 cqe_version; member
97 __u8 cqe_version; member
H A Dverbs.c1333 if (!ctx->cqe_version) { in create_qp()
1359 if (!ctx->cqe_version) { in create_qp()
1393 if (!ctx->cqe_version) in create_qp()
1484 if (!ctx->cqe_version) in mlx5_destroy_qp()
1489 if (!ctx->cqe_version) in mlx5_destroy_qp()
1501 if (!ctx->cqe_version) { in mlx5_destroy_qp()
1507 if (!ctx->cqe_version) in mlx5_destroy_qp()
1867 if (ctx->cqe_version) { in mlx5_create_xrc_srq()
1885 if (!ctx->cqe_version) { in mlx5_create_xrc_srq()
1895 msrq->rsc.rsn = ctx->cqe_version ? cmd.uidx : resp.srqn; in mlx5_create_xrc_srq()
[all …]
H A Dmlx5.h257 int cqe_version; member
/freebsd-14.2/sys/ofed/include/uapi/rdma/
H A Dmlx5-abi.h119 __u8 cqe_version; member
/freebsd-14.2/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-14.2/sys/dev/mlx5/
H A Dmlx5_ifc.h1263 u8 cqe_version[0x4]; member