Lines Matching refs:qp
158 struct ipath_qp *qp; member
480 static inline struct ipath_swqe *get_swqe_ptr(struct ipath_qp *qp, in get_swqe_ptr() argument
483 return (struct ipath_swqe *)((char *)qp->s_wq + in get_swqe_ptr()
485 qp->s_max_sge * in get_swqe_ptr()
646 struct ipath_qp *qp; member
693 static inline void ipath_schedule_send(struct ipath_qp *qp) in ipath_schedule_send() argument
695 if (qp->s_flags & IPATH_S_ANY_WAIT) in ipath_schedule_send()
696 qp->s_flags &= ~IPATH_S_ANY_WAIT; in ipath_schedule_send()
697 if (!(qp->s_flags & IPATH_S_BUSY)) in ipath_schedule_send()
698 tasklet_hi_schedule(&qp->s_task); in ipath_schedule_send()
732 __be32 ipath_compute_aeth(struct ipath_qp *qp);
742 int ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err);
754 void ipath_get_credit(struct ipath_qp *qp, u32 aeth);
758 int ipath_verbs_send(struct ipath_qp *qp, struct ipath_ib_header *hdr,
766 int has_grh, void *data, u32 tlen, struct ipath_qp *qp);
769 int has_grh, void *data, u32 tlen, struct ipath_qp *qp);
771 void ipath_restart_rc(struct ipath_qp *qp, u32 psn);
773 void ipath_rc_error(struct ipath_qp *qp, enum ib_wc_status err);
775 int ipath_post_ud_send(struct ipath_qp *qp, struct ib_send_wr *wr);
778 int has_grh, void *data, u32 tlen, struct ipath_qp *qp);
785 int ipath_lkey_ok(struct ipath_qp *qp, struct ipath_sge *isge,
788 int ipath_rkey_ok(struct ipath_qp *qp, struct ipath_sge_state *ss,
855 void ipath_insert_rnr_queue(struct ipath_qp *qp);
857 int ipath_init_sge(struct ipath_qp *qp, struct ipath_rwqe *wqe,
860 int ipath_get_rwqe(struct ipath_qp *qp, int wr_id_only);
865 void ipath_make_ruc_header(struct ipath_ibdev *dev, struct ipath_qp *qp,
871 void ipath_send_complete(struct ipath_qp *qp, struct ipath_swqe *wqe,
874 int ipath_make_rc_req(struct ipath_qp *qp);
876 int ipath_make_uc_req(struct ipath_qp *qp);
878 int ipath_make_ud_req(struct ipath_qp *qp);