/drivers/infiniband/hw/qib/ |
D | qib_rc.c | 57 static void start_timer(struct qib_qp *qp) in start_timer() 77 static int qib_make_rc_ack(struct qib_ibdev *dev, struct qib_qp *qp, in qib_make_rc_ack() 231 int qib_make_rc_req(struct qib_qp *qp) in qib_make_rc_req() 648 void qib_send_rc_ack(struct qib_qp *qp) in qib_send_rc_ack() 783 static void reset_psn(struct qib_qp *qp, u32 psn) in reset_psn() 868 static void qib_restart_rc(struct qib_qp *qp, u32 psn, int wait) in qib_restart_rc() 905 struct qib_qp *qp = (struct qib_qp *)arg; in rc_timeout() local 928 struct qib_qp *qp = (struct qib_qp *)arg; in qib_rc_rnr_retry() local 944 static void reset_sending_psn(struct qib_qp *qp, u32 psn) in reset_sending_psn() 969 void qib_rc_send_complete(struct qib_qp *qp, struct qib_ib_header *hdr) in qib_rc_send_complete() [all …]
|
D | qib_qp.c | 223 static void insert_qp(struct qib_ibdev *dev, struct qib_qp *qp) in insert_qp() 248 static void remove_qp(struct qib_ibdev *dev, struct qib_qp *qp) in remove_qp() 299 struct qib_qp *qp; in qib_free_all_qps() local 341 struct qib_qp *qp = NULL; in qib_lookup_qpn() local 371 static void qib_reset_qp(struct qib_qp *qp, enum ib_qp_type type) in qib_reset_qp() 418 static void clear_mr_refs(struct qib_qp *qp, int clr_sends) in clear_mr_refs() 474 int qib_error_qp(struct qib_qp *qp, enum ib_wc_status err) in qib_error_qp() 573 struct qib_qp *qp = to_iqp(ibqp); in qib_modify_qp() local 858 struct qib_qp *qp = to_iqp(ibqp); in qib_query_qp() local 911 __be32 qib_compute_aeth(struct qib_qp *qp) in qib_compute_aeth() [all …]
|
D | qib_ruc.c | 81 static int qib_init_sge(struct qib_qp *qp, struct qib_rwqe *wqe) in qib_init_sge() 138 int qib_get_rwqe(struct qib_qp *qp, int wr_id_only) in qib_get_rwqe() 229 void qib_migrate_qp(struct qib_qp *qp) in qib_migrate_qp() 268 int has_grh, struct qib_qp *qp, u32 bth0) in qib_ruc_check_hdr() 358 struct qib_qp *qp; in qib_ruc_loopback() local 674 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr, in qib_make_ruc_header() 719 struct qib_qp *qp = container_of(work, struct qib_qp, s_work); in qib_do_send() local 770 void qib_send_complete(struct qib_qp *qp, struct qib_swqe *wqe, in qib_send_complete()
|
D | qib_verbs.c | 337 static int qib_post_one_send(struct qib_qp *qp, struct ib_send_wr *wr, in qib_post_one_send() 466 struct qib_qp *qp = to_iqp(ibqp); in qib_post_send() local 497 struct qib_qp *qp = to_iqp(ibqp); in qib_post_receive() local 561 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_qp_rcv() 615 struct qib_qp *qp; in qib_ib_rcv() local 710 struct qib_qp *qp = NULL; in mem_timer() local 929 struct qib_qp *qp) in __get_txreq() 960 struct qib_qp *qp) in get_txreq() 984 struct qib_qp *qp; in qib_put_txreq() local 1037 struct qib_qp *qp, *nqp; in qib_verbs_sdma_desc_avail() local [all …]
|
D | qib_verbs_mcast.c | 42 static struct qib_mcast_qp *qib_mcast_qp_alloc(struct qib_qp *qp) in qib_mcast_qp_alloc() 59 struct qib_qp *qp = mqp->qp; in qib_mcast_qp_free() local 227 struct qib_qp *qp = to_iqp(ibqp); in qib_multicast_attach() local 285 struct qib_qp *qp = to_iqp(ibqp); in qib_multicast_detach() local
|
D | qib_ud.c | 53 struct qib_qp *qp; in qib_ud_loopback() local 235 int qib_make_ud_req(struct qib_qp *qp) in qib_make_ud_req() 429 int has_grh, void *data, u32 tlen, struct qib_qp *qp) in qib_ud_rcv()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_qp.c | 209 static int ipath_alloc_qpn(struct ipath_qp_table *qpt, struct ipath_qp *qp, in ipath_alloc_qpn() 243 static void ipath_free_qp(struct ipath_qp_table *qpt, struct ipath_qp *qp) in ipath_free_qp() 274 struct ipath_qp *qp; in ipath_free_all_qps() local 304 struct ipath_qp *qp; in ipath_lookup_qpn() local 324 static void ipath_reset_qp(struct ipath_qp *qp, enum ib_qp_type type) in ipath_reset_qp() 377 int ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err) in ipath_error_qp() 454 struct ipath_qp *qp = to_iqp(ibqp); in ipath_modify_qp() local 624 struct ipath_qp *qp = to_iqp(ibqp); in ipath_query_qp() local 677 __be32 ipath_compute_aeth(struct ipath_qp *qp) in ipath_compute_aeth() 745 struct ipath_qp *qp; in ipath_create_qp() local [all …]
|
D | ipath_ruc.c | 87 void ipath_insert_rnr_queue(struct ipath_qp *qp) in ipath_insert_rnr_queue() 123 int ipath_init_sge(struct ipath_qp *qp, struct ipath_rwqe *wqe, in ipath_init_sge() 166 int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only) in ipath_get_rwqe() 263 struct ipath_qp *qp; in ipath_ruc_loopback() local 517 static void want_buffer(struct ipath_devdata *dd, struct ipath_qp *qp) in want_buffer() 541 static int ipath_no_bufs_available(struct ipath_qp *qp, in ipath_no_bufs_available() 600 void ipath_make_ruc_header(struct ipath_ibdev *dev, struct ipath_qp *qp, in ipath_make_ruc_header() 641 struct ipath_qp *qp = (struct ipath_qp *)data; in ipath_do_send() local 699 void ipath_send_complete(struct ipath_qp *qp, struct ipath_swqe *wqe, in ipath_send_complete()
|
D | ipath_rc.c | 62 static void ipath_init_restart(struct ipath_qp *qp, struct ipath_swqe *wqe) in ipath_init_restart() 86 static int ipath_make_rc_ack(struct ipath_ibdev *dev, struct ipath_qp *qp, in ipath_make_rc_ack() 213 int ipath_make_rc_req(struct ipath_qp *qp) in ipath_make_rc_req() 612 static void send_rc_ack(struct ipath_qp *qp) in send_rc_ack() 724 static void reset_psn(struct ipath_qp *qp, u32 psn) in reset_psn() 805 void ipath_restart_rc(struct ipath_qp *qp, u32 psn) in ipath_restart_rc() 841 static inline void update_last_psn(struct ipath_qp *qp, u32 psn) in update_last_psn() 857 static int do_rc_ack(struct ipath_qp *qp, u32 aeth, u32 psn, int opcode, in do_rc_ack() 1120 struct ipath_qp *qp, in ipath_rc_rcv_resp() 1338 struct ipath_qp *qp, in ipath_rc_rcv_error() [all …]
|
D | ipath_verbs_mcast.c | 53 static struct ipath_mcast_qp *ipath_mcast_qp_alloc(struct ipath_qp *qp) in ipath_mcast_qp_alloc() 70 struct ipath_qp *qp = mqp->qp; in ipath_mcast_qp_free() local 238 struct ipath_qp *qp = to_iqp(ibqp); in ipath_multicast_attach() local 287 struct ipath_qp *qp = to_iqp(ibqp); in ipath_multicast_detach() local
|
D | ipath_verbs.c | 336 static int ipath_post_one_send(struct ipath_qp *qp, struct ib_send_wr *wr) in ipath_post_one_send() 448 struct ipath_qp *qp = to_iqp(ibqp); in ipath_post_send() local 477 struct ipath_qp *qp = to_iqp(ibqp); in ipath_post_receive() local 542 void *data, u32 tlen, struct ipath_qp *qp) in ipath_qp_rcv() 588 struct ipath_qp *qp; in ipath_ib_rcv() local 682 struct ipath_qp *qp; in ipath_ib_timer() local 1031 struct ipath_qp *qp = tx->qp; in sdma_complete() local 1061 static void decrement_dma_busy(struct ipath_qp *qp) in decrement_dma_busy() 1097 static int ipath_verbs_send_dma(struct ipath_qp *qp, in ipath_verbs_send_dma() 1222 static int ipath_verbs_send_pio(struct ipath_qp *qp, in ipath_verbs_send_pio() [all …]
|
D | ipath_ud.c | 53 struct ipath_qp *qp; in ipath_ud_loopback() local 241 int ipath_make_ud_req(struct ipath_qp *qp) in ipath_make_ud_req() 410 int has_grh, void *data, u32 tlen, struct ipath_qp *qp) in ipath_ud_rcv()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 75 struct mlx4_ib_qp qp; member 130 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp() 140 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp() 165 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0() 188 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe() 193 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe() 198 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe() 212 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n, int size) in stamp_send_wqe() 242 static void post_nop_wqe(struct mlx4_ib_qp *qp, int n, int size) in post_nop_wqe() 280 static inline unsigned pad_wraparound(struct mlx4_ib_qp *qp, int ind) in pad_wraparound() [all …]
|
/drivers/ntb/ |
D | ntb_transport.c | 84 struct ntb_transport_qp *qp; member 203 #define QP_TO_MW(ndev, qp) ((qp) % ntb_max_mw(ndev)) argument 398 struct ntb_transport_qp *qp; in debugfs_read() local 503 struct ntb_transport_qp *qp = &nt->qps[qp_num]; in ntb_transport_setup_qp_mw() local 598 static void ntb_qp_link_cleanup(struct ntb_transport_qp *qp) in ntb_qp_link_cleanup() 617 struct ntb_transport_qp *qp = container_of(work, in ntb_qp_link_cleanup_work() local 629 static void ntb_qp_link_down(struct ntb_transport_qp *qp) in ntb_qp_link_down() 793 struct ntb_transport_qp *qp = &nt->qps[i]; in ntb_transport_link_work() local 814 struct ntb_transport_qp *qp = container_of(work, in ntb_qp_link_work() local 856 struct ntb_transport_qp *qp; in ntb_transport_init_queue() local [all …]
|
/drivers/infiniband/hw/amso1100/ |
D | c2_qp.c | 120 void c2_set_qp_state(struct c2_qp *qp, int c2_state) in c2_set_qp_state() 134 int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_modify() 253 int c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_set_read_limits() 302 static int destroy_qp(struct c2_dev *c2dev, struct c2_qp *qp) in destroy_qp() 381 static int c2_alloc_qpn(struct c2_dev *c2dev, struct c2_qp *qp) in c2_alloc_qpn() 407 struct c2_qp *qp; in c2_find_qpn() local 417 struct ib_qp_init_attr *qp_attrs, struct c2_qp *qp) in c2_alloc_qp() 600 void c2_free_qp(struct c2_dev *c2dev, struct c2_qp *qp) in c2_free_qp() 762 static int qp_wr_post(struct c2_mq *q, union c2wr * wr, struct c2_qp *qp, u32 size) in qp_wr_post() 794 struct c2_qp *qp = to_c2qp(ibqp); in c2_post_send() local [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | qp.c | 98 static void *get_wqe(struct mlx5_ib_qp *qp, int offset) in get_wqe() 103 static void *get_recv_wqe(struct mlx5_ib_qp *qp, int n) in get_recv_wqe() 108 void *mlx5_get_send_wqe(struct mlx5_ib_qp *qp, int n) in mlx5_get_send_wqe() 113 static void mlx5_ib_qp_event(struct mlx5_core_qp *qp, int type) in mlx5_ib_qp_event() 159 int has_rq, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd) in set_rq_size() 269 struct mlx5_ib_qp *qp) in calc_sq_size() 313 struct mlx5_ib_qp *qp, in set_user_buf_size() 540 struct mlx5_ib_qp *qp, struct ib_udata *udata, in create_user_qp() 661 static void destroy_qp_user(struct ib_pd *pd, struct mlx5_ib_qp *qp) in destroy_qp_user() 674 struct mlx5_ib_qp *qp, in create_kernel_qp() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1020 static int ocrdma_add_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_add_qpn_map() 1031 static void ocrdma_del_qpn_map(struct ocrdma_dev *dev, struct ocrdma_qp *qp) in ocrdma_del_qpn_map() 1109 static int ocrdma_copy_qp_uresp(struct ocrdma_qp *qp, in ocrdma_copy_qp_uresp() 1168 static void ocrdma_set_qp_db(struct ocrdma_dev *dev, struct ocrdma_qp *qp, in ocrdma_set_qp_db() 1188 static int ocrdma_alloc_wr_id_tbl(struct ocrdma_qp *qp) in ocrdma_alloc_wr_id_tbl() 1203 static void ocrdma_set_qp_init_params(struct ocrdma_qp *qp, in ocrdma_set_qp_init_params() 1237 struct ocrdma_qp *qp; in ocrdma_create_qp() local 1310 struct ocrdma_qp *qp; in _ocrdma_modify_qp() local 1333 struct ocrdma_qp *qp; in ocrdma_modify_qp() local 1404 struct ocrdma_qp *qp = get_ocrdma_qp(ibqp); in ocrdma_query_qp() local [all …]
|
D | ocrdma_hw.c | 644 struct ocrdma_qp *qp) in ocrdma_process_qpcat_error() 657 struct ocrdma_qp *qp = NULL; in ocrdma_dispatch_ibevent() local 838 struct ocrdma_qp *qp; in ocrdma_qp_buddy_cq_handler() local 1869 bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp) in ocrdma_is_qp_in_sq_flushlist() 1882 bool ocrdma_is_qp_in_rq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp) in ocrdma_is_qp_in_rq_flushlist() 1895 void ocrdma_flush_qp(struct ocrdma_qp *qp) in ocrdma_flush_qp() 1912 static void ocrdma_init_hwq_ptr(struct ocrdma_qp *qp) in ocrdma_init_hwq_ptr() 1920 int ocrdma_qp_state_change(struct ocrdma_qp *qp, enum ib_qp_state new_ib_state, in ocrdma_qp_state_change() 1952 static u32 ocrdma_set_create_qp_mbx_access_flags(struct ocrdma_qp *qp) in ocrdma_set_create_qp_mbx_access_flags() 1970 struct ocrdma_qp *qp) in ocrdma_set_create_qp_sq_cmd() [all …]
|
/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() 428 struct mthca_qp *qp = to_mqp(ibqp); in mthca_query_qp() local 548 struct mthca_qp *qp = to_mqp(ibqp); in __mthca_modify_qp() local 846 struct mthca_qp *qp = to_mqp(ibqp); in mthca_modify_qp() local 911 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size() [all …]
|
/drivers/infiniband/core/ |
D | verbs.c | 377 struct ib_qp *qp = context; in __ib_shared_qp_event_handler() local 387 static void __ib_insert_xrcd_qp(struct ib_xrcd *xrcd, struct ib_qp *qp) in __ib_insert_xrcd_qp() 398 struct ib_qp *qp; in __ib_open_qp() local 423 struct ib_qp *qp, *real_qp; in ib_open_qp() local 445 struct ib_qp *qp, *real_qp; in ib_create_qp() local 867 int ib_resolve_eth_l2_attrs(struct ib_qp *qp, in ib_resolve_eth_l2_attrs() 902 int ib_modify_qp(struct ib_qp *qp, in ib_modify_qp() 916 int ib_query_qp(struct ib_qp *qp, in ib_query_qp() 927 int ib_close_qp(struct ib_qp *qp) in ib_close_qp() 947 static int __ib_destroy_shared_qp(struct ib_qp *qp) in __ib_destroy_shared_qp() [all …]
|
D | iwcm.c | 245 static int iwcm_modify_qp_err(struct ib_qp *qp) in iwcm_modify_qp_err() 260 static int iwcm_modify_qp_sqd(struct ib_qp *qp) in iwcm_modify_qp_sqd() 286 struct ib_qp *qp = NULL; in iw_cm_disconnect() local 516 struct ib_qp *qp; in iw_cm_accept() local 573 struct ib_qp *qp; in iw_cm_connect() local
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 48 struct mlx4_qp *qp; in mlx4_qp_event() local 70 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() 87 int sqd_event, struct mlx4_qp *qp, int native) in __mlx4_qp_modify() 202 int sqd_event, struct mlx4_qp *qp) in mlx4_qp_modify() 358 int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp, gfp_t gfp) in mlx4_qp_alloc() 435 void mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp) in mlx4_qp_remove() 446 void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp) in mlx4_qp_free() 583 int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_qp_query() 606 struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) in mlx4_qp_to_ready()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | qp.c | 73 struct mlx5_core_qp *qp; in mlx5_rsc_event() local 92 struct mlx5_core_qp *qp, in mlx5_core_create_qp() 153 struct mlx5_core_qp *qp) in mlx5_core_destroy_qp() 189 struct mlx5_core_qp *qp) in mlx5_core_qp_modify() 262 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp, in mlx5_core_qp_query()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_cq.c | 55 int ehca_cq_assign_qp(struct ehca_cq *cq, struct ehca_qp *qp) in ehca_cq_assign_qp() 76 struct ehca_qp *qp; in ehca_cq_unassign_qp() local 105 struct ehca_qp *qp; in ehca_cq_get_qp() local
|
D | ehca_reqs.c | 154 static inline int ehca_write_swqe(struct ehca_qp *qp, in ehca_write_swqe() 440 int ehca_post_send(struct ib_qp *qp, in ehca_post_send() 583 int ehca_post_recv(struct ib_qp *qp, in ehca_post_recv() 651 struct ehca_qp *qp; in ehca_poll_cq_one() local
|