Lines Matching refs:rx_ring_num

1424 	for (i = 0; i < priv->rx_ring_num; i++) {  in mlx4_en_set_default_moderation()
1472 for (ring = 0; ring < priv->rx_ring_num; ring++) { in mlx4_en_auto_moderation()
1484 if (rate > (MLX4_EN_RX_RATE_THRESH / priv->rx_ring_num) && in mlx4_en_auto_moderation()
1663 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_start_port()
1845 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_start_port()
1881 for (i = 0; i < priv->rx_ring_num; i++) in mlx4_en_start_port()
2008 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_stop_port()
2071 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_clear_stats()
2146 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_free_resources()
2178 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_alloc_resources()
2199 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_alloc_resources()
2229 dst->rx_ring_num = prof->rx_ring_num; in mlx4_en_copy_priv()
2273 sizeof(struct mlx4_en_rx_ring *) * src->rx_ring_num); in mlx4_en_update_priv()
2275 sizeof(struct mlx4_en_cq *) * src->rx_ring_num); in mlx4_en_update_priv()
2284 dst->rx_ring_num = src->rx_ring_num; in mlx4_en_update_priv()
2320 bpf_prog_add(xdp_prog, tmp->rx_ring_num); in mlx4_en_try_alloc_resources()
2321 for (i = 0; i < tmp->rx_ring_num; i++) in mlx4_en_try_alloc_resources()
2744 xdp_ring_num = prog ? priv->rx_ring_num : 0; in mlx4_xdp_set()
2751 bpf_prog_add(prog, priv->rx_ring_num - 1); in mlx4_xdp_set()
2754 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_xdp_set()
2774 bpf_prog_add(prog, priv->rx_ring_num - 1); in mlx4_xdp_set()
2790 bpf_prog_sub(prog, priv->rx_ring_num - 1); in mlx4_xdp_set()
2803 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_xdp_set()
3154 if (priv->rx_ring_num) { in mlx4_get_base_stats()
3189 netif_set_real_num_rx_queues(dev, prof->rx_ring_num); in mlx4_en_init_netdev()
3246 priv->rx_ring_num = prof->rx_ring_num; in mlx4_en_init_netdev()
3336 netif_set_real_num_rx_queues(dev, priv->rx_ring_num); in mlx4_en_init_netdev()
3451 en_warn(priv, "Using %d RX rings\n", prof->rx_ring_num); in mlx4_en_init_netdev()