Searched refs:mlx5_context (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/ofed/libmlx5/ |
| H A D | mlx5.h | 212 struct mlx5_context { struct 494 static inline struct mlx5_context *to_mctx(struct ibv_context *ibctx) in to_mctx() 560 int mlx5_alloc_buf_contig(struct mlx5_context *mctx, struct mlx5_buf *buf, 562 void mlx5_free_buf_contig(struct mlx5_context *mctx, struct mlx5_buf *buf); 563 int mlx5_alloc_prefered_buf(struct mlx5_context *mctx, 568 int mlx5_free_actual_buf(struct mlx5_context *ctx, struct mlx5_buf *buf); 569 void mlx5_get_alloc_type(struct mlx5_context *context, 574 bool mlx5_is_extern_alloc(struct mlx5_context *context); 575 int mlx5_alloc_buf_extern(struct mlx5_context *ctx, struct mlx5_buf *buf, 577 void mlx5_free_buf_extern(struct mlx5_context *ctx, struct mlx5_buf *buf); [all …]
|
| H A D | buf.c | 237 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 void mlx5_free_buf_extern(struct mlx5_context *ctx, struct mlx5_buf *buf) in mlx5_free_buf_extern() 329 int mlx5_alloc_buf_extern(struct mlx5_context *ctx, struct mlx5_buf *buf, in mlx5_alloc_buf_extern() 353 int mlx5_alloc_prefered_buf(struct mlx5_context *mctx, in mlx5_alloc_prefered_buf() 402 int mlx5_free_actual_buf(struct mlx5_context *ctx, struct mlx5_buf *buf) in mlx5_free_actual_buf() 455 bool mlx5_is_extern_alloc(struct mlx5_context *context) in mlx5_is_extern_alloc() 460 void mlx5_get_alloc_type(struct mlx5_context *context, in mlx5_get_alloc_type() 532 int mlx5_alloc_buf_contig(struct mlx5_context *mctx, in mlx5_alloc_buf_contig() 588 void mlx5_free_buf_contig(struct mlx5_context *mctx, struct mlx5_buf *buf) in mlx5_free_buf_contig()
|
| H A D | mlx5.c | 173 static int32_t get_free_uidx(struct mlx5_context *ctx) in get_free_uidx() 197 int32_t mlx5_store_uidx(struct mlx5_context *ctx, void *rsc) in mlx5_store_uidx() 226 void mlx5_clear_uidx(struct mlx5_context *ctx, uint32_t uidx) in mlx5_clear_uidx() 404 static void mlx5_read_env(struct ibv_device *ibdev, struct mlx5_context *ctx) in mlx5_read_env() 468 static void open_debug_file(struct mlx5_context *ctx) in open_debug_file() 486 static void close_debug_file(struct mlx5_context *ctx) in close_debug_file() 554 static int need_uuar_lock(struct mlx5_context *ctx, int uuarn) in need_uuar_lock() 577 static int mlx5_cmd_get_context(struct mlx5_context *context, in mlx5_cmd_get_context() 620 struct mlx5_context *context = to_mctx(ibv_ctx); in mlx5_map_internal_clock() 644 struct mlx5_context *mctx = to_mctx(ctx_in); in mlx5dv_query_device() [all …]
|
| H A D | srq.c | 155 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 D | dbrec.c | 49 static struct mlx5_db_page *__add_page(struct mlx5_context *context) in __add_page() 88 __be32 *mlx5_alloc_dbrec(struct mlx5_context *context) in mlx5_alloc_dbrec() 121 void mlx5_free_db(struct mlx5_context *context, __be32 *db) in mlx5_free_db()
|
| H A D | cq.c | 349 static inline struct mlx5_qp *get_req_context(struct mlx5_context *mctx, 353 static inline struct mlx5_qp *get_req_context(struct mlx5_context *mctx, in get_req_context() 364 static inline int get_resp_ctx_v1(struct mlx5_context *mctx, 369 static inline int get_resp_ctx_v1(struct mlx5_context *mctx, in get_resp_ctx_v1() 403 static inline int get_qp_ctx(struct mlx5_context *mctx, 407 static inline int get_qp_ctx(struct mlx5_context *mctx, in get_qp_ctx() 425 static inline int get_srq_ctx(struct mlx5_context *mctx, 429 static inline int get_srq_ctx(struct mlx5_context *mctx, in get_srq_ctx() 442 static inline int get_cur_rsc(struct mlx5_context *mctx, in get_cur_rsc() 497 struct mlx5_context *mctx = to_mctx(cq->ibv_cq.context); in mlx5_get_next_cqe() [all …]
|
| H A D | verbs.c | 84 struct mlx5_context *ctx = to_mctx(context); in mlx5_read_clock() 353 struct mlx5_context *mctx = to_mctx(context); in create_cq() 545 struct mlx5_context *mctx = to_mctx(ibcq->context); in mlx5_resize_cq() 633 struct mlx5_context *ctx; in mlx5_create_srq() 754 struct mlx5_context *ctx = to_mctx(srq->context); in mlx5_destroy_srq() 830 static int mlx5_calc_send_wqe(struct mlx5_context *ctx, in mlx5_calc_send_wqe() 867 static int mlx5_calc_rcv_wqe(struct mlx5_context *ctx, in mlx5_calc_rcv_wqe() 890 static int mlx5_calc_sq_size(struct mlx5_context *ctx, in mlx5_calc_sq_size() 943 static int mlx5_calc_rwq_size(struct mlx5_context *ctx, in mlx5_calc_rwq_size() 989 static int mlx5_calc_rq_size(struct mlx5_context *ctx, in mlx5_calc_rq_size() [all …]
|
| H A D | qp.c | 615 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()
|