Lines Matching refs:qp
212 struct qib_qp *qp; member
617 static inline struct qib_swqe *get_swqe_ptr(struct qib_qp *qp, in get_swqe_ptr() argument
620 return (struct qib_swqe *)((char *)qp->s_wq + in get_swqe_ptr()
622 qp->s_max_sge * in get_swqe_ptr()
855 static inline int qib_send_ok(struct qib_qp *qp) in qib_send_ok() argument
857 return !(qp->s_flags & (QIB_S_BUSY | QIB_S_ANY_WAIT_IO)) && in qib_send_ok()
858 (qp->s_hdrwords || (qp->s_flags & QIB_S_RESP_PENDING) || in qib_send_ok()
859 !(qp->s_flags & QIB_S_ANY_WAIT_SEND)); in qib_send_ok()
865 void qib_schedule_send(struct qib_qp *qp);
916 __be32 qib_compute_aeth(struct qib_qp *qp);
926 int qib_error_qp(struct qib_qp *qp, enum ib_wc_status err);
952 void qib_get_credit(struct qib_qp *qp, u32 aeth);
960 int qib_verbs_send(struct qib_qp *qp, struct qib_ib_header *hdr,
969 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
972 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
980 void qib_rc_send_complete(struct qib_qp *qp, struct qib_ib_header *hdr);
982 void qib_rc_error(struct qib_qp *qp, enum ib_wc_status err);
984 int qib_post_ud_send(struct qib_qp *qp, struct ib_send_wr *wr);
987 int has_grh, void *data, u32 tlen, struct qib_qp *qp);
996 int qib_rkey_ok(struct qib_qp *qp, struct qib_sge *sge,
1053 int qib_reg_mr(struct qib_qp *qp, struct ib_reg_wr *wr);
1099 int qib_get_rwqe(struct qib_qp *qp, int wr_id_only);
1101 void qib_migrate_qp(struct qib_qp *qp);
1104 int has_grh, struct qib_qp *qp, u32 bth0);
1109 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr,
1114 void qib_send_complete(struct qib_qp *qp, struct qib_swqe *wqe,
1117 void qib_send_rc_ack(struct qib_qp *qp);
1119 int qib_make_rc_req(struct qib_qp *qp);
1121 int qib_make_uc_req(struct qib_qp *qp);
1123 int qib_make_ud_req(struct qib_qp *qp);