/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | qp.c | 122 static void flush_tx_list(struct rvt_qp *qp) in flush_tx_list() 130 static void flush_iowait(struct rvt_qp *qp) in flush_iowait() 160 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_check_modify_qp() 202 static inline void qp_set_16b(struct rvt_qp *qp) in qp_set_16b() 222 void hfi1_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_modify_qp() 263 int hfi1_setup_wqe(struct rvt_qp *qp, struct rvt_swqe *wqe, bool *call_send) in hfi1_setup_wqe() 323 bool _hfi1_schedule_send(struct rvt_qp *qp) in _hfi1_schedule_send() 340 static void qp_pio_drain(struct rvt_qp *qp) in qp_pio_drain() 366 bool hfi1_schedule_send(struct rvt_qp *qp) in hfi1_schedule_send() 379 static void hfi1_qp_schedule(struct rvt_qp *qp) in hfi1_qp_schedule() [all …]
|
D | tid_rdma.c | 143 static void tid_rdma_schedule_ack(struct rvt_qp *qp) in tid_rdma_schedule_ack() 151 static void tid_rdma_trigger_ack(struct rvt_qp *qp) in tid_rdma_trigger_ack() 193 void tid_rdma_opfn_init(struct rvt_qp *qp, struct tid_rdma_params *p) in tid_rdma_opfn_init() 206 bool tid_rdma_conn_req(struct rvt_qp *qp, u64 *data) in tid_rdma_conn_req() 214 bool tid_rdma_conn_reply(struct rvt_qp *qp, u64 data) in tid_rdma_conn_reply() 269 bool tid_rdma_conn_resp(struct rvt_qp *qp, u64 *data) in tid_rdma_conn_resp() 285 void tid_rdma_conn_error(struct rvt_qp *qp) in tid_rdma_conn_error() 321 struct rvt_qp *qp) in qp_to_rcd() 338 int hfi1_qp_priv_init(struct rvt_dev_info *rdi, struct rvt_qp *qp, in hfi1_qp_priv_init() 413 void hfi1_qp_priv_tid_free(struct rvt_dev_info *rdi, struct rvt_qp *qp) in hfi1_qp_priv_tid_free() [all …]
|
D | rc.c | 16 struct rvt_ack_entry *find_prev_entry(struct rvt_qp *qp, u32 psn, u8 *prev, in find_prev_entry() 67 static int make_rc_ack(struct hfi1_ibdev *dev, struct rvt_qp *qp, in make_rc_ack() 388 int hfi1_make_rc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_rc_req() 1180 static inline void hfi1_make_bth_aeth(struct rvt_qp *qp, in hfi1_make_bth_aeth() 1198 struct rvt_qp *qp = packet->qp; in hfi1_queue_rc_ack() local 1225 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_9B() local 1278 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_16B() local 1347 struct rvt_qp *qp = packet->qp; in hfi1_send_rc_ack() local 1417 static void update_num_rd_atomic(struct rvt_qp *qp, u32 psn, in update_num_rd_atomic() 1458 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn() [all …]
|
D | ruc.c | 31 struct rvt_qp *qp = packet->qp; in hfi1_ruc_check_hdr() local 163 static inline void build_ahg(struct rvt_qp *qp, u32 npsn) in build_ahg() 207 static inline void hfi1_make_ruc_bth(struct rvt_qp *qp, in hfi1_make_ruc_bth() 231 static inline void hfi1_make_ruc_header_16B(struct rvt_qp *qp, in hfi1_make_ruc_header_16B() 320 static inline void hfi1_make_ruc_header_9B(struct rvt_qp *qp, in hfi1_make_ruc_header_9B() 386 void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, in hfi1_make_ruc_header() 429 bool hfi1_schedule_send_yield(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_schedule_send_yield() 471 void hfi1_do_send_from_rvt(struct rvt_qp *qp) in hfi1_do_send_from_rvt() 479 struct rvt_qp *qp = iowait_to_qp(w->iow); in _hfi1_do_send() local 493 void hfi1_do_send(struct rvt_qp *qp, bool in_thread) in hfi1_do_send()
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_resp.c | 84 void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_resp_queue_pkt() 97 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 122 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 166 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 256 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid() 293 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 344 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource() 390 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 405 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 521 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in() [all …]
|
D | rxe_qp.c | 103 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources() 115 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 135 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 148 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 187 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 258 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 306 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 368 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init() 396 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() 481 static void rxe_qp_reset(struct rxe_qp *qp) in rxe_qp_reset() [all …]
|
D | rxe_req.c | 17 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 38 static void req_retry(struct rxe_qp *qp) in req_retry() 101 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() local 111 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 179 static int rxe_wqe_is_fenced(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_wqe_is_fenced() 197 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() 269 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc() 320 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode() 350 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth() 370 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() [all …]
|
D | rxe_comp.c | 115 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() local 125 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt() 138 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 166 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 173 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 212 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 343 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 363 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 382 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe() 425 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete() [all …]
|
D | rxe_loc.h | 118 static inline int qp_num(struct rxe_qp *qp) in qp_num() 123 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type() 128 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() 133 static inline int qp_mtu(struct rxe_qp *qp) in qp_mtu() 149 static inline void rxe_advance_resp_resource(struct rxe_qp *qp) in rxe_advance_resp_resource() 186 static inline unsigned int wr_opcode_mask(int opcode, struct rxe_qp *qp) in wr_opcode_mask()
|
D | rxe_mw.c | 50 static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_check_bind_mw() 135 static void rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_do_bind_mw() 164 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_bind_mw() 217 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw() 231 struct rxe_qp *qp; in rxe_do_invalidate_mw() local 251 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw() 283 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw() 322 struct rxe_qp *qp = mw->qp; in rxe_mw_cleanup() local
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_qp.c | 95 struct siw_qp *qp; in siw_qp_llp_data_ready() local 126 void siw_qp_llp_close(struct siw_qp *qp) in siw_qp_llp_close() 200 static int siw_qp_readq_init(struct siw_qp *qp, int irq_size, int orq_size) in siw_qp_readq_init() 226 static int siw_qp_enable_crc(struct siw_qp *qp) in siw_qp_enable_crc() 260 int siw_qp_mpa_rts(struct siw_qp *qp, enum mpa_v2_ctrl ctrl) in siw_qp_mpa_rts() 364 void siw_init_terminate(struct siw_qp *qp, enum term_elayer layer, u8 etype, in siw_init_terminate() 387 void siw_send_terminate(struct siw_qp *qp) in siw_send_terminate() 612 static void siw_qp_modify_nonstate(struct siw_qp *qp, in siw_qp_modify_nonstate() 634 static int siw_qp_nextstate_from_idle(struct siw_qp *qp, in siw_qp_nextstate_from_idle() 703 static int siw_qp_nextstate_from_rts(struct siw_qp *qp, in siw_qp_nextstate_from_rts() [all …]
|
D | siw_qp_rx.c | 330 static struct siw_wqe *siw_rqe_get(struct siw_qp *qp) in siw_rqe_get() 421 int siw_proc_send(struct siw_qp *qp) in siw_proc_send() 540 int siw_proc_write(struct siw_qp *qp) in siw_proc_write() 631 int siw_proc_rreq(struct siw_qp *qp) in siw_proc_rreq() 660 static int siw_init_rresp(struct siw_qp *qp, struct siw_rx_stream *srx) in siw_init_rresp() 743 static int siw_orqe_start_rx(struct siw_qp *qp) in siw_orqe_start_rx() 786 int siw_proc_rresp(struct siw_qp *qp) in siw_proc_rresp() 884 int siw_proc_terminate(struct siw_qp *qp) in siw_proc_terminate() 961 static int siw_get_trailer(struct siw_qp *qp, struct siw_rx_stream *srx) in siw_get_trailer() 1010 struct siw_qp *qp = rx_qp(srx); in siw_get_hdr() local [all …]
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_qp.c | 12 void erdma_qp_llp_close(struct erdma_qp *qp) in erdma_qp_llp_close() 43 struct erdma_qp *qp = find_qp_by_qpn(to_edev(ibdev), id); in erdma_get_ibqp() local 51 static int erdma_modify_qp_state_to_rts(struct erdma_qp *qp, in erdma_modify_qp_state_to_rts() 102 static int erdma_modify_qp_state_to_stop(struct erdma_qp *qp, in erdma_modify_qp_state_to_stop() 120 int erdma_modify_qp_internal(struct erdma_qp *qp, struct erdma_qp_attrs *attrs, in erdma_modify_qp_internal() 188 struct erdma_qp *qp = container_of(ref, struct erdma_qp, ref); in erdma_qp_safe_free() local 193 void erdma_qp_put(struct erdma_qp *qp) in erdma_qp_put() 199 void erdma_qp_get(struct erdma_qp *qp) in erdma_qp_get() 204 static int fill_inline_data(struct erdma_qp *qp, in fill_inline_data() 251 static int fill_sgl(struct erdma_qp *qp, const struct ib_send_wr *send_wr, in fill_sgl() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 58 static inline void get_cqs(struct pvrdma_qp *qp, struct pvrdma_cq **send_cq, in get_cqs() 101 static void pvrdma_reset_qp(struct pvrdma_qp *qp) in pvrdma_reset_qp() 132 struct pvrdma_qp *qp) in pvrdma_set_rq_size() 157 struct pvrdma_qp *qp) in pvrdma_set_sq_size() 194 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_create_qp() local 430 static void _pvrdma_free_qp(struct pvrdma_qp *qp) in _pvrdma_free_qp() 451 static void pvrdma_free_qp(struct pvrdma_qp *qp) in pvrdma_free_qp() 499 int pvrdma_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in pvrdma_destroy_qp() 510 struct pvrdma_qp *qp) in __pvrdma_destroy_qp() 529 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_modify_qp() local [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 423 static void rvt_free_qp_cb(struct rvt_qp *qp, u64 v) in rvt_free_qp_cb() 581 static void rvt_clear_mr_refs(struct rvt_qp *qp, int clr_sends) in rvt_clear_mr_refs() 641 static bool rvt_qp_sends_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_sends_has_lkey() 665 static bool rvt_qp_acks_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_acks_has_lkey() 690 void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey) in rvt_qp_mr_clean() 731 static void rvt_remove_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp) in rvt_remove_qp() 825 static void rvt_init_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_init_qp() 877 static void _rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in _rvt_reset_qp() 933 static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_reset_qp() 979 static void free_ud_wq_attr(struct rvt_qp *qp) in free_ud_wq_attr() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 233 void qib_notify_qp_reset(struct rvt_qp *qp) in qib_notify_qp_reset() 240 void qib_notify_error_qp(struct rvt_qp *qp) in qib_notify_error_qp() 291 int qib_get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp, in qib_get_pmtu_from_attr() 314 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in qib_mtu_from_qp() 319 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_alloc() 340 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_free() 348 void qib_stop_send_queue(struct rvt_qp *qp) in qib_stop_send_queue() 355 void qib_quiesce_qp(struct rvt_qp *qp) in qib_quiesce_qp() 366 void qib_flush_qp_waiters(struct rvt_qp *qp) in qib_flush_qp_waiters() 385 int qib_check_send_wqe(struct rvt_qp *qp, in qib_check_send_wqe() [all …]
|
D | qib_rc.c | 62 static int qib_make_rc_ack(struct qib_ibdev *dev, struct rvt_qp *qp, in qib_make_rc_ack() 216 int qib_make_rc_req(struct rvt_qp *qp, unsigned long *flags) in qib_make_rc_req() 598 void qib_send_rc_ack(struct rvt_qp *qp) in qib_send_rc_ack() 736 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn() 821 void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait) in qib_restart_rc() 857 static void reset_sending_psn(struct rvt_qp *qp, u32 psn) in reset_sending_psn() 882 void qib_rc_send_complete(struct rvt_qp *qp, struct ib_header *hdr) in qib_rc_send_complete() 941 static inline void update_last_psn(struct rvt_qp *qp, u32 psn) in update_last_psn() 951 static struct rvt_swqe *do_rc_completion(struct rvt_qp *qp, in do_rc_completion() 1007 static int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 60 static void bnxt_qplib_cancel_phantom_processing(struct bnxt_qplib_qp *qp) in bnxt_qplib_cancel_phantom_processing() 68 static void __bnxt_qplib_add_flush_qp(struct bnxt_qplib_qp *qp) in __bnxt_qplib_add_flush_qp() 92 static void bnxt_qplib_acquire_cq_flush_locks(struct bnxt_qplib_qp *qp, in bnxt_qplib_acquire_cq_flush_locks() 103 static void bnxt_qplib_release_cq_flush_locks(struct bnxt_qplib_qp *qp, in bnxt_qplib_release_cq_flush_locks() 114 void bnxt_qplib_add_flush_qp(struct bnxt_qplib_qp *qp) in bnxt_qplib_add_flush_qp() 123 static void __bnxt_qplib_del_flush_qp(struct bnxt_qplib_qp *qp) in __bnxt_qplib_del_flush_qp() 137 void bnxt_qplib_clean_qp(struct bnxt_qplib_qp *qp) in bnxt_qplib_clean_qp() 175 struct bnxt_qplib_qp *qp) in bnxt_qplib_free_qp_hdr_buf() 197 struct bnxt_qplib_qp *qp) in bnxt_qplib_alloc_qp_hdr_buf() 810 int bnxt_qplib_create_qp1(struct bnxt_qplib_res *res, struct bnxt_qplib_qp *qp) in bnxt_qplib_create_qp1() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | qp.c | 105 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp() 115 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp() 143 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0() 166 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe() 171 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe() 176 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe() 186 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n) in stamp_send_wqe() 203 static void mlx4_ib_qp_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_qp_event() 249 static void mlx4_ib_wq_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_wq_event() 302 bool is_user, bool has_rq, struct mlx4_ib_qp *qp, in set_rq_size() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1081 static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_add_qpn_map() 1092 static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_del_qpn_map() 1171 static int ocrdma_copy_qp_uresp(struct ocrdma_qp *qp, in ocrdma_copy_qp_uresp() 1230 static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp, in ocrdma_set_qp_db() 1250 static int ocrdma_alloc_wr_id_tbl(struct ocrdma_qp *qp) in ocrdma_alloc_wr_id_tbl() 1265 static void ocrdma_set_qp_init_params(struct ocrdma_qp *qp, in ocrdma_set_qp_init_params() 1299 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_create_qp() local 1368 struct ocrdma_qp *qp; in _ocrdma_modify_qp() local 1389 struct ocrdma_qp *qp; in ocrdma_modify_qp() local 1462 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_query_qp() local [all …]
|
/linux-6.1.9/drivers/infiniband/core/ |
D | counters.c | 79 const struct ib_qp *qp, in auto_mode_init_counter() 92 struct ib_qp *qp) in __rdma_counter_bind_qp() 142 struct ib_qp *qp, in alloc_and_bind() 225 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match() 241 static int __rdma_counter_unbind_qp(struct ib_qp *qp) in __rdma_counter_unbind_qp() 278 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode() 323 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u32 port) in rdma_counter_bind_qp_auto() 361 int rdma_counter_unbind_qp(struct ib_qp *qp, bool force) in rdma_counter_unbind_qp() 447 struct ib_qp *qp = NULL; in rdma_counter_get_qp() local 489 struct ib_qp *qp; in rdma_counter_bind_qpn() local [all …]
|
D | rw.c | 91 static int rdma_rw_init_one_mr(struct ib_qp *qp, u32 port_num, in rdma_rw_init_one_mr() 124 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs() 195 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs() 251 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr() 292 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init() 364 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_signature_init() 497 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_wrs() 555 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_post() 574 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy() 613 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy_signature() [all …]
|
/linux-6.1.9/drivers/ntb/ |
D | ntb_transport.c | 120 struct ntb_transport_qp *qp; member 272 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument 466 struct ntb_transport_qp *qp; in debugfs_read() local 616 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_mw() local 685 struct ntb_transport_qp *qp = dev; in ntb_transport_isr() local 695 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_peer_msi() local 722 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_msi() local 912 static void ntb_qp_link_down_reset(struct ntb_transport_qp *qp) in ntb_qp_link_down_reset() 935 static void ntb_qp_link_cleanup(struct ntb_transport_qp *qp) in ntb_qp_link_cleanup() 951 struct ntb_transport_qp *qp = container_of(work, in ntb_qp_link_cleanup_work() local [all …]
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 196 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp) in is_sqp() 202 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0() 208 static void *get_recv_wqe(struct mthca_qp *qp, int n) in get_recv_wqe() 217 static void *get_send_wqe(struct mthca_qp *qp, int n) in get_send_wqe() 241 struct mthca_qp *qp; in mthca_qp_event() local 328 static __be32 get_hw_access_flags(struct mthca_qp *qp, const struct ib_qp_attr *attr, in get_hw_access_flags() 434 struct mthca_qp *qp = to_mqp(ibqp); in mthca_query_qp() local 563 struct mthca_qp *qp = to_mqp(ibqp); in __mthca_modify_qp() local 862 struct mthca_qp *qp = to_mqp(ibqp); in mthca_modify_qp() local 931 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 58 void qedr_store_gsi_qp_cq(struct qedr_dev *dev, struct qedr_qp *qp, in qedr_store_gsi_qp_cq() 76 struct qedr_qp *qp = dev->gsi_qp; in qedr_ll2_complete_tx_packet() local 101 struct qedr_qp *qp = dev->gsi_qp; in qedr_ll2_complete_rx_packet() local 263 struct ib_qp_init_attr *attrs, struct qedr_qp *qp) in qedr_ll2_start() 323 struct qedr_qp *qp) in qedr_create_gsi_qp() 381 struct qedr_qp *qp, in qedr_gsi_build_header() 492 struct qedr_qp *qp, in qedr_gsi_build_packet() 546 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_send() local 616 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_recv() local 675 struct qedr_qp *qp = dev->gsi_qp; in qedr_gsi_poll_cq() local
|