| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_qp.c | 96 struct siw_qp *qp; in siw_qp_llp_data_ready() local 129 void siw_qp_llp_close(struct siw_qp *qp) in siw_qp_llp_close() 203 static int siw_qp_readq_init(struct siw_qp *qp, int irq_size, int orq_size) in siw_qp_readq_init() 236 int siw_qp_mpa_rts(struct siw_qp *qp, enum mpa_v2_ctrl ctrl) in siw_qp_mpa_rts() 340 void siw_init_terminate(struct siw_qp *qp, enum term_elayer layer, u8 etype, in siw_init_terminate() 363 void siw_send_terminate(struct siw_qp *qp) in siw_send_terminate() 582 static void siw_qp_modify_nonstate(struct siw_qp *qp, in siw_qp_modify_nonstate() 604 static int siw_qp_nextstate_from_idle(struct siw_qp *qp, in siw_qp_nextstate_from_idle() 674 static int siw_qp_nextstate_from_rts(struct siw_qp *qp, in siw_qp_nextstate_from_rts() 735 static void siw_qp_nextstate_from_term(struct siw_qp *qp, in siw_qp_nextstate_from_term() [all …]
|
| H A D | siw_qp_tx.c | 706 static void siw_prepare_fpdu(struct siw_qp *qp, struct siw_wqe *wqe) in siw_prepare_fpdu() 793 static int siw_qp_sq_proc_tx(struct siw_qp *qp, struct siw_wqe *wqe) in siw_qp_sq_proc_tx() 978 static int siw_qp_sq_proc_local(struct siw_qp *qp, struct siw_wqe *wqe) in siw_qp_sq_proc_local() 1023 int siw_qp_sq_process(struct siw_qp *qp) in siw_qp_sq_process() 1172 static void siw_sq_resume(struct siw_qp *qp) in siw_sq_resume() 1248 struct siw_qp *qp; in siw_run_sq() local 1285 int siw_sq_start(struct siw_qp *qp) in siw_sq_start()
|
| /linux/drivers/infiniband/hw/erdma/ |
| H A 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 52 erdma_modify_qp_state_to_rts(struct erdma_qp *qp, in erdma_modify_qp_state_to_rts() 121 erdma_modify_qp_state_to_stop(struct erdma_qp *qp, in erdma_modify_qp_state_to_stop() 145 int erdma_modify_qp_state_iwarp(struct erdma_qp *qp, in erdma_modify_qp_state_iwarp() 215 static int modify_qp_cmd_rocev2(struct erdma_qp *qp, in modify_qp_cmd_rocev2() 254 static void erdma_reset_qp(struct erdma_qp *qp) in erdma_reset_qp() 269 int erdma_modify_qp_state_rocev2(struct erdma_qp *qp, in erdma_modify_qp_state_rocev2() 309 struct erdma_qp *qp = container_of(ref, struct erdma_qp, ref); in erdma_qp_safe_free() local 314 void erdma_qp_put(struct erdma_qp *qp) in erdma_qp_put() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A 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 …]
|
| H A 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 …]
|
| H 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()
|
| H 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()
|
| H A D | ud.c | 36 struct rvt_qp *qp; in ud_loopback() local 224 static void hfi1_make_bth_deth(struct rvt_qp *qp, struct rvt_swqe *wqe, in hfi1_make_bth_deth() 261 void hfi1_make_ud_req_9B(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_make_ud_req_9B() 332 void hfi1_make_ud_req_16B(struct rvt_qp *qp, struct hfi1_pkt_state *ps, in hfi1_make_ud_req_16B() 435 int hfi1_make_ud_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) in hfi1_make_ud_req() 591 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, in return_cnp_16B() 653 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, in return_cnp() 727 struct rvt_qp *qp, u16 slid, struct opa_smp *smp) in opa_smp_check() 819 struct rvt_qp *qp = packet->qp; in hfi1_ud_rcv() local
|
| H A D | qp.h | 49 static inline int hfi1_send_ok(struct rvt_qp *qp) in hfi1_send_ok() 62 static inline void clear_ahg(struct rvt_qp *qp) in clear_ahg()
|
| H A D | rc.h | 13 static inline void update_ack_queue(struct rvt_qp *qp, unsigned int n) in update_ack_queue() 26 struct rvt_qp *qp) in rc_defered_ack()
|
| /linux/drivers/interconnect/qcom/ |
| H A D | icc-rpmh.c | 21 #define QOSGEN_MAINCTL_LO(p, qp) (0x8 + (p->port_offsets[qp])) argument 31 static void qcom_icc_set_qos(struct qcom_icc_provider *qp, in qcom_icc_set_qos() 60 struct qcom_icc_provider *qp; in qcom_icc_pre_aggregate() local 123 struct qcom_icc_provider *qp; in qcom_icc_set() local 203 static int qcom_icc_rpmh_configure_qos(struct qcom_icc_provider *qp) in qcom_icc_rpmh_configure_qos() 234 struct qcom_icc_provider *qp; in qcom_icc_rpmh_probe() local 367 struct qcom_icc_provider *qp = platform_get_drvdata(pdev); in qcom_icc_rpmh_remove() local
|
| /linux/drivers/infiniband/core/ |
| H A D | rw.c | 92 static int rdma_rw_init_one_mr(struct ib_qp *qp, u32 port_num, in rdma_rw_init_one_mr() 126 struct rdma_rw_reg_ctx *prev, struct ib_qp *qp, u32 port_num, in rdma_rw_init_reg_wr() 155 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs() 204 static int rdma_rw_init_mr_wrs_bvec(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs_bvec() 287 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs() 343 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr() 370 struct ib_qp *qp, const struct bio_vec *bvecs, in rdma_rw_init_single_wr_bvec() 403 static int rdma_rw_init_map_wrs_bvec(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs_bvec() 488 struct ib_qp *qp, const struct bio_vec *bvec, in rdma_rw_init_iova_wrs_bvec() 574 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init() [all …]
|
| H A D | mr_pool.c | 8 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_get() 25 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr) in ib_mr_pool_put() 36 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr, in ib_mr_pool_init() 66 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_destroy()
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A 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/drivers/infiniband/hw/qedr/ |
| H 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() 378 struct qedr_qp *qp, in qedr_gsi_build_header() 489 struct qedr_qp *qp, in qedr_gsi_build_packet() 543 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_send() local 613 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_gsi_post_recv() local 672 struct qedr_qp *qp = dev->gsi_qp; in qedr_gsi_poll_cq() local
|
| H A D | qedr_iw_cm.c | 84 struct qedr_qp *qp = container_of(ref, struct qedr_qp, refcnt); in qedr_iw_free_qp() local 215 struct qedr_qp *qp = ep->qp; in qedr_iw_disconnect_worker() local 521 struct qedr_qp *qp; in qedr_iw_load_qp() local 543 struct qedr_qp *qp; in qedr_iw_connect() local 741 struct qedr_qp *qp; in qedr_iw_accept() local 802 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_iw_qp_add_ref() local 809 struct qedr_qp *qp = get_qedr_qp(ibqp); in qedr_iw_qp_rem_ref() local
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_roce.c | 96 static void qed_rdma_copy_gids(struct qed_rdma_qp *qp, __le32 *src_gid, in qed_rdma_copy_gids() 206 static u8 qed_roce_get_qp_tc(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_get_qp_tc() 223 struct qed_rdma_qp *qp) in qed_roce_sp_create_responder() 361 struct qed_rdma_qp *qp) in qed_roce_sp_create_requester() 491 struct qed_rdma_qp *qp, in qed_roce_sp_modify_responder() 578 struct qed_rdma_qp *qp, in qed_roce_sp_modify_requester() 665 struct qed_rdma_qp *qp, in qed_roce_sp_destroy_qp_responder() 751 struct qed_rdma_qp *qp) in qed_roce_sp_destroy_qp_requester() 812 struct qed_rdma_qp *qp, in qed_roce_query_qp() 951 int qed_roce_destroy_qp(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_destroy_qp() [all …]
|
| /linux/drivers/infiniband/hw/mlx5/ |
| 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 *qp, struct mlx5_wqe_ctrl_seg *ctrl, in mlx5r_finish_wqe() [all …]
|
| H A D | gsi.c | 220 static int modify_to_rts(struct mlx5_ib_gsi_qp *gsi, struct ib_qp *qp, in modify_to_rts() 266 struct ib_qp *qp; in setup_qp() local 322 int mlx5_ib_gsi_modify_qp(struct ib_qp *qp, struct ib_qp_attr *attr, in mlx5_ib_gsi_modify_qp() 347 int mlx5_ib_gsi_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr, in mlx5_ib_gsi_query_qp() 431 int mlx5_ib_gsi_post_send(struct ib_qp *qp, const struct ib_send_wr *wr, in mlx5_ib_gsi_post_send() 476 int mlx5_ib_gsi_post_recv(struct ib_qp *qp, const struct ib_recv_wr *wr, in mlx5_ib_gsi_post_recv()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | qp.c | 49 void mlx4_put_qp(struct mlx4_qp *qp) in mlx4_put_qp() 59 struct mlx4_qp *qp; in mlx4_qp_event() local 79 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) in is_master_qp0() 96 int sqd_event, struct mlx4_qp *qp, int native) in __mlx4_qp_modify() 217 int sqd_event, struct mlx4_qp *qp) in mlx4_qp_modify() 399 struct mlx4_qp *qp; in mlx4_qp_lookup() local 409 int mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp) in mlx4_qp_alloc() 518 void mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp) in mlx4_qp_remove() 529 void mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp) in mlx4_qp_free() 897 int mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, in mlx4_qp_query() [all …]
|
| /linux/drivers/infiniband/hw/mana/ |
| H A D | wr.c | 10 static int mana_ib_post_recv_ud(struct mana_ib_qp *qp, const struct ib_recv_wr *wr) in mana_ib_post_recv_ud() 52 struct mana_ib_qp *qp = container_of(ibqp, struct mana_ib_qp, ibqp); in mana_ib_post_recv() local 75 static int mana_ib_post_send_ud(struct mana_ib_qp *qp, const struct ib_ud_wr *wr) in mana_ib_post_send_ud() 148 struct mana_ib_qp *qp = container_of(ibqp, struct mana_ib_qp, ibqp); in mana_ib_post_send() local
|
| /linux/include/rdma/ |
| H A D | rdmavt_qp.h | 511 struct rvt_qp *qp; member 532 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp, in rvt_get_swqe_ptr() 557 static inline bool rvt_is_user_qp(struct rvt_qp *qp) in rvt_is_user_qp() 566 static inline void rvt_get_qp(struct rvt_qp *qp) in rvt_get_qp() 575 static inline void rvt_put_qp(struct rvt_qp *qp) in rvt_put_qp() 607 struct rvt_qp *qp, in rvt_qp_wqe_reserve() 628 static inline void rvt_qp_wqe_unreserve(struct rvt_qp *qp, int flags) in rvt_qp_wqe_unreserve() 661 static inline u32 rvt_div_round_up_mtu(struct rvt_qp *qp, u32 len) in rvt_div_round_up_mtu() 673 static inline u32 rvt_div_mtu(struct rvt_qp *qp, u32 len) in rvt_div_mtu() 705 struct rvt_qp *qp = NULL; in rvt_lookup_qpn() local [all …]
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_net.c | 106 static struct dst_entry *rxe_find_route4(struct rxe_qp *qp, in rxe_find_route4() 130 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6() 163 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6() 175 struct rxe_qp *qp, in rxe_find_route() 368 struct rxe_qp *qp = pkt->qp; in prepare4() local 394 struct rxe_qp *qp = pkt->qp; in prepare6() local 434 struct rxe_qp *qp = skb->sk->sk_user_data; in rxe_skb_tx_dtor() local 498 int rxe_xmit_packet(struct rxe_qp *qp, struct rxe_pkt_info *pkt, in rxe_xmit_packet()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_hw.c | 665 struct ocrdma_qp *qp) in ocrdma_process_qpcat_error() 678 struct ocrdma_qp *qp = NULL; in ocrdma_dispatch_ibevent() local 905 struct ocrdma_qp *qp; in _ocrdma_qp_buddy_cq_handler() local 2077 bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp) in ocrdma_is_qp_in_sq_flushlist() 2090 bool ocrdma_is_qp_in_rq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp) in ocrdma_is_qp_in_rq_flushlist() 2103 void ocrdma_flush_qp(struct ocrdma_qp *qp) in ocrdma_flush_qp() 2121 static void ocrdma_init_hwq_ptr(struct ocrdma_qp *qp) in ocrdma_init_hwq_ptr() 2129 int ocrdma_qp_state_change(struct ocrdma_qp *qp, enum ib_qp_state new_ib_state, in ocrdma_qp_state_change() 2160 static u32 ocrdma_set_create_qp_mbx_access_flags(struct ocrdma_qp *qp) in ocrdma_set_create_qp_mbx_access_flags() 2178 struct ocrdma_qp *qp) in ocrdma_set_create_qp_sq_cmd() [all …]
|
| /linux/drivers/infiniband/sw/rdmavt/ |
| H A D | rc.c | 52 __be32 rvt_compute_aeth(struct rvt_qp *qp) in rvt_compute_aeth() 121 void rvt_get_credit(struct rvt_qp *qp, u32 aeth) in rvt_get_credit()
|