Lines Matching refs:rvp
731 struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; in rvt_remove_qp() local
738 if (rcu_dereference_protected(rvp->qp[0], in rvt_remove_qp()
740 RCU_INIT_POINTER(rvp->qp[0], NULL); in rvt_remove_qp()
741 } else if (rcu_dereference_protected(rvp->qp[1], in rvt_remove_qp()
743 RCU_INIT_POINTER(rvp->qp[1], NULL); in rvt_remove_qp()
1374 struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; in rvt_insert_qp() local
1381 rcu_assign_pointer(rvp->qp[qp->ibqp.qp_num], qp); in rvt_insert_qp()
2596 struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; in rvt_rc_timeout() local
2599 rvp->n_rc_timeouts++; in rvt_rc_timeout()
2709 struct rvt_ibport *rvp; in rvt_qp_iter_next() local
2713 rvp = rdi->ports[pidx]; in rvt_qp_iter_next()
2714 qp = rcu_dereference(rvp->qp[n & 1]); in rvt_qp_iter_next()
2880 static enum ib_wc_status loopback_qp_drop(struct rvt_ibport *rvp, in loopback_qp_drop() argument
2883 rvp->n_pkt_drops++; in loopback_qp_drop()
2904 struct rvt_ibport *rvp = NULL; in rvt_ruc_loopback() local
2920 rvp = rdi->ports[sqp->port_num - 1]; in rvt_ruc_loopback()
2927 qp = rvt_lookup_qpn(ib_to_rvt(sqp->ibqp.device), rvp, in rvt_ruc_loopback()
2965 send_status = loopback_qp_drop(rvp, sqp); in rvt_ruc_loopback()
2971 send_status = loopback_qp_drop(rvp, sqp); in rvt_ruc_loopback()
3132 rvp->n_loop_pkts++; in rvt_ruc_loopback()
3148 rvp->n_rnr_naks++; in rvt_ruc_loopback()