/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | qp.c | 137 static void flush_tx_list(struct rvt_qp *qp) in flush_tx_list() 154 static void flush_iowait(struct rvt_qp *qp) in flush_iowait() 198 int hfi1_check_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_check_modify_qp() 240 static inline void qp_set_16b(struct rvt_qp *qp) in qp_set_16b() 260 void hfi1_modify_qp(struct rvt_qp *qp, struct ib_qp_attr *attr, in hfi1_modify_qp() 297 int hfi1_check_send_wqe(struct rvt_qp *qp, in hfi1_check_send_wqe() 336 void _hfi1_schedule_send(struct rvt_qp *qp) in _hfi1_schedule_send() 350 static void qp_pio_drain(struct rvt_qp *qp) in qp_pio_drain() 376 void hfi1_schedule_send(struct rvt_qp *qp) in hfi1_schedule_send() 383 void hfi1_qp_wakeup(struct rvt_qp *qp, u32 flag) in hfi1_qp_wakeup() [all …]
|
D | ruc.c | 73 struct rvt_qp *qp = packet->qp; in hfi1_ruc_check_hdr() local 172 struct rvt_qp *qp; in ruc_loopback() local 532 static inline void build_ahg(struct rvt_qp *qp, u32 npsn) in build_ahg() 576 static inline void hfi1_make_ruc_bth(struct rvt_qp *qp, in hfi1_make_ruc_bth() 600 static inline void hfi1_make_ruc_header_16B(struct rvt_qp *qp, in hfi1_make_ruc_header_16B() 688 static inline void hfi1_make_ruc_header_9B(struct rvt_qp *qp, in hfi1_make_ruc_header_9B() 754 void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, in hfi1_make_ruc_header() 795 static bool schedule_send_yield(struct rvt_qp *qp, in schedule_send_yield() 821 void hfi1_do_send_from_rvt(struct rvt_qp *qp) in hfi1_do_send_from_rvt() 829 struct rvt_qp *qp = iowait_to_qp(wait); in _hfi1_do_send() local [all …]
|
D | rc.c | 85 static int make_rc_ack(struct hfi1_ibdev *dev, struct rvt_qp *qp, in make_rc_ack() 256 int hfi1_make_rc_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_rc_req() 715 static inline void hfi1_make_bth_aeth(struct rvt_qp *qp, in hfi1_make_bth_aeth() 733 struct rvt_qp *qp = packet->qp; in hfi1_queue_rc_ack() local 760 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_9B() local 808 struct rvt_qp *qp = packet->qp; in hfi1_make_rc_ack_16B() local 878 struct rvt_qp *qp = packet->qp; in hfi1_send_rc_ack() local 947 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn() 1034 void hfi1_restart_rc(struct rvt_qp *qp, u32 psn, int wait) in hfi1_restart_rc() 1074 static void reset_sending_psn(struct rvt_qp *qp, u32 psn) in reset_sending_psn() [all …]
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 123 static int alloc_rd_atomic_resources(struct rxe_qp *qp, unsigned int n) in alloc_rd_atomic_resources() 135 static void free_rd_atomic_resources(struct rxe_qp *qp) in free_rd_atomic_resources() 150 void free_rd_atomic_resource(struct rxe_qp *qp, struct resp_res *res) in free_rd_atomic_resource() 162 static void cleanup_rd_atomic_resources(struct rxe_qp *qp) in cleanup_rd_atomic_resources() 175 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc() 217 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 276 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 325 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 375 int rxe_qp_to_init(struct rxe_qp *qp, struct ib_qp_init_attr *init) in rxe_qp_to_init() 403 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr() [all …]
|
D | rxe_req.c | 44 static inline void retry_first_write_send(struct rxe_qp *qp, in retry_first_write_send() 68 static void req_retry(struct rxe_qp *qp) in req_retry() 123 struct rxe_qp *qp = from_timer(qp, t, rnr_nak_timer); in rnr_nak_timer() local 129 static struct rxe_send_wqe *req_next_wqe(struct rxe_qp *qp) in req_next_wqe() 191 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() 263 static int next_opcode_uc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_uc() 314 static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in next_opcode() 345 static inline int check_init_depth(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in check_init_depth() 365 static inline int get_mtu(struct rxe_qp *qp) in get_mtu() 375 static struct sk_buff *init_req_packet(struct rxe_qp *qp, in init_req_packet() [all …]
|
D | rxe_resp.c | 107 void rxe_resp_queue_pkt(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_resp_queue_pkt() 121 static inline enum resp_states get_req(struct rxe_qp *qp, in get_req() 148 static enum resp_states check_psn(struct rxe_qp *qp, in check_psn() 192 static enum resp_states check_op_seq(struct rxe_qp *qp, in check_op_seq() 282 static enum resp_states check_op_valid(struct rxe_qp *qp, in check_op_valid() 320 static enum resp_states get_srq_wqe(struct rxe_qp *qp) in get_srq_wqe() 362 static enum resp_states check_resource(struct rxe_qp *qp, in check_resource() 406 static enum resp_states check_length(struct rxe_qp *qp, in check_length() 421 static enum resp_states check_rkey(struct rxe_qp *qp, in check_rkey() 510 static enum resp_states send_data_in(struct rxe_qp *qp, void *data_addr, in send_data_in() [all …]
|
D | rxe_comp.c | 141 struct rxe_qp *qp = from_timer(qp, t, retrans_timer); in retransmit_timer() local 149 void rxe_comp_queue_pkt(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_comp_queue_pkt() 162 static inline enum comp_state get_wqe(struct rxe_qp *qp, in get_wqe() 190 static inline void reset_retry_counters(struct rxe_qp *qp) in reset_retry_counters() 196 static inline enum comp_state check_psn(struct rxe_qp *qp, in check_psn() 235 static inline enum comp_state check_ack(struct rxe_qp *qp, in check_ack() 355 static inline enum comp_state do_read(struct rxe_qp *qp, in do_read() 373 static inline enum comp_state do_atomic(struct rxe_qp *qp, in do_atomic() 390 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe, in make_send_cqe() 428 static void do_complete(struct rxe_qp *qp, struct rxe_send_wqe *wqe) in do_complete() [all …]
|
D | rxe_loc.h | 179 static inline int qp_num(struct rxe_qp *qp) in qp_num() 184 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) in qp_type() 189 static inline enum ib_qp_state qp_state(struct rxe_qp *qp) in qp_state() 194 static inline int qp_mtu(struct rxe_qp *qp) in qp_mtu() 210 static inline void rxe_advance_resp_resource(struct rxe_qp *qp) in rxe_advance_resp_resource() 249 static inline unsigned int wr_opcode_mask(int opcode, struct rxe_qp *qp) in wr_opcode_mask() 254 static inline int rxe_xmit_packet(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_xmit_packet()
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 280 struct rvt_qp *qp; in rvt_free_all_qps() local 430 static void rvt_clear_mr_refs(struct rvt_qp *qp, int clr_sends) in rvt_clear_mr_refs() 496 static bool rvt_qp_sends_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_sends_has_lkey() 520 static bool rvt_qp_acks_has_lkey(struct rvt_qp *qp, u32 lkey) in rvt_qp_acks_has_lkey() 545 void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey) in rvt_qp_mr_clean() 586 static void rvt_remove_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp) in rvt_remove_qp() 638 static void rvt_init_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_init_qp() 692 static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, in rvt_reset_qp() 770 struct rvt_qp *qp; in rvt_create_qp() local 1050 int rvt_error_qp(struct rvt_qp *qp, enum ib_wc_status err) in rvt_error_qp() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 55 static inline void get_cqs(struct pvrdma_qp *qp, struct pvrdma_cq **send_cq, in get_cqs() 98 static void pvrdma_reset_qp(struct pvrdma_qp *qp) in pvrdma_reset_qp() 129 struct pvrdma_qp *qp) in pvrdma_set_rq_size() 154 struct pvrdma_qp *qp) in pvrdma_set_sq_size() 192 struct pvrdma_qp *qp = NULL; in pvrdma_create_qp() local 409 static void pvrdma_free_qp(struct pvrdma_qp *qp) in pvrdma_free_qp() 454 int pvrdma_destroy_qp(struct ib_qp *qp) in pvrdma_destroy_qp() 488 struct pvrdma_qp *qp = to_vqp(ibqp); in pvrdma_modify_qp() local 590 static inline void *get_sq_wqe(struct pvrdma_qp *qp, unsigned int n) in get_sq_wqe() 596 static inline void *get_rq_wqe(struct pvrdma_qp *qp, unsigned int n) in get_rq_wqe() [all …]
|
/Linux-v4.19/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() 389 int qib_check_send_wqe(struct rvt_qp *qp, in qib_check_send_wqe() [all …]
|
D | qib_rc.c | 67 static int qib_make_rc_ack(struct qib_ibdev *dev, struct rvt_qp *qp, in qib_make_rc_ack() 220 int qib_make_rc_req(struct rvt_qp *qp, unsigned long *flags) in qib_make_rc_req() 608 void qib_send_rc_ack(struct rvt_qp *qp) in qib_send_rc_ack() 746 static void reset_psn(struct rvt_qp *qp, u32 psn) in reset_psn() 831 void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait) in qib_restart_rc() 867 static void reset_sending_psn(struct rvt_qp *qp, u32 psn) in reset_sending_psn() 892 void qib_rc_send_complete(struct rvt_qp *qp, struct ib_header *hdr) in qib_rc_send_complete() 960 static inline void update_last_psn(struct rvt_qp *qp, u32 psn) in update_last_psn() 970 static struct rvt_swqe *do_rc_completion(struct rvt_qp *qp, in do_rc_completion() 1035 static int do_rc_ack(struct rvt_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() [all …]
|
D | qib_ruc.c | 44 void qib_migrate_qp(struct rvt_qp *qp) in qib_migrate_qp() 83 int has_grh, struct rvt_qp *qp, u32 bth0) in qib_ruc_check_hdr() 190 struct rvt_qp *qp; in qib_ruc_loopback() local 507 void qib_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, in qib_make_ruc_header() 551 struct rvt_qp *qp = priv->owner; in _qib_do_send() local 564 void qib_do_send(struct rvt_qp *qp) in qib_do_send() 620 void qib_send_complete(struct rvt_qp *qp, struct rvt_swqe *wqe, in qib_send_complete()
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 57 static void bnxt_qplib_cancel_phantom_processing(struct bnxt_qplib_qp *qp) in bnxt_qplib_cancel_phantom_processing() 65 static void __bnxt_qplib_add_flush_qp(struct bnxt_qplib_qp *qp) in __bnxt_qplib_add_flush_qp() 91 static void bnxt_qplib_acquire_cq_flush_locks(struct bnxt_qplib_qp *qp, in bnxt_qplib_acquire_cq_flush_locks() 102 static void bnxt_qplib_release_cq_flush_locks(struct bnxt_qplib_qp *qp, in bnxt_qplib_release_cq_flush_locks() 113 void bnxt_qplib_add_flush_qp(struct bnxt_qplib_qp *qp) in bnxt_qplib_add_flush_qp() 122 static void __bnxt_qplib_del_flush_qp(struct bnxt_qplib_qp *qp) in __bnxt_qplib_del_flush_qp() 136 void bnxt_qplib_clean_qp(struct bnxt_qplib_qp *qp) in bnxt_qplib_clean_qp() 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() 716 int bnxt_qplib_create_qp1(struct bnxt_qplib_res *res, struct bnxt_qplib_qp *qp) in bnxt_qplib_create_qp1() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | qp.c | 80 struct mlx4_ib_qp qp; member 129 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp() 139 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp() 167 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0() 190 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe() 195 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe() 200 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe() 210 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n) in stamp_send_wqe() 227 static void mlx4_ib_qp_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_qp_event() 273 static void mlx4_ib_wq_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_wq_event() [all …]
|
/Linux-v4.19/drivers/ntb/ |
D | ntb_transport.c | 114 struct ntb_transport_qp *qp; member 253 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument 449 struct ntb_transport_qp *qp; in debugfs_read() local 599 struct ntb_transport_qp *qp = &nt->qp_vec[qp_num]; in ntb_transport_setup_qp_mw() local 749 static void ntb_qp_link_down_reset(struct ntb_transport_qp *qp) in ntb_qp_link_down_reset() 772 static void ntb_qp_link_cleanup(struct ntb_transport_qp *qp) in ntb_qp_link_cleanup() 788 struct ntb_transport_qp *qp = container_of(work, in ntb_qp_link_cleanup_work() local 800 static void ntb_qp_link_down(struct ntb_transport_qp *qp) in ntb_qp_link_down() 807 struct ntb_transport_qp *qp; in ntb_transport_link_cleanup() local 917 struct ntb_transport_qp *qp = &nt->qp_vec[i]; in ntb_transport_link_work() local [all …]
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_uk.c | 47 static enum i40iw_status_code i40iw_nop_1(struct i40iw_qp_uk *qp) in i40iw_nop_1() 87 void i40iw_qp_post_wr(struct i40iw_qp_uk *qp) in i40iw_qp_post_wr() 122 static void i40iw_qp_ring_push_db(struct i40iw_qp_uk *qp, u32 wqe_idx) in i40iw_qp_ring_push_db() 134 u64 *i40iw_qp_get_next_send_wqe(struct i40iw_qp_uk *qp, in i40iw_qp_get_next_send_wqe() 220 u64 *i40iw_qp_get_next_recv_wqe(struct i40iw_qp_uk *qp, u32 *wqe_idx) in i40iw_qp_get_next_recv_wqe() 245 static enum i40iw_status_code i40iw_rdma_write(struct i40iw_qp_uk *qp, in i40iw_rdma_write() 314 static enum i40iw_status_code i40iw_rdma_read(struct i40iw_qp_uk *qp, in i40iw_rdma_read() 362 static enum i40iw_status_code i40iw_send(struct i40iw_qp_uk *qp, in i40iw_send() 422 static enum i40iw_status_code i40iw_inline_rdma_write(struct i40iw_qp_uk *qp, in i40iw_inline_rdma_write() 497 static enum i40iw_status_code i40iw_inline_send(struct i40iw_qp_uk *qp, in i40iw_inline_send() [all …]
|
/Linux-v4.19/drivers/infiniband/core/ |
D | rw.c | 68 static int rdma_rw_init_one_mr(struct ib_qp *qp, u8 port_num, in rdma_rw_init_one_mr() 107 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs() 177 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs() 234 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr() 276 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_init() 344 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_signature_init() 491 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_wrs() 564 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_post() 583 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_destroy() 621 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy_signature() [all …]
|
D | mr_pool.c | 16 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_get() 33 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr) in ib_mr_pool_put() 44 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr, in ib_mr_pool_init() 70 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_destroy()
|
/Linux-v4.19/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() 324 struct qedr_qp *qp) in qedr_create_gsi_qp() 382 struct qedr_qp *qp, in qedr_gsi_build_header() 490 struct qedr_qp *qp, in qedr_gsi_build_packet() 544 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_send() local 614 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_recv() local 673 struct qedr_qp *qp = dev->gsi_qp; in qedr_gsi_poll_cq() local
|
D | verbs.c | 1219 struct qedr_qp *qp) in qedr_copy_rq_uresp() 1236 struct qedr_qp *qp) in qedr_copy_sq_uresp() 1248 struct qedr_qp *qp, struct ib_udata *udata) in qedr_copy_qp_uresp() 1270 struct qedr_qp *qp, in qedr_set_common_qp_params() 1304 static void qedr_set_roce_db_info(struct qedr_dev *dev, struct qedr_qp *qp) in qedr_set_roce_db_info() 1611 struct qedr_qp *qp, in qedr_init_common_qp_in_params() 1639 static inline void qedr_qp_user_print(struct qedr_dev *dev, struct qedr_qp *qp) in qedr_qp_user_print() 1678 struct qedr_qp *qp, in qedr_iwarp_populate_user_qp() 1695 static void qedr_cleanup_user(struct qedr_dev *dev, struct qedr_qp *qp) in qedr_cleanup_user() 1707 struct qedr_qp *qp, in qedr_create_user_qp() [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_roce.c | 119 static void qed_rdma_copy_gids(struct qed_rdma_qp *qp, __le32 *src_gid, in qed_rdma_copy_gids() 229 static u8 qed_roce_get_qp_tc(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_get_qp_tc() 246 struct qed_rdma_qp *qp) in qed_roce_sp_create_responder() 387 struct qed_rdma_qp *qp) in qed_roce_sp_create_requester() 512 struct qed_rdma_qp *qp, in qed_roce_sp_modify_responder() 605 struct qed_rdma_qp *qp, in qed_roce_sp_modify_requester() 698 struct qed_rdma_qp *qp, in qed_roce_sp_destroy_qp_responder() 778 struct qed_rdma_qp *qp) in qed_roce_sp_destroy_qp_requester() 838 struct qed_rdma_qp *qp, in qed_roce_query_qp() 978 int qed_roce_destroy_qp(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_destroy_qp() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1155 static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_add_qpn_map() 1166 static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_del_qpn_map() 1244 static int ocrdma_copy_qp_uresp(struct ocrdma_qp *qp, in ocrdma_copy_qp_uresp() 1303 static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp, in ocrdma_set_qp_db() 1323 static int ocrdma_alloc_wr_id_tbl(struct ocrdma_qp *qp) in ocrdma_alloc_wr_id_tbl() 1338 static void ocrdma_set_qp_init_params(struct ocrdma_qp *qp, in ocrdma_set_qp_init_params() 1372 struct ocrdma_qp *qp; in ocrdma_create_qp() local 1444 struct ocrdma_qp *qp; in _ocrdma_modify_qp() local 1465 struct ocrdma_qp *qp; in ocrdma_modify_qp() local 1536 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_query_qp() local [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 195 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp) in is_sqp() 201 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0() 207 static void *get_recv_wqe(struct mthca_qp *qp, int n) in get_recv_wqe() 216 static void *get_send_wqe(struct mthca_qp *qp, int n) in get_send_wqe() 240 struct mthca_qp *qp; in mthca_qp_event() local 327 static __be32 get_hw_access_flags(struct mthca_qp *qp, const struct ib_qp_attr *attr, in get_hw_access_flags() 433 struct mthca_qp *qp = to_mqp(ibqp); in mthca_query_qp() local 560 struct mthca_qp *qp = to_mqp(ibqp); in __mthca_modify_qp() local 858 struct mthca_qp *qp = to_mqp(ibqp); in mthca_modify_qp() local 923 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size() [all …]
|
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_nodeqp.c | 105 int scif_setup_qp_connect(struct scif_qp *qp, dma_addr_t *qp_offset, in scif_setup_qp_connect() 155 int scif_setup_qp_accept(struct scif_qp *qp, dma_addr_t *qp_offset, in scif_setup_qp_accept() 231 struct scif_qp *qp, u64 payload) in scif_setup_qp_connect_response() 336 struct scif_qp *qp; in scif_setup_qp() local 620 struct scif_qp *qp = scifdev->qpairs; in _scif_nodeqp_send() local 861 struct scif_qp *qp = &peerdev->qpairs[0]; in scif_poll_qp_state() local 898 struct scif_qp *qp; in scif_node_add_ack() local 1083 struct scif_qp *qp, struct scifmsg *msg) in scif_nodeqp_msg_handler() 1107 void scif_nodeqp_intrhandler(struct scif_dev *scifdev, struct scif_qp *qp) in scif_nodeqp_intrhandler() 1140 struct scif_qp *qp = scifdev->qpairs; in scif_loopb_wq_handler() local [all …]
|