Home
last modified time | relevance | path

Searched refs:mlx5_context (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/ofed/libmlx5/
H A Dmlx5.h209 struct mlx5_context { struct
485 static inline struct mlx5_context *to_mctx(struct ibv_context *ibctx) in to_mctx()
554 int mlx5_alloc_prefered_buf(struct mlx5_context *mctx,
565 uint32_t *mlx5_alloc_dbrec(struct mlx5_context *context);
566 void mlx5_free_db(struct mlx5_context *context, uint32_t *db);
600 int mlx5_alloc_cq_buf(struct mlx5_context *mctx, struct mlx5_cq *cq,
647 void mlx5_clear_qp(struct mlx5_context *ctx, uint32_t qpn);
648 int32_t mlx5_store_uidx(struct mlx5_context *ctx, void *rsc);
649 void mlx5_clear_uidx(struct mlx5_context *ctx, uint32_t uidx);
651 int mlx5_store_srq(struct mlx5_context *ctx, uint32_t srqn,
[all …]
H A Dmlx5.c153 static int32_t get_free_uidx(struct mlx5_context *ctx) in get_free_uidx()
177 int32_t mlx5_store_uidx(struct mlx5_context *ctx, void *rsc) in mlx5_store_uidx()
206 void mlx5_clear_uidx(struct mlx5_context *ctx, uint32_t uidx) in mlx5_clear_uidx()
448 static void open_debug_file(struct mlx5_context *ctx) in open_debug_file()
466 static void close_debug_file(struct mlx5_context *ctx) in close_debug_file()
600 struct mlx5_context *context = to_mctx(ibv_ctx); in mlx5_map_internal_clock()
624 struct mlx5_context *mctx = to_mctx(ctx_in); in mlx5dv_query_device()
680 struct mlx5_context *mctx = to_mctx(cq_in->context); in mlx5dv_get_cq()
743 struct mlx5_context *context, in adjust_uar_info()
760 struct mlx5_context *context; in mlx5_init_context()
[all …]
H A Dsrq.c155 struct mlx5_context *ctx; in mlx5_alloc_srq_buf()
209 struct mlx5_srq *mlx5_find_srq(struct mlx5_context *ctx, uint32_t srqn) in mlx5_find_srq()
219 int mlx5_store_srq(struct mlx5_context *ctx, uint32_t srqn, in mlx5_store_srq()
236 void mlx5_clear_srq(struct mlx5_context *ctx, uint32_t srqn) in mlx5_clear_srq()
H A Ddbrec.c49 static struct mlx5_db_page *__add_page(struct mlx5_context *context) in __add_page()
83 uint32_t *mlx5_alloc_dbrec(struct mlx5_context *context) in mlx5_alloc_dbrec()
116 void mlx5_free_db(struct mlx5_context *context, uint32_t *db) in mlx5_free_db()
H A Dcq.c359 static inline int get_resp_ctx_v1(struct mlx5_context *mctx,
364 static inline int get_resp_ctx_v1(struct mlx5_context *mctx, in get_resp_ctx_v1()
398 static inline int get_qp_ctx(struct mlx5_context *mctx,
402 static inline int get_qp_ctx(struct mlx5_context *mctx, in get_qp_ctx()
420 static inline int get_srq_ctx(struct mlx5_context *mctx,
424 static inline int get_srq_ctx(struct mlx5_context *mctx, in get_srq_ctx()
437 static inline int get_cur_rsc(struct mlx5_context *mctx, in get_cur_rsc()
492 struct mlx5_context *mctx = to_mctx(cq->ibv_cq.context); in mlx5_get_next_cqe()
533 struct mlx5_context *mctx; in mlx5_parse_cqe()
1086 struct mlx5_context *ctx = to_mctx(ibcq->context); in mlx5_cq_read_wc_opcode()
[all …]
H A Dbuf.c237 static int alloc_huge_buf(struct mlx5_context *mctx, struct mlx5_buf *buf, in alloc_huge_buf()
308 static void free_huge_buf(struct mlx5_context *ctx, struct mlx5_buf *buf) in free_huge_buf()
323 int mlx5_alloc_prefered_buf(struct mlx5_context *mctx, in mlx5_alloc_prefered_buf()
369 int mlx5_free_actual_buf(struct mlx5_context *ctx, struct mlx5_buf *buf) in mlx5_free_actual_buf()
483 int mlx5_alloc_buf_contig(struct mlx5_context *mctx, in mlx5_alloc_buf_contig()
539 void mlx5_free_buf_contig(struct mlx5_context *mctx, struct mlx5_buf *buf) in mlx5_free_buf_contig()
H A Dverbs.c84 struct mlx5_context *ctx = to_mctx(context); in mlx5_read_clock()
353 struct mlx5_context *mctx = to_mctx(context); in create_cq()
535 struct mlx5_context *mctx = to_mctx(ibcq->context); in mlx5_resize_cq()
620 struct mlx5_context *ctx; in mlx5_create_srq()
738 struct mlx5_context *ctx = to_mctx(srq->context); in mlx5_destroy_srq()
1017 struct mlx5_context *ctx = to_mctx(context); in map_uuar()
1635 struct mlx5_context *ctx = to_mctx(pd->context); in mlx5_create_ah()
1801 struct mlx5_context *ctx = to_mctx(context); in mlx5_create_xrc_srq()
1939 struct mlx5_context *mctx = to_mctx(context); in mlx5_query_device_ex()
1994 struct mlx5_context *ctx = to_mctx(context); in mlx5_free_rwq_buf()
[all …]
H A Dqp.c615 struct mlx5_context *ctx; in _mlx5_post_send()
1228 struct mlx5_qp *mlx5_find_qp(struct mlx5_context *ctx, uint32_t qpn) in mlx5_find_qp()
1238 int mlx5_store_qp(struct mlx5_context *ctx, uint32_t qpn, struct mlx5_qp *qp) in mlx5_store_qp()
1254 void mlx5_clear_qp(struct mlx5_context *ctx, uint32_t qpn) in mlx5_clear_qp()