Lines Matching refs:tun_tx_ix
495 unsigned tun_tx_ix = 0;
553 tun_tx_ix = (++tun_qp->tx_ix_head) & (MLX4_NUM_TUNNEL_BUFS - 1);
558 tun_mad = (struct mlx4_rcv_tunnel_mad *) (tun_qp->tx_ring[tun_tx_ix].buf.addr);
559 if (tun_qp->tx_ring[tun_tx_ix].ah)
560 ib_destroy_ah(tun_qp->tx_ring[tun_tx_ix].ah);
561 tun_qp->tx_ring[tun_tx_ix].ah = ah;
563 tun_qp->tx_ring[tun_tx_ix].buf.map,
607 tun_qp->tx_ring[tun_tx_ix].buf.map,
611 list.addr = tun_qp->tx_ring[tun_tx_ix].buf.map;
620 wr.wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt);
633 tun_qp->tx_ring[tun_tx_ix].ah = NULL;