Lines Matching refs:ibv_ctx
122 context->ibv_ctx.cmd_fd = cmd_fd; in c4iw_alloc_context()
126 if (ibv_cmd_get_context(&context->ibv_ctx, &cmd, sizeof cmd, in c4iw_alloc_context()
143 context->ibv_ctx.device = ibdev; in c4iw_alloc_context()
144 context->ibv_ctx.ops = c4iw_ctx_ops; in c4iw_alloc_context()
153 context->ibv_ctx.ops.async_event = c4iw_async_event; in c4iw_alloc_context()
154 context->ibv_ctx.ops.post_send = c4iw_post_send; in c4iw_alloc_context()
155 context->ibv_ctx.ops.post_recv = c4iw_post_receive; in c4iw_alloc_context()
156 context->ibv_ctx.ops.poll_cq = c4iw_poll_cq; in c4iw_alloc_context()
157 context->ibv_ctx.ops.req_notify_cq = c4iw_arm_cq; in c4iw_alloc_context()
169 ret = ibv_cmd_query_device(&context->ibv_ctx, &attr, &raw_fw_ver, &qcmd, in c4iw_alloc_context()
209 return &context->ibv_ctx; in c4iw_alloc_context()