Home
last modified time | relevance | path

Searched refs:ibv_context (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/contrib/ofed/libibverbs/
H A Ddriver.h105 struct ibv_context *(*alloc_context)(struct ibv_device *device,
107 void (*free_context)(struct ibv_context *context);
111 struct ibv_context *ctx, int cmd_fd);
113 struct ibv_context *ctx);
133 int verbs_init_cq(struct ibv_cq *cq, struct ibv_context *context,
140 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd,
143 int ibv_cmd_query_device(struct ibv_context *context,
147 int ibv_cmd_query_device_ex(struct ibv_context *context,
157 int ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num,
160 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd,
[all …]
H A Dverbs.h507 struct ibv_context *context;
524 struct ibv_context *context;
536 struct ibv_context *context;
551 struct ibv_context *context;
738 struct ibv_context *context;
1001 struct ibv_context *context;
1023 struct ibv_context *context;
1041 struct ibv_context *context;
1058 struct ibv_context *context;
1064 struct ibv_context *context;
[all …]
H A Dverbs.c59 int __ibv_query_device(struct ibv_context *context,
61 int __ibv_query_port(struct ibv_context *context, uint8_t port_num,
63 int __ibv_query_gid(struct ibv_context *context, uint8_t port_num, int index,
65 int __ibv_query_pkey(struct ibv_context *context, uint8_t port_num, int index,
67 struct ibv_pd *__ibv_alloc_pd(struct ibv_context *context);
74 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe,
206 int __ibv_query_device(struct ibv_context *context, in __ibv_query_device()
213 int __ibv_query_port(struct ibv_context *context, uint8_t port_num, in __ibv_query_port()
220 int __ibv_query_gid(struct ibv_context *context, uint8_t port_num, in __ibv_query_gid()
245 int __ibv_query_pkey(struct ibv_context *context, uint8_t port_num, in __ibv_query_pkey()
[all …]
H A Ddevice.c55 struct ibv_context *__ibv_open_device(struct ibv_device *device);
56 int __ibv_close_device(struct ibv_context *context);
57 int __ibv_get_async_event(struct ibv_context *context,
134 int verbs_init_cq(struct ibv_cq *cq, struct ibv_context *context, in verbs_init_cq()
175 __lib_ibv_create_cq_ex(struct ibv_context *context, in __lib_ibv_create_cq_ex()
204 struct ibv_context *__ibv_open_device(struct ibv_device *device) in __ibv_open_device()
209 struct ibv_context *context; in __ibv_open_device()
300 int __ibv_close_device(struct ibv_context *context) in __ibv_close_device()
324 int __ibv_get_async_event(struct ibv_context *context, in __ibv_get_async_event()
H A Dcompat-1_0.c165 int (*query_device)(struct ibv_context *context,
167 int (*query_port)(struct ibv_context *context, uint8_t port_num,
169 struct ibv_pd * (*alloc_pd)(struct ibv_context *context);
174 struct ibv_cq * (*create_cq)(struct ibv_context *context, int cqe,
223 struct ibv_context *real_context; /* was abi_compat member */
523 struct ibv_context *real_ctx; in __ibv_open_device_1_0()
H A Dcmd.c46 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd, in ibv_cmd_get_context()
112 int ibv_cmd_query_device(struct ibv_context *context, in ibv_cmd_query_device()
132 int ibv_cmd_query_device_ex(struct ibv_context *context, in ibv_cmd_query_device_ex()
243 int ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num, in ibv_cmd_query_port()
282 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, in ibv_cmd_alloc_pd()
312 int ibv_cmd_open_xrcd(struct ibv_context *context, struct verbs_xrcd *xrcd, in ibv_cmd_open_xrcd()
464 int ibv_cmd_create_cq(struct ibv_context *context, int cqe, in ibv_cmd_create_cq()
489 int ibv_cmd_create_cq_ex(struct ibv_context *context, in ibv_cmd_create_cq_ex()
674 int ibv_cmd_create_srq_ex(struct ibv_context *context, in ibv_cmd_create_srq_ex()
931 static void create_qp_handle_resp_common(struct ibv_context *context, in create_qp_handle_resp_common()
[all …]
H A Dibverbs.h63 struct ibv_cq_ex *(*create_cq_ex)(struct ibv_context *context,
/freebsd/contrib/ofed/libmlx4/
H A Dmlx4.h124 struct ibv_context ibv_ctx;
314 static inline struct mlx4_context *to_mctx(struct ibv_context *ibctx) in to_mctx()
357 int mlx4_query_device(struct ibv_context *context,
359 int mlx4_query_device_ex(struct ibv_context *context,
363 int mlx4_query_port(struct ibv_context *context, uint8_t port,
365 int mlx4_query_rt_values(struct ibv_context *context,
367 struct ibv_pd *mlx4_alloc_pd(struct ibv_context *context);
369 struct ibv_xrcd *mlx4_open_xrcd(struct ibv_context *context,
384 struct ibv_cq *mlx4_create_cq(struct ibv_context *context, int cqe,
387 struct ibv_cq_ex *mlx4_create_cq_ex(struct ibv_context *context,
[all …]
H A Dverbs.c46 int mlx4_query_device(struct ibv_context *context, struct ibv_device_attr *attr) in mlx4_query_device()
67 int mlx4_query_device_ex(struct ibv_context *context, in mlx4_query_device_ex()
105 static int mlx4_read_clock(struct ibv_context *context, uint64_t *cycles) in mlx4_read_clock()
128 int mlx4_query_rt_values(struct ibv_context *context, in mlx4_query_rt_values()
150 int mlx4_query_port(struct ibv_context *context, uint8_t port, in mlx4_query_port()
172 static int query_port_cache(struct ibv_context *context, uint8_t port_num, in query_port_cache()
194 struct ibv_pd *mlx4_alloc_pd(struct ibv_context *context) in mlx4_alloc_pd()
227 struct ibv_xrcd *mlx4_open_xrcd(struct ibv_context *context, in mlx4_open_xrcd()
404 static int mlx4_cmd_create_cq(struct ibv_context *context, in mlx4_cmd_create_cq()
427 static int mlx4_cmd_create_cq_ex(struct ibv_context *context, in mlx4_cmd_create_cq_ex()
[all …]
H A Dmlx4.c122 struct ibv_context *ibv_ctx) in mlx4_map_internal_clock()
144 struct ibv_context *ibv_ctx, int cmd_fd) in mlx4_init_context()
277 struct ibv_context *ibv_ctx) in mlx4_uninit_context()
348 sizeof(struct mlx4_context) - sizeof(struct ibv_context); in mlx4_driver_init()
/freebsd/contrib/ofed/libirdma/
H A Dirdma_umain.h84 struct ibv_context ibv_ctx;
147 int irdma_uquery_device_ex(struct ibv_context *context,
150 int irdma_uquery_port(struct ibv_context *context, uint8_t port,
152 struct ibv_pd *irdma_ualloc_pd(struct ibv_context *context);
154 int irdma_uquery_device(struct ibv_context *, struct ibv_device_attr *);
166 struct ibv_cq *irdma_ucreate_cq(struct ibv_context *context, int cqe,
169 struct ibv_cq_ex *irdma_ucreate_cq_ex(struct ibv_context *context,
195 void irdma_async_event(struct ibv_context *context,
H A Dirdma_umain.c141 libirdma_query_device(struct ibv_context *ctx_in, struct libirdma_device *out) in libirdma_query_device()
157 struct ibv_context *ctx, int cmd_fd) in irdma_init_context()
214 struct ibv_context *ibctx) in irdma_cleanup_context()
278 sizeof(struct ibv_context); in irdma_driver_init()
H A Dirdma_uquery.h48 int libirdma_query_device(struct ibv_context *ctx_in, struct libirdma_device *out);
H A Dirdma_uverbs.c72 irdma_uquery_device_ex(struct ibv_context *context, in irdma_uquery_device_ex()
98 irdma_uquery_device(struct ibv_context *context, struct ibv_device_attr *attr) in irdma_uquery_device()
120 irdma_uquery_port(struct ibv_context *context, uint8_t port, in irdma_uquery_port()
133 irdma_ualloc_pd(struct ibv_context *context) in irdma_ualloc_pd()
412 ucreate_cq(struct ibv_context *context, in ucreate_cq()
558 irdma_ucreate_cq(struct ibv_context *context, int cqe, in irdma_ucreate_cq()
575 irdma_ucreate_cq_ex(struct ibv_context *context, in irdma_ucreate_cq_ex()
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.h210 struct ibv_context ibv_ctx;
485 static inline struct mlx5_context *to_mctx(struct ibv_context *ibctx) in to_mctx()
568 int mlx5_query_device(struct ibv_context *context,
570 int mlx5_query_device_ex(struct ibv_context *context,
574 int mlx5_query_rt_values(struct ibv_context *context,
576 struct ibv_qp *mlx5_create_qp_ex(struct ibv_context *context,
578 int mlx5_query_port(struct ibv_context *context, uint8_t port,
581 struct ibv_pd *mlx5_alloc_pd(struct ibv_context *context);
594 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe,
597 struct ibv_cq_ex *mlx5_create_cq_ex(struct ibv_context *context,
[all …]
H A Dverbs.c58 int mlx5_query_device(struct ibv_context *context, struct ibv_device_attr *attr) in mlx5_query_device()
80 static int mlx5_read_clock(struct ibv_context *context, uint64_t *cycles) in mlx5_read_clock()
103 int mlx5_query_rt_values(struct ibv_context *context, in mlx5_query_rt_values()
125 int mlx5_query_port(struct ibv_context *context, uint8_t port, in mlx5_query_port()
133 struct ibv_pd *mlx5_alloc_pd(struct ibv_context *context) in mlx5_alloc_pd()
342 static struct ibv_cq_ex *create_cq(struct ibv_context *context, in create_cq()
491 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe, in mlx5_create_cq()
509 struct ibv_cq_ex *mlx5_create_cq_ex(struct ibv_context *context, in mlx5_create_cq_ex()
515 struct ibv_cq_ex *mlx5dv_create_cq(struct ibv_context *context, in mlx5dv_create_cq()
1030 static void map_uuar(struct ibv_context *contex
[all...]
H A Dmlx5.c598 struct ibv_context *ibv_ctx) in mlx5_map_internal_clock()
621 int mlx5dv_query_device(struct ibv_context *ctx_in, in mlx5dv_query_device()
758 struct ibv_context *ctx, int cmd_fd) in mlx5_init_context()
992 struct ibv_context *ibctx) in mlx5_cleanup_context()
1083 sizeof(struct ibv_context); in mlx5_driver_init()
H A Dmlx5dv.h96 struct ibv_cq_ex *mlx5dv_create_cq(struct ibv_context *context,
106 int mlx5dv_query_device(struct ibv_context *ctx_in,
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h88 struct ibv_context ibv_ctx;
136 static inline struct c4iw_context *to_c4iw_context(struct ibv_context *ibctx) in to_c4iw_pd()
179 int c4iw_query_device(struct ibv_context *context,
181 int c4iw_query_port(struct ibv_context *context, uint8_t port,
184 struct ibv_pd *c4iw_alloc_pd(struct ibv_context *context);
191 struct ibv_cq *c4iw_create_cq(struct ibv_context *context, int cqe,
/freebsd/contrib/ofed/librdmacm/
H A Drdma_cma.h123 struct ibv_context *verbs;
614 struct ibv_context **rdma_get_devices(int *num_devices);
624 void rdma_free_devices(struct ibv_context **list);
/freebsd/contrib/ofed/libibverbs/examples/
H A Dpingpong.h39 int pp_get_port_info(struct ibv_context *context, int port,
H A Dpingpong.c51 int pp_get_port_info(struct ibv_context *context, int port, in pp_get_port_info()
H A Dasyncwatch.c91 struct ibv_context *context; in main()
/freebsd/contrib/ofed/libbnxtre/
H A Dmain.c285 int bnxt_re_init_context(struct verbs_device *vdev, struct ibv_context *ibvctx, in bnxt_re_init_context()
320 struct ibv_context *ibvctx) in bnxt_re_uninit_context()
375 sizeof(struct bnxt_re_context) - sizeof(struct ibv_context); in bnxt_re_driver_init()
/freebsd/contrib/ofed/libibcm/
H A Dcm.h92 struct ibv_context *device_context;
294 struct ib_cm_device* ib_cm_open_device(struct ibv_context *device_context);

12