/linux/drivers/infiniband/hw/hfi1/ |
A D | qp.c | 444 struct rvt_qp *qp; in iowait_sleep() local 495 struct rvt_qp *qp = iowait_to_qp(wait); in iowait_wakeup() local 503 struct rvt_qp *qp = iowait_to_qp(wait); in iowait_sdma_drained() local 522 struct rvt_qp *qp = iowait_to_qp(w); in hfi1_init_priority() local 584 static int qp_idle(struct rvt_qp *qp) in qp_idle() 601 struct rvt_qp *qp = iter->qp; in qp_iter_print() local 739 void stop_send_queue(struct rvt_qp *qp) in stop_send_queue() 748 void quiesce_qp(struct rvt_qp *qp) in quiesce_qp() 759 void notify_qp_reset(struct rvt_qp *qp) in notify_qp_reset() 774 void hfi1_migrate_qp(struct rvt_qp *qp) in hfi1_migrate_qp() [all …]
|
A D | tid_rdma.c | 321 struct rvt_qp *qp) in qp_to_rcd() 647 struct rvt_qp *qp; in tid_rdma_trigger_resume() local 1709 struct rvt_qp *qp = req->qp; in hfi1_build_tid_rdma_read_packet() local 2231 struct rvt_qp *qp = packet->qp; in hfi1_rc_rcv_tid_rdma_read_req() local 2452 struct rvt_qp *qp = packet->qp; in hfi1_rc_rcv_tid_rdma_read_resp() local 2604 struct rvt_qp *qp = packet->qp; in tid_rdma_tid_err() local 2667 struct rvt_qp *qp = packet->qp; in handle_read_kdeth_eflags() local 2860 struct rvt_qp *qp; in hfi1_handle_kdeth_eflags() local 3660 struct rvt_qp *qp = packet->qp; in hfi1_rc_rcv_tid_rdma_write_req() local 4041 struct rvt_qp *qp = packet->qp; in hfi1_rc_rcv_tid_rdma_write_resp() local [all …]
|
A D | rc.c | 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 1458 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn() 1824 struct rvt_swqe *do_rc_completion(struct rvt_qp *qp, in do_rc_completion() 2307 struct rvt_qp *qp = packet->qp; in rc_rcv_resp() local 2484 static inline void rc_cancel_ack(struct rvt_qp *qp) in rc_cancel_ack() 2511 struct rvt_qp *qp, u32 opcode, u32 psn, in rc_rcv_error() 2768 struct rvt_qp *qp = packet->qp; in hfi1_rc_rcv() local [all …]
|
A 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()
|
A D | opfn.c | 41 static void opfn_conn_request(struct rvt_qp *qp) in opfn_conn_request() 127 static void opfn_schedule_conn_request(struct rvt_qp *qp) in opfn_schedule_conn_request() 135 void opfn_conn_response(struct rvt_qp *qp, struct rvt_ack_entry *e, in opfn_conn_response() 175 void opfn_conn_reply(struct rvt_qp *qp, u64 data) in opfn_conn_reply() 214 void opfn_conn_error(struct rvt_qp *qp) in opfn_conn_error() 242 void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask) in opfn_qp_init() 293 void opfn_trigger_conn_request(struct rvt_qp *qp, u32 bth1) in opfn_trigger_conn_request()
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_qp.c | 121 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 147 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 160 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 200 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 272 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 407 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() 493 static void rxe_qp_reset(struct rxe_qp *qp) in rxe_qp_reset() 550 static void rxe_qp_drain(struct rxe_qp *qp) in rxe_qp_drain() 565 void rxe_qp_error(struct rxe_qp *qp) in rxe_qp_error() 775 void rxe_qp_destroy(struct rxe_qp *qp) in rxe_qp_destroy() [all …]
|
A D | rxe_resp.c | 95 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 120 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 164 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 292 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 388 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 403 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 647 static enum resp_states read_reply(struct rxe_qp *qp, in read_reply() 834 static enum resp_states do_complete(struct rxe_qp *qp, in do_complete() 996 static enum resp_states acknowledge(struct rxe_qp *qp, in acknowledge() 1012 static enum resp_states cleanup(struct rxe_qp *qp, in cleanup() [all …]
|
A D | rxe_req.c | 17 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 41 static void req_retry(struct rxe_qp *qp) in req_retry() 104 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() local 110 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 353 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() 363 static struct sk_buff *init_req_packet(struct rxe_qp *qp, in init_req_packet() 491 static void update_wqe_state(struct rxe_qp *qp, in update_wqe_state() 503 static void update_wqe_psn(struct rxe_qp *qp, in update_wqe_psn() 527 struct rxe_qp *qp, in save_state() 538 struct rxe_qp *qp, in rollback_state() [all …]
|
A D | rxe_comp.c | 115 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() local 123 void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb) in rxe_comp_queue_pkt() 136 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 164 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 171 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 210 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 341 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 361 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 457 static inline enum comp_state complete_ack(struct rxe_qp *qp, in complete_ack() 549 struct rxe_qp *qp = pkt->qp; in free_pkt() local [all …]
|
A D | rxe_loc.h | 136 static inline int qp_num(struct rxe_qp *qp) in qp_num() 141 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type() 146 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() 151 static inline int qp_mtu(struct rxe_qp *qp) in qp_mtu() 167 static inline void rxe_advance_resp_resource(struct rxe_qp *qp) in rxe_advance_resp_resource() 206 static inline unsigned int wr_opcode_mask(int opcode, struct rxe_qp *qp) in wr_opcode_mask()
|
A D | rxe_mw.c | 43 struct rxe_qp *qp = mw->qp; in rxe_do_dealloc_mw() local 71 static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_check_bind_mw() 163 static void rxe_do_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in rxe_do_bind_mw() 192 int rxe_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in rxe_bind_mw() 246 static int rxe_check_invalidate_mw(struct rxe_qp *qp, struct rxe_mw *mw) in rxe_check_invalidate_mw() 260 struct rxe_qp *qp; in rxe_do_invalidate_mw() local 280 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) in rxe_invalidate_mw() 313 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) in rxe_lookup_mw()
|
/linux/drivers/infiniband/sw/siw/ |
A 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() 226 static int siw_qp_enable_crc(struct siw_qp *qp) in siw_qp_enable_crc() 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() 881 static int siw_activate_tx_from_sq(struct siw_qp *qp) in siw_activate_tx_from_sq() 977 int siw_activate_tx(struct siw_qp *qp) in siw_activate_tx() 1188 void siw_sq_flush(struct siw_qp *qp) in siw_sq_flush() [all …]
|
A 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() 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() 1009 struct siw_qp *qp = rx_qp(srx); in siw_get_hdr() local 1147 static int siw_check_tx_fence(struct siw_qp *qp) in siw_check_tx_fence() 1214 static int siw_rdmap_complete(struct siw_qp *qp, int error) in siw_rdmap_complete() [all …]
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_qp.c | 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() 510 struct pvrdma_qp *qp) in __pvrdma_destroy_qp() 529 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_modify_qp() local 674 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_post_send() local 886 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_post_recv() local [all …]
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | qp.c | 1034 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_create_qp() local 1408 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_modify_qp() local 1681 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_destroy_qp() local 1723 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_query_qp() local 1786 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp); in rvt_post_recv() local 1865 struct rvt_qp *qp, in rvt_qp_valid_operation() 1912 struct rvt_qp *qp, in rvt_qp_is_avail() 2452 void rvt_comm_est(struct rvt_qp *qp) in rvt_comm_est() 2689 struct rvt_qp *qp; in rvt_qp_iter_next() local 2752 void (*cb)(struct rvt_qp *qp, u64 v)) in rvt_qp_iter() [all …]
|
/linux/drivers/infiniband/hw/qib/ |
A 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 …]
|
A 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() 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() 1272 struct rvt_qp *qp, in qib_rc_rcv_resp() 1495 struct rvt_qp *qp, in qib_rc_rcv_error() [all …]
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_fp.c | 174 struct bnxt_qplib_qp *qp) in bnxt_qplib_free_qp_hdr_buf() 196 struct bnxt_qplib_qp *qp) in bnxt_qplib_alloc_qp_hdr_buf() 1461 struct bnxt_qplib_qp *qp) in bnxt_qplib_destroy_qp() 1489 struct bnxt_qplib_qp *qp) in bnxt_qplib_free_qp_res() 2215 struct bnxt_qplib_qp *qp = qp_handle; in bnxt_qplib_mark_qp_error() local 2333 struct bnxt_qplib_qp *qp; in bnxt_qplib_cq_process_req() local 2440 struct bnxt_qplib_qp *qp; in bnxt_qplib_cq_process_res_rc() local 2521 struct bnxt_qplib_qp *qp; in bnxt_qplib_cq_process_res_ud() local 2620 struct bnxt_qplib_qp *qp; in bnxt_qplib_cq_process_res_raweth_qp1() local 2714 struct bnxt_qplib_qp *qp; in bnxt_qplib_cq_process_terminal() local [all …]
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | qp.c | 412 struct mlx4_ib_qp *qp, in set_user_sq_size() 502 struct mlx4_ib_qp *qp) in mlx4_ib_free_qp_counter() 618 struct mlx4_ib_qp *qp) in create_qp_rss() 954 struct mlx4_ib_qp *qp) in create_qp_common() 1588 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_create_qp() local 1864 const struct ib_qp_attr *qp, in mlx4_set_alt_path() 1888 struct mlx4_ib_qp *qp, in handle_eth_ud_smac_index() 2049 struct mlx4_ib_qp *qp) in fill_qp_rss_context() 2080 struct mlx4_ib_qp *qp; in __mlx4_ib_modify_qp() local 2660 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_modify_qp() local [all …]
|
/linux/drivers/infiniband/core/ |
A 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() 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 539 struct ib_qp *qp; in rdma_counter_bind_qpn_alloc() local [all …]
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_verbs.c | 1297 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_create_qp() local 1366 struct ocrdma_qp *qp; in _ocrdma_modify_qp() local 1387 struct ocrdma_qp *qp; in ocrdma_modify_qp() local 1460 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_query_qp() local 1672 struct ocrdma_qp *qp; in ocrdma_destroy_qp() local 2474 struct ocrdma_qp *qp, int status) in ocrdma_update_err_cqe() 2496 struct ocrdma_qp *qp, int status) in ocrdma_update_err_rcqe() 2506 struct ocrdma_qp *qp, int status) in ocrdma_update_err_scqe() 2630 struct ocrdma_qp *qp) in ocrdma_update_free_srq_cqe() 2762 struct ocrdma_qp *qp = NULL; in ocrdma_poll_hwcq() local [all …]
|
/linux/drivers/ntb/ |
A D | ntb_transport.c | 120 struct ntb_transport_qp *qp; member 466 struct ntb_transport_qp *qp; in debugfs_read() local 685 struct ntb_transport_qp *qp = dev; in ntb_transport_isr() local 970 struct ntb_transport_qp *qp; in ntb_transport_link_cleanup() local 1159 struct ntb_transport_qp *qp; in ntb_transport_init_queue() local 1404 struct ntb_transport_qp *qp; in ntb_transport_free() local 1523 struct ntb_transport_qp *qp = entry->qp; in ntb_async_rx_submit() local 1590 struct ntb_transport_qp *qp = entry->qp; in ntb_async_rx() local 1729 struct ntb_transport_qp *qp = entry->qp; in ntb_tx_copy_callback() local 1982 struct ntb_transport_qp *qp; in ntb_transport_create_queue() local [all …]
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_qp.c | 241 struct mthca_qp *qp; in mthca_qp_event() local 967 struct mthca_qp *qp) in mthca_adjust_qp_caps() 992 struct mthca_qp *qp, in mthca_alloc_wqe_buf() 1084 struct mthca_qp *qp) in mthca_free_wqe_buf() 1093 struct mthca_qp *qp) in mthca_map_memfree() 1125 struct mthca_qp *qp) in mthca_unmap_memfree() 1134 struct mthca_qp *qp) in mthca_alloc_memfree() 1167 struct mthca_qp *qp, in mthca_alloc_qp_common() 1298 struct mthca_qp *qp, in mthca_alloc_qp() 1374 struct mthca_qp *qp, in mthca_alloc_sqp() [all …]
|
/linux/drivers/infiniband/hw/qedr/ |
A 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
|
/linux/drivers/interconnect/qcom/ |
A D | icc-rpm.c | 42 static int qcom_icc_bimc_set_qos_health(struct qcom_icc_provider *qp, in qcom_icc_bimc_set_qos_health() 68 struct qcom_icc_provider *qp; in qcom_icc_set_bimc_qos() local 102 static int qcom_icc_noc_set_qos_priority(struct qcom_icc_provider *qp, in qcom_icc_noc_set_qos_priority() 123 struct qcom_icc_provider *qp; in qcom_icc_set_noc_qos() local 161 struct qcom_icc_provider *qp = to_qcom_provider(node->provider); in qcom_icc_qos_set() local 205 struct qcom_icc_provider *qp; in qcom_icc_set() local 271 struct qcom_icc_provider *qp; in qnoc_probe() local 392 struct qcom_icc_provider *qp = platform_get_drvdata(pdev); in qnoc_remove() local
|