/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | gsi.c | 47 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 D | wr.c | 104 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 D | qp.c | 133 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 D | mlx5_ib.h | 334 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 D | cq.c | 167 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 D | mem.c | 203 struct mlx5_ib_qp *qp = to_mqp(ibqp); in post_send_nop()
|
H A D | odp.c | 1129 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 D | fs.c | 1151 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_create_flow() 1872 struct mlx5_ib_qp *mqp; in get_dests()
|
H A D | main.c | 2592 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 D | devx.c | 561 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 D | gsi.c | 47 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 D | wr.h | 95 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 D | wr.c | 54 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 D | qp.c | 146 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 D | mlx5_ib.h | 425 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 D | mem.c | 105 struct mlx5_ib_qp *qp = to_mqp(ibqp); in post_send_nop()
|
H A D | cq.c | 167 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 D | odp.c | 1056 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 D | umr.c | 236 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5r_umr_post_send()
|
H A D | fs.c | 1280 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_create_flow() 1851 struct mlx5_ib_qp *mqp; in get_dests()
|
H A D | main.c | 2395 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 D | devx.c | 632 struct mlx5_ib_qp *qp = to_mqp(uobj->object); in devx_is_valid_obj_id()
|