Searched refs:tun_qp (Results 1 – 1 of 1) sorted by relevance
511 struct mlx4_ib_demux_pv_qp *tun_qp; in mlx4_ib_send_to_slave() local533 tun_qp = &tun_ctx->qp[0]; in mlx4_ib_send_to_slave()535 tun_qp = &tun_ctx->qp[1]; in mlx4_ib_send_to_slave()554 src_qp = tun_qp->qp; in mlx4_ib_send_to_slave()575 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()576 if (tun_qp->tx_ix_head - tun_qp->tx_ix_tail >= in mlx4_ib_send_to_slave()580 tun_tx_ix = (++tun_qp->tx_ix_head) & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_send_to_slave()581 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()585 tun_mad = (struct mlx4_rcv_tunnel_mad *) (tun_qp->tx_ring[tun_tx_ix].buf.addr); in mlx4_ib_send_to_slave()586 if (tun_qp->tx_ring[tun_tx_ix].ah) in mlx4_ib_send_to_slave()[all …]