Home
last modified time | relevance | path

Searched refs:tun_tx_ix (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c524 unsigned tun_tx_ix = 0; in mlx4_ib_send_to_slave() local
598 tun_tx_ix = (++tun_qp->tx_ix_head) & (MLX4_NUM_TUNNEL_BUFS - 1); 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()
605 rdma_destroy_ah(tun_qp->tx_ring[tun_tx_ix].ah, 0); in mlx4_ib_send_to_slave()
606 tun_qp->tx_ring[tun_tx_ix].ah = ah; in mlx4_ib_send_to_slave()
608 tun_qp->tx_ring[tun_tx_ix].buf.map, in mlx4_ib_send_to_slave()
650 tun_qp->tx_ring[tun_tx_ix].buf.map, in mlx4_ib_send_to_slave()
654 list.addr = tun_qp->tx_ring[tun_tx_ix].buf.map; in mlx4_ib_send_to_slave()
663 wr.wr.wr_id = ((u64) tun_tx_ix) | MLX4_TUN_SET_WRID_QPN(dest_qpt); in mlx4_ib_send_to_slave()
[all …]