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.h106 struct ibv_context *(*alloc_context)(struct ibv_device *device,
108 void (*free_context)(struct ibv_context *context);
112 struct ibv_context *ctx, int cmd_fd);
114 struct ibv_context *ctx);
134 int verbs_init_cq(struct ibv_cq *cq, struct ibv_context *context,
141 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd,
144 int ibv_cmd_query_device(struct ibv_context *context,
148 int ibv_cmd_query_device_ex(struct ibv_context *context,
158 int ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num,
161 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd,
[all …]
H A Dverbs.h526 struct ibv_context *context;
543 struct ibv_context *context;
555 struct ibv_context *context;
570 struct ibv_context *context;
765 struct ibv_context *context;
1034 struct ibv_context *context;
1056 struct ibv_context *context;
1074 struct ibv_context *context;
1091 struct ibv_context *context;
1097 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()
260 int ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num, in ibv_cmd_query_port()
299 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, in ibv_cmd_alloc_pd()
329 int ibv_cmd_open_xrcd(struct ibv_context *context, struct verbs_xrcd *xrcd, in ibv_cmd_open_xrcd()
481 int ibv_cmd_create_cq(struct ibv_context *context, int cqe, in ibv_cmd_create_cq()
506 int ibv_cmd_create_cq_ex(struct ibv_context *context, in ibv_cmd_create_cq_ex()
691 int ibv_cmd_create_srq_ex(struct ibv_context *context, in ibv_cmd_create_srq_ex()
959 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.h213 struct ibv_context ibv_ctx;
494 static inline struct mlx5_context *to_mctx(struct ibv_context *ibctx) in to_mctx()
582 int mlx5_query_device(struct ibv_context *context,
584 int mlx5_query_device_ex(struct ibv_context *context,
588 int mlx5_query_rt_values(struct ibv_context *context,
590 struct ibv_qp *mlx5_create_qp_ex(struct ibv_context *context,
592 int mlx5_query_port(struct ibv_context *context, uint8_t port,
595 struct ibv_pd *mlx5_alloc_pd(struct ibv_context *context);
608 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe,
611 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()
492 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe, in mlx5_create_cq()
510 struct ibv_cq_ex *mlx5_create_cq_ex(struct ibv_context *context, in mlx5_create_cq_ex()
516 struct ibv_cq_ex *mlx5dv_create_cq(struct ibv_context *context, in mlx5dv_create_cq()
1054 static void map_uuar(struct ibv_context *context, struct mlx5_qp *qp, in map_uuar()
[all …]
H A Dmlx5dv.h127 struct ibv_cq_ex *mlx5dv_create_cq(struct ibv_context *context,
144 struct ibv_qp *mlx5dv_create_qp(struct ibv_context *context,
154 int mlx5dv_query_device(struct ibv_context *ctx_in,
268 struct ibv_wq *mlx5dv_create_wq(struct ibv_context *context,
739 int mlx5dv_set_context_attr(struct ibv_context *context,
H A Dmlx5.c618 struct ibv_context *ibv_ctx) in mlx5_map_internal_clock()
641 int mlx5dv_query_device(struct ibv_context *ctx_in, in mlx5dv_query_device()
817 int mlx5dv_set_context_attr(struct ibv_context *ibv_ctx, in mlx5dv_set_context_attr()
858 struct ibv_context *ctx, int cmd_fd) in mlx5_init_context()
1091 struct ibv_context *ibctx) in mlx5_cleanup_context()
1182 sizeof(struct ibv_context); in mlx5_driver_init()
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h89 struct ibv_context ibv_ctx;
137 static inline struct c4iw_context *to_c4iw_context(struct ibv_context *ibctx) in to_c4iw_context()
180 int c4iw_query_device(struct ibv_context *context,
182 int c4iw_query_port(struct ibv_context *context, uint8_t port,
185 struct ibv_pd *c4iw_alloc_pd(struct ibv_context *context);
192 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