Lines Matching refs:ring_ind
208 int ring_ind; in mlx4_en_fill_rx_buffers() local
213 for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { in mlx4_en_fill_rx_buffers()
214 ring = &priv->rx_ring[ring_ind]; in mlx4_en_fill_rx_buffers()
237 for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { in mlx4_en_fill_rx_buffers()
238 ring = &priv->rx_ring[ring_ind]; in mlx4_en_fill_rx_buffers()
318 int ring_ind; in mlx4_en_activate_rx_rings() local
323 for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { in mlx4_en_activate_rx_rings()
324 ring = &priv->rx_ring[ring_ind]; in mlx4_en_activate_rx_rings()
329 ring->cqn = priv->rx_cq[ring_ind].mcq.cqn; in mlx4_en_activate_rx_rings()
351 ring_ind--; in mlx4_en_activate_rx_rings()
359 for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) { in mlx4_en_activate_rx_rings()
360 ring = &priv->rx_ring[ring_ind]; in mlx4_en_activate_rx_rings()
369 for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) in mlx4_en_activate_rx_rings()
370 mlx4_en_free_rx_buf(priv, &priv->rx_ring[ring_ind]); in mlx4_en_activate_rx_rings()
372 ring_ind = priv->rx_ring_num - 1; in mlx4_en_activate_rx_rings()
374 while (ring_ind >= 0) { in mlx4_en_activate_rx_rings()
375 if (priv->rx_ring[ring_ind].stride <= TXBB_SIZE) in mlx4_en_activate_rx_rings()
376 priv->rx_ring[ring_ind].buf -= TXBB_SIZE; in mlx4_en_activate_rx_rings()
377 mlx4_en_destroy_allocator(priv, &priv->rx_ring[ring_ind]); in mlx4_en_activate_rx_rings()
378 ring_ind--; in mlx4_en_activate_rx_rings()