Searched refs:tun_qp (Results 1 – 1 of 1) sorted by relevance
490 struct mlx4_ib_demux_pv_qp *tun_qp; in mlx4_ib_send_to_slave() local512 tun_qp = &tun_ctx->qp[0]; in mlx4_ib_send_to_slave()514 tun_qp = &tun_ctx->qp[1]; in mlx4_ib_send_to_slave()533 src_qp = tun_qp->qp; in mlx4_ib_send_to_slave()548 spin_lock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()549 if (tun_qp->tx_ix_head - tun_qp->tx_ix_tail >= in mlx4_ib_send_to_slave()553 tun_tx_ix = (++tun_qp->tx_ix_head) & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_send_to_slave()554 spin_unlock(&tun_qp->tx_lock); in mlx4_ib_send_to_slave()558 tun_mad = (struct mlx4_rcv_tunnel_mad *) (tun_qp->tx_ring[tun_tx_ix].buf.addr); in mlx4_ib_send_to_slave()559 if (tun_qp->tx_ring[tun_tx_ix].ah) in mlx4_ib_send_to_slave()[all …]