Lines Matching refs:qp

49 static inline int hfi1_send_ok(struct rvt_qp *qp)  in hfi1_send_ok()  argument
51 struct hfi1_qp_priv *priv = qp->priv; in hfi1_send_ok()
53 return !(qp->s_flags & (RVT_S_BUSY | HFI1_S_ANY_WAIT_IO)) && in hfi1_send_ok()
55 (qp->s_flags & RVT_S_RESP_PENDING) || in hfi1_send_ok()
56 !(qp->s_flags & RVT_S_ANY_WAIT_SEND)); in hfi1_send_ok()
62 static inline void clear_ahg(struct rvt_qp *qp) in clear_ahg() argument
64 struct hfi1_qp_priv *priv = qp->priv; in clear_ahg()
67 qp->s_flags &= ~(HFI1_S_AHG_VALID | HFI1_S_AHG_CLEAR); in clear_ahg()
68 if (priv->s_sde && qp->s_ahgidx >= 0) in clear_ahg()
69 sdma_ahg_free(priv->s_sde, qp->s_ahgidx); in clear_ahg()
70 qp->s_ahgidx = -1; in clear_ahg()
78 void hfi1_qp_wakeup(struct rvt_qp *qp, u32 flag);
80 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
81 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5);
85 bool _hfi1_schedule_send(struct rvt_qp *qp);
86 bool hfi1_schedule_send(struct rvt_qp *qp);
88 void hfi1_migrate_qp(struct rvt_qp *qp);
93 void *qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
94 void qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
96 void notify_qp_reset(struct rvt_qp *qp);
97 int get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp,
99 void flush_qp_waiters(struct rvt_qp *qp);
100 void notify_error_qp(struct rvt_qp *qp);
101 void stop_send_queue(struct rvt_qp *qp);
102 void quiesce_qp(struct rvt_qp *qp);
103 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
106 void hfi1_qp_unbusy(struct rvt_qp *qp, struct iowait_work *wait);