Lines Matching refs:rvt_qp
332 struct rvt_qp { struct
338 struct rvt_qp __rcu *next; /* link list for QPN hash table */ argument
464 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) in ibqp_to_rvtqp() argument
466 return container_of(ibqp, struct rvt_qp, ibqp); in ibqp_to_rvtqp()
498 struct rvt_qp __rcu **qp_table;
510 struct rvt_qp *qp;
531 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp, in rvt_get_swqe_ptr()
556 static inline bool rvt_is_user_qp(struct rvt_qp *qp) in rvt_is_user_qp()
565 static inline void rvt_get_qp(struct rvt_qp *qp) in rvt_get_qp()
574 static inline void rvt_put_qp(struct rvt_qp *qp) in rvt_put_qp()
606 struct rvt_qp *qp, in rvt_qp_wqe_reserve()
627 static inline void rvt_qp_wqe_unreserve(struct rvt_qp *qp, int flags) in rvt_qp_wqe_unreserve()
647 __be32 rvt_compute_aeth(struct rvt_qp *qp);
649 void rvt_get_credit(struct rvt_qp *qp, u32 aeth);
660 static inline u32 rvt_div_round_up_mtu(struct rvt_qp *qp, u32 len) in rvt_div_round_up_mtu()
671 static inline u32 rvt_div_mtu(struct rvt_qp *qp, u32 len) in rvt_div_mtu()
698 static inline struct rvt_qp *rvt_lookup_qpn(struct rvt_dev_info *rdi, in rvt_lookup_qpn()
702 struct rvt_qp *qp = NULL; in rvt_lookup_qpn()
723 static inline void rvt_mod_retry_timer_ext(struct rvt_qp *qp, u8 shift) in rvt_mod_retry_timer_ext()
735 static inline void rvt_mod_retry_timer(struct rvt_qp *qp) in rvt_mod_retry_timer()
747 static inline void rvt_put_qp_swqe(struct rvt_qp *qp, struct rvt_swqe *wqe) in rvt_put_qp_swqe()
762 rvt_qp_swqe_incr(struct rvt_qp *qp, u32 val) in rvt_qp_swqe_incr()
769 int rvt_error_qp(struct rvt_qp *qp, enum ib_wc_status err);
782 static inline void rvt_recv_cq(struct rvt_qp *qp, struct ib_wc *wc, in rvt_recv_cq()
802 static inline void rvt_send_cq(struct rvt_qp *qp, struct ib_wc *wc, in rvt_send_cq()
828 rvt_qp_complete_swqe(struct rvt_qp *qp, in rvt_qp_complete_swqe()
870 int rvt_get_rwqe(struct rvt_qp *qp, bool wr_id_only);
871 void rvt_comm_est(struct rvt_qp *qp);
872 void rvt_rc_error(struct rvt_qp *qp, enum ib_wc_status err);
875 void rvt_add_rnr_timer(struct rvt_qp *qp, u32 aeth);
876 void rvt_del_timers_sync(struct rvt_qp *qp);
877 void rvt_stop_rc_timers(struct rvt_qp *qp);
878 void rvt_add_retry_timer_ext(struct rvt_qp *qp, u8 shift);
879 static inline void rvt_add_retry_timer(struct rvt_qp *qp) in rvt_add_retry_timer()
884 void rvt_copy_sge(struct rvt_qp *qp, struct rvt_sge_state *ss,
887 void rvt_send_complete(struct rvt_qp *qp, struct rvt_swqe *wqe,
889 void rvt_ruc_loopback(struct rvt_qp *qp);
900 struct rvt_qp *qp;
904 void (*cb)(struct rvt_qp *qp, u64 v);
966 static inline struct rvt_ibport *rvt_to_iport(struct rvt_qp *qp) in rvt_to_iport()
981 static inline bool rvt_rc_credit_avail(struct rvt_qp *qp, struct rvt_swqe *wqe) in rvt_rc_credit_avail()
997 void (*cb)(struct rvt_qp *qp, u64 v));
1001 void (*cb)(struct rvt_qp *qp, u64 v));
1002 void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey);