Lines Matching refs:qp
212 struct qib_qp *qp; member
609 static inline struct qib_swqe *get_swqe_ptr(struct qib_qp *qp, in get_swqe_ptr() argument
612 return (struct qib_swqe *)((char *)qp->s_wq + in get_swqe_ptr()
614 qp->s_max_sge * in get_swqe_ptr()
847 static inline int qib_send_ok(struct qib_qp *qp) in qib_send_ok() argument
849 return !(qp->s_flags & (QIB_S_BUSY | QIB_S_ANY_WAIT_IO)) && in qib_send_ok()
850 (qp->s_hdrwords || (qp->s_flags & QIB_S_RESP_PENDING) || in qib_send_ok()
851 !(qp->s_flags & QIB_S_ANY_WAIT_SEND)); in qib_send_ok()
857 void qib_schedule_send(struct qib_qp *qp);
906 __be32 qib_compute_aeth(struct qib_qp *qp);
916 int qib_error_qp(struct qib_qp *qp, enum ib_wc_status err);
942 void qib_get_credit(struct qib_qp *qp, u32 aeth);
950 int qib_verbs_send(struct qib_qp *qp, struct qib_ib_header *hdr,
959 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
962 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
970 void qib_rc_send_complete(struct qib_qp *qp, struct qib_ib_header *hdr);
972 void qib_rc_error(struct qib_qp *qp, enum ib_wc_status err);
974 int qib_post_ud_send(struct qib_qp *qp, struct ib_send_wr *wr);
977 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
986 int qib_rkey_ok(struct qib_qp *qp, struct qib_sge *sge,
1041 int qib_fast_reg_mr(struct qib_qp *qp, struct ib_send_wr *wr);
1087 int qib_get_rwqe(struct qib_qp *qp, int wr_id_only);
1089 void qib_migrate_qp(struct qib_qp *qp);
1092 int has_grh, struct qib_qp *qp, u32 bth0);
1097 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr,
1102 void qib_send_complete(struct qib_qp *qp, struct qib_swqe *wqe,
1105 void qib_send_rc_ack(struct qib_qp *qp);
1107 int qib_make_rc_req(struct qib_qp *qp);
1109 int qib_make_uc_req(struct qib_qp *qp);
1111 int qib_make_ud_req(struct qib_qp *qp);