Lines Matching refs:qp
218 static inline int qib_send_ok(struct rvt_qp *qp)
220 return !(qp->s_flags & (RVT_S_BUSY | RVT_S_ANY_WAIT_IO)) &&
221 (qp->s_hdrwords || (qp->s_flags & RVT_S_RESP_PENDING) ||
222 !(qp->s_flags & RVT_S_ANY_WAIT_SEND));
225 bool _qib_schedule_send(struct rvt_qp *qp);
226 bool qib_schedule_send(struct rvt_qp *qp);
272 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
273 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
274 void qib_notify_qp_reset(struct rvt_qp *qp);
277 void qib_restart_rc(struct rvt_qp *qp, u32 psn, int wait);
290 int qib_verbs_send(struct rvt_qp *qp, struct ib_header *hdr,
294 int has_grh, void *data, u32 tlen, struct rvt_qp *qp);
297 int has_grh, void *data, u32 tlen, struct rvt_qp *qp);
301 int qib_check_send_wqe(struct rvt_qp *qp, struct rvt_swqe *wqe,
308 void qib_rc_send_complete(struct rvt_qp *qp, struct ib_header *hdr);
310 int qib_post_ud_send(struct rvt_qp *qp, const struct ib_send_wr *wr);
313 int has_grh, void *data, u32 tlen, struct rvt_qp *qp);
317 void qib_migrate_qp(struct rvt_qp *qp);
320 int has_grh, struct rvt_qp *qp, u32 bth0);
325 void qib_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr,
330 void qib_do_send(struct rvt_qp *qp);
332 void qib_send_rc_ack(struct rvt_qp *qp);
334 int qib_make_rc_req(struct rvt_qp *qp, unsigned long *flags);
336 int qib_make_uc_req(struct rvt_qp *qp, unsigned long *flags);
338 int qib_make_ud_req(struct rvt_qp *qp, unsigned long *flags);