Searched refs:tun_qp (Results 1 – 1 of 1) sorted by relevance
519 struct mlx4_ib_demux_pv_qp *tun_qp; in mlx4_ib_send_to_slave() local543 tun_qp = &tun_ctx->qp[0]; in mlx4_ib_send_to_slave()545 tun_qp = &tun_ctx->qp[1]; in mlx4_ib_send_to_slave()572 src_qp = tun_qp->qp; in mlx4_ib_send_to_slave()593 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()594 if (tun_qp->tx_ix_head - tun_qp->tx_ix_tail >= in mlx4_ib_send_to_slave()598 tun_tx_ix = (++tun_qp->tx_ix_head) & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_send_to_slave()599 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()603 tun_mad = (struct mlx4_rcv_tunnel_mad *) (tun_qp->tx_ring[tun_tx_ix].buf.addr); in mlx4_ib_send_to_slave()604 if (tun_qp->tx_ring[tun_tx_ix].ah) in mlx4_ib_send_to_slave()[all …]