Lines Matching refs:rvt_qp

332 struct rvt_qp {
338 struct rvt_qp __rcu *next; /* link list for QPN hash table */
464 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp)
466 return container_of(ibqp, struct rvt_qp, ibqp);
498 struct rvt_qp __rcu **qp_table;
510 struct rvt_qp *qp;
529 * struct rvt_qp.s_wq. This function does the array index computation.
531 static inline struct rvt_swqe *rvt_get_swqe_ptr(struct rvt_qp *qp,
556 static inline bool rvt_is_user_qp(struct rvt_qp *qp)
565 static inline void rvt_get_qp(struct rvt_qp *qp)
574 static inline void rvt_put_qp(struct rvt_qp *qp)
606 struct rvt_qp *qp,
627 static inline void rvt_qp_wqe_unreserve(struct rvt_qp *qp, int flags)
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)
671 static inline u32 rvt_div_mtu(struct rvt_qp *qp, u32 len)
698 static inline struct rvt_qp *rvt_lookup_qpn(struct rvt_dev_info *rdi,
702 struct rvt_qp *qp = NULL;
723 static inline void rvt_mod_retry_timer_ext(struct rvt_qp *qp, u8 shift)
735 static inline void rvt_mod_retry_timer(struct rvt_qp *qp)
747 static inline void rvt_put_qp_swqe(struct rvt_qp *qp, struct rvt_swqe *wqe)
762 rvt_qp_swqe_incr(struct rvt_qp *qp, u32 val)
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,
802 static inline void rvt_send_cq(struct rvt_qp *qp, struct ib_wc *wc,
828 rvt_qp_complete_swqe(struct rvt_qp *qp,
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)
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)
981 static inline bool rvt_rc_credit_avail(struct rvt_qp *qp, struct rvt_swqe *wqe)
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);