Lines Matching refs:MLX4_NUM_TUNNEL_BUFS

577 	    (MLX4_NUM_TUNNEL_BUFS - 1))  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()
1412 (MLX4_NUM_TUNNEL_BUFS - 1)) in mlx4_ib_send_to_wire()
1415 wire_tx_ix = (++sqp->tx_ix_head) & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_send_to_wire()
1485 int wr_ix = wc->wr_id & (MLX4_NUM_TUNNEL_BUFS - 1); in mlx4_ib_multiplex_mad()
1612 tun_qp->ring = kcalloc(MLX4_NUM_TUNNEL_BUFS, in mlx4_ib_alloc_pv_bufs()
1618 tun_qp->tx_ring = kcalloc(MLX4_NUM_TUNNEL_BUFS, in mlx4_ib_alloc_pv_bufs()
1635 for (i = 0; i < MLX4_NUM_TUNNEL_BUFS; i++) { in mlx4_ib_alloc_pv_bufs()
1649 for (i = 0; i < MLX4_NUM_TUNNEL_BUFS; i++) { in mlx4_ib_alloc_pv_bufs()
1680 i = MLX4_NUM_TUNNEL_BUFS; in mlx4_ib_alloc_pv_bufs()
1715 for (i = 0; i < MLX4_NUM_TUNNEL_BUFS; i++) { in mlx4_ib_free_pv_qp_bufs()
1721 for (i = 0; i < MLX4_NUM_TUNNEL_BUFS; i++) { in mlx4_ib_free_pv_qp_bufs()
1749 (MLX4_NUM_TUNNEL_BUFS - 1)); in mlx4_ib_tunnel_comp_worker()
1759 (MLX4_NUM_TUNNEL_BUFS - 1)].ah, 0); in mlx4_ib_tunnel_comp_worker()
1760 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1776 (MLX4_NUM_TUNNEL_BUFS - 1)].ah, 0); in mlx4_ib_tunnel_comp_worker()
1777 tun_qp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_tunnel_comp_worker()
1814 qp_init_attr.init_attr.cap.max_send_wr = MLX4_NUM_TUNNEL_BUFS; in create_pv_sqp()
1815 qp_init_attr.init_attr.cap.max_recv_wr = MLX4_NUM_TUNNEL_BUFS; in create_pv_sqp()
1877 for (i = 0; i < MLX4_NUM_TUNNEL_BUFS; i++) { in create_pv_sqp()
1913 (MLX4_NUM_TUNNEL_BUFS - 1)].ah); in mlx4_ib_sqp_comp_worker()
1914 sqp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()
1923 (MLX4_NUM_TUNNEL_BUFS - 1)].addr))->payload); in mlx4_ib_sqp_comp_worker()
1926 (MLX4_NUM_TUNNEL_BUFS - 1)].addr))->grh); in mlx4_ib_sqp_comp_worker()
1929 (MLX4_NUM_TUNNEL_BUFS - 1))) in mlx4_ib_sqp_comp_worker()
1942 (MLX4_NUM_TUNNEL_BUFS - 1)].ah); in mlx4_ib_sqp_comp_worker()
1943 sqp->tx_ring[wc.wr_id & (MLX4_NUM_TUNNEL_BUFS - 1)].ah in mlx4_ib_sqp_comp_worker()
2007 cq_size = 2 * MLX4_NUM_TUNNEL_BUFS; in create_pv_resources()