Home
last modified time | relevance | path

Searched refs:ibv_ctx (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/ofed/libmthca/src/
HDmthca.c145 context->ibv_ctx.cmd_fd = cmd_fd; in mthca_alloc_context()
147 if (ibv_cmd_get_context(&context->ibv_ctx, &cmd, sizeof cmd, in mthca_alloc_context()
159 context->ibv_ctx.device = ibdev; in mthca_alloc_context()
161 if (mthca_is_memfree(&context->ibv_ctx)) { in mthca_alloc_context()
179 context->pd = mthca_alloc_pd(&context->ibv_ctx); in mthca_alloc_context()
183 context->pd->context = &context->ibv_ctx; in mthca_alloc_context()
185 context->ibv_ctx.ops = mthca_ctx_ops; in mthca_alloc_context()
187 if (mthca_is_memfree(&context->ibv_ctx)) { in mthca_alloc_context()
188 context->ibv_ctx.ops.req_notify_cq = mthca_arbel_arm_cq; in mthca_alloc_context()
189 context->ibv_ctx.ops.cq_event = mthca_arbel_cq_event; in mthca_alloc_context()
[all …]
HDmthca.h126 struct ibv_context ibv_ctx; member
/NextBSD/contrib/ofed/libmlx4/src/
HDmlx4.c154 context->ibv_ctx.cmd_fd = cmd_fd; in mlx4_alloc_context()
157 if (ibv_cmd_get_context(&context->ibv_ctx, &cmd, sizeof cmd, in mlx4_alloc_context()
166 if (ibv_cmd_get_context(&context->ibv_ctx, &cmd, sizeof cmd, in mlx4_alloc_context()
222 context->ibv_ctx.ops = mlx4_ctx_ops; in mlx4_alloc_context()
224 context->ibv_ctx.more_ops = &mlx4_more_ops; in mlx4_alloc_context()
227 if (mlx4_query_device(&context->ibv_ctx, &dev_attrs)) in mlx4_alloc_context()
240 return &context->ibv_ctx; in mlx4_alloc_context()
HDdbrec.c61 int ps = to_mdev(context->ibv_ctx.device)->page_size; in __add_page()
125 uintptr_t ps = to_mdev(context->ibv_ctx.device)->page_size; in mlx4_free_db()
HDmlx4.h171 struct ibv_context ibv_ctx; member
/NextBSD/contrib/ofed/libcxgb4/src/
HDdev.c125 context->ibv_ctx.cmd_fd = cmd_fd; in c4iw_alloc_context()
129 if (ibv_cmd_get_context(&context->ibv_ctx, &cmd, sizeof cmd, in c4iw_alloc_context()
146 context->ibv_ctx.device = ibdev; in c4iw_alloc_context()
147 context->ibv_ctx.ops = c4iw_ctx_ops; in c4iw_alloc_context()
154 context->ibv_ctx.ops.async_event = c4iw_async_event; in c4iw_alloc_context()
155 context->ibv_ctx.ops.post_send = c4iw_post_send; in c4iw_alloc_context()
156 context->ibv_ctx.ops.post_recv = c4iw_post_receive; in c4iw_alloc_context()
157 context->ibv_ctx.ops.poll_cq = c4iw_poll_cq; in c4iw_alloc_context()
158 context->ibv_ctx.ops.req_notify_cq = c4iw_arm_cq; in c4iw_alloc_context()
170 ret = ibv_cmd_query_device(&context->ibv_ctx, &attr, &raw_fw_ver, &qcmd, in c4iw_alloc_context()
[all …]
HDlibcxgb4.h73 struct ibv_context ibv_ctx; member
/NextBSD/contrib/ofed/libmlx4/fixes/
HDuserspace_dev_lims.patch26 context->ibv_ctx.ops = mlx4_ctx_ops;
28 + if (mlx4_query_device(&context->ibv_ctx, &dev_attrs))
35 return &context->ibv_ctx;
HDxrc_kernel_user_mismatch.patch21 return &context->ibv_ctx;
HDxrc_consolidated_v2.patch195 context->ibv_ctx.ops = mlx4_ctx_ops;
197 + context->ibv_ctx.more_ops = &mlx4_more_ops;
200 if (mlx4_query_device(&context->ibv_ctx, &dev_attrs))