Home
last modified time | relevance | path

Searched refs:mlx5_ib_qp (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dgsi.c47 static void generate_completions(struct mlx5_ib_qp *mqp) in generate_completions()
73 struct mlx5_ib_qp *mqp = container_of(gsi, struct mlx5_ib_qp, gsi); in handle_single_completion()
88 int mlx5_ib_create_gsi(struct ib_pd *pd, struct mlx5_ib_qp *mqp, in mlx5_ib_create_gsi()
185 int mlx5_ib_destroy_gsi(struct mlx5_ib_qp *mqp) in mlx5_ib_destroy_gsi()
286 struct mlx5_ib_qp *mqp; in setup_qp()
357 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_gsi_modify_qp()
378 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_gsi_query_qp()
388 static int mlx5_ib_add_outstanding_wr(struct mlx5_ib_qp *mqp, in mlx5_ib_add_outstanding_wr()
420 static int mlx5_ib_gsi_silent_drop(struct mlx5_ib_qp *mq
[all...]
H A Dwr.c104 static void set_eth_seg(const struct ib_send_wr *wr, struct mlx5_ib_qp *qp, in set_eth_seg()
481 static int set_data_inl_seg(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, in set_data_inl_seg()
640 struct mlx5_ib_qp *qp, void **seg, int *size, in set_sig_data_segment()
779 struct mlx5_ib_qp *qp, void **seg, int *size, in set_pi_umr_wr()
856 static int set_reg_wr(struct mlx5_ib_qp *qp, in set_reg_wr()
910 static void set_linv_wr(struct mlx5_ib_qp *qp, void **seg, int *size, in set_linv_wr()
923 static void dump_wqe(struct mlx5_ib_qp *qp, u32 idx, int size_16) in dump_wqe()
942 static int __begin_wqe(struct mlx5_ib_qp *qp, void **seg, in __begin_wqe()
967 static int begin_wqe(struct mlx5_ib_qp *qp, void **seg, in begin_wqe()
977 static void finish_wqe(struct mlx5_ib_qp *q
[all...]
H A Dqp.c133 static int mlx5_ib_read_kernel_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_kernel_wqe_sq()
168 static int mlx5_ib_read_user_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_sq()
219 int mlx5_ib_read_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_sq()
235 static int mlx5_ib_read_user_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_rq()
255 int mlx5_ib_read_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_rq()
352 int has_rq, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd) in set_rq_size()
510 struct mlx5_ib_qp *qp) in calc_sq_size()
555 struct mlx5_ib_qp *qp, in set_user_buf_size()
891 struct mlx5_ib_qp *qp, struct ib_udata *udata, in _create_user_qp()
1008 static void destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *q
[all...]
H A Dmlx5_ib.h334 struct mlx5_ib_qp *container_mibqp;
403 struct mlx5_ib_qp { struct
1058 static inline struct mlx5_ib_qp *to_mibqp(struct mlx5_core_qp *mqp) in to_mibqp()
1078 static inline struct mlx5_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
1080 return container_of(ibqp, struct mlx5_ib_qp, ibqp); in to_mqp()
1160 int mlx5_ib_read_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer,
1162 int mlx5_ib_read_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer,
1342 int mlx5_ib_create_gsi(struct ib_pd *pd, struct mlx5_ib_qp *mqp,
1344 int mlx5_ib_destroy_gsi(struct mlx5_ib_qp *mqp);
H A Dcq.c167 struct mlx5_ib_qp *qp) in handle_responder()
335 static void handle_atomics(struct mlx5_ib_qp *qp, struct mlx5_cqe64 *cqe64, in handle_atomics()
388 static void sw_comp(struct mlx5_ib_qp *qp, int num_entries, struct ib_wc *wc, in sw_comp()
424 struct mlx5_ib_qp *qp; in mlx5_ib_poll_sw_comp()
442 struct mlx5_ib_qp **cur_qp, in mlx5_poll_one()
600 struct mlx5_ib_qp *cur_qp = NULL; in mlx5_ib_poll_cq()
H A Dmem.c203 struct mlx5_ib_qp *qp = to_mqp(ibqp); in post_send_nop()
H A Dodp.c1129 struct mlx5_ib_qp *qp, void **wqe, void **wqe_end, int wqe_length) in mlx5_ib_mr_initiator_pfault_handler()
1205 struct mlx5_ib_qp *qp, in mlx5_ib_mr_responder_pfault_handler_rq()
1251 static inline struct mlx5_ib_qp *res_to_qp(struct mlx5_core_rsc_common *res) in res_to_qp()
1275 struct mlx5_ib_qp *qp; in mlx5_ib_mr_wqe_pfault_handler()
H A Dfs.c1151 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_create_flow()
1872 struct mlx5_ib_qp *mqp; in get_dests()
H A Dmain.c2592 struct mlx5_ib_qp *mqp = to_mqp(ibqp); in mlx5_ib_mcg_attach()
2716 struct mlx5_ib_qp *mqp; in mlx5_ib_handle_internal_error()
H A Ddevx.c561 struct mlx5_ib_qp *qp = to_mqp(uobj->object); in devx_is_valid_obj_id()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dgsi.c47 static void generate_completions(struct mlx5_ib_qp *mqp) in generate_completions()
73 struct mlx5_ib_qp *mqp = container_of(gsi, struct mlx5_ib_qp, gsi); in handle_single_completion()
88 int mlx5_ib_create_gsi(struct ib_pd *pd, struct mlx5_ib_qp *mqp, in mlx5_ib_create_gsi()
168 int mlx5_ib_destroy_gsi(struct mlx5_ib_qp *mqp) in mlx5_ib_destroy_gsi()
264 struct mlx5_ib_qp *mqp; in setup_qp()
324 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_gsi_modify_qp()
349 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_gsi_query_qp()
359 static int mlx5_ib_add_outstanding_wr(struct mlx5_ib_qp *mqp, in mlx5_ib_add_outstanding_wr()
391 static int mlx5_ib_gsi_silent_drop(struct mlx5_ib_qp *mq
[all...]
H A Dwr.h95 int mlx5r_begin_wqe(struct mlx5_ib_qp *qp, void **seg,
99 void mlx5r_finish_wqe(struct mlx5_ib_qp *qp, struct mlx5_wqe_ctrl_seg *ctrl,
102 void mlx5r_ring_db(struct mlx5_ib_qp *qp, unsigned int nreq,
H A Dwr.c54 static void set_eth_seg(const struct ib_send_wr *wr, struct mlx5_ib_qp *qp, in set_eth_seg()
260 static int set_data_inl_seg(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, in set_data_inl_seg()
419 struct mlx5_ib_qp *qp, void **seg, int *size, in set_sig_data_segment()
558 struct mlx5_ib_qp *qp, void **seg, int *size, in set_pi_umr_wr()
635 static int set_reg_wr(struct mlx5_ib_qp *qp, in set_reg_wr()
692 static void set_linv_wr(struct mlx5_ib_qp *qp, void **seg, int *size, in set_linv_wr()
705 static void dump_wqe(struct mlx5_ib_qp *qp, u32 idx, int size_16) in dump_wqe()
724 int mlx5r_begin_wqe(struct mlx5_ib_qp *qp, void **seg, in mlx5r_begin_wqe()
748 static int begin_wqe(struct mlx5_ib_qp *qp, void **seg, in begin_wqe()
758 void mlx5r_finish_wqe(struct mlx5_ib_qp *q
[all...]
H A Dqp.c146 static int mlx5_ib_read_kernel_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_kernel_wqe_sq()
181 static int mlx5_ib_read_user_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_sq()
232 int mlx5_ib_read_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_sq()
248 static int mlx5_ib_read_user_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_rq()
268 int mlx5_ib_read_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_rq()
321 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_qp_err_syndrome()
434 int has_rq, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd) in set_rq_size()
592 struct mlx5_ib_qp *qp) in calc_sq_size()
637 struct mlx5_ib_qp *qp, in set_user_buf_size()
942 struct mlx5_ib_qp *q in _create_user_qp()
[all...]
H A Dmlx5_ib.h425 struct mlx5_ib_qp *container_mibqp;
494 struct mlx5_ib_qp { struct
1197 static inline struct mlx5_ib_qp *to_mibqp(struct mlx5_core_qp *mqp) in to_mibqp()
1217 static inline struct mlx5_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
1219 return container_of(ibqp, struct mlx5_ib_qp, ibqp); in to_mqp()
1292 int mlx5_ib_read_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer,
1294 int mlx5_ib_read_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer,
1471 int mlx5_ib_create_gsi(struct ib_pd *pd, struct mlx5_ib_qp *mqp,
1473 int mlx5_ib_destroy_gsi(struct mlx5_ib_qp *mqp);
H A Dmem.c105 struct mlx5_ib_qp *qp = to_mqp(ibqp); in post_send_nop()
H A Dcq.c167 struct mlx5_ib_qp *qp) in handle_responder()
341 static void handle_atomics(struct mlx5_ib_qp *qp, struct mlx5_cqe64 *cqe64, in handle_atomics()
394 static void sw_comp(struct mlx5_ib_qp *qp, int num_entries, struct ib_wc *wc, in sw_comp()
430 struct mlx5_ib_qp *qp; in mlx5_ib_poll_sw_comp()
448 struct mlx5_ib_qp **cur_qp, in mlx5_poll_one()
610 struct mlx5_ib_qp *cur_qp = NULL; in mlx5_ib_poll_cq()
H A Dodp.c1056 struct mlx5_ib_qp *qp, void **wqe, void **wqe_end, int wqe_length) in mlx5_ib_mr_initiator_pfault_handler()
1132 struct mlx5_ib_qp *qp, in mlx5_ib_mr_responder_pfault_handler_rq()
1178 static inline struct mlx5_ib_qp *res_to_qp(struct mlx5_core_rsc_common *res) in res_to_qp()
1202 struct mlx5_ib_qp *qp; in mlx5_ib_mr_wqe_pfault_handler()
H A Dumr.c236 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5r_umr_post_send()
H A Dfs.c1280 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_create_flow()
1851 struct mlx5_ib_qp *mqp; in get_dests()
H A Dmain.c2395 struct mlx5_ib_qp *mqp = to_mqp(ibqp); in mlx5_ib_mcg_attach()
2526 struct mlx5_ib_qp *mqp; in mlx5_ib_handle_internal_error()
3819 INIT_RDMA_OBJ_SIZE(ib_qp, mlx5_ib_qp, ibqp),
H A Ddevx.c632 struct mlx5_ib_qp *qp = to_mqp(uobj->object); in devx_is_valid_obj_id()

Completed in 52 milliseconds