Lines Matching refs:rvt_qp
76 struct rvt_qp __rcu *qp[2];
214 void (*schedule_send)(struct rvt_qp *qp);
215 void (*schedule_send_no_lock)(struct rvt_qp *qp);
218 int (*check_send_wqe)(struct rvt_qp *qp, struct rvt_swqe *wqe);
224 void (*do_send)(struct rvt_qp *qp);
242 void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
247 void (*qp_priv_free)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
253 void (*notify_qp_reset)(struct rvt_qp *qp);
258 int (*get_pmtu_from_attr)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
265 void (*flush_qp_waiters)(struct rvt_qp *qp);
271 void (*stop_send_queue)(struct rvt_qp *qp);
276 void (*quiesce_qp)(struct rvt_qp *qp);
281 void (*notify_error_qp)(struct rvt_qp *qp);
286 u32 (*mtu_from_qp)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
334 int (*check_modify_qp)(struct rvt_qp *qp, struct ib_qp_attr *attr,
338 void (*modify_qp)(struct rvt_qp *qp, struct ib_qp_attr *attr,
348 void (*notify_restart_rc)(struct rvt_qp *qp, u32 psn, int wait);
460 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) in ibqp_to_rvtqp()
462 return container_of(ibqp, struct rvt_qp, ibqp); in ibqp_to_rvtqp()
504 static inline struct rvt_qp *rvt_lookup_qpn(struct rvt_dev_info *rdi, in rvt_lookup_qpn()
508 struct rvt_qp *qp = NULL; in rvt_lookup_qpn()
528 static inline void rvt_mod_retry_timer(struct rvt_qp *qp) in rvt_mod_retry_timer()
547 int rvt_fast_reg_mr(struct rvt_qp *qp, struct ib_mr *ibmr, u32 key,
549 int rvt_invalidate_rkey(struct rvt_qp *qp, u32 rkey);
550 int rvt_rkey_ok(struct rvt_qp *qp, struct rvt_sge *sge,