Lines Matching refs:tx_ring_num
70 netif_set_real_num_tx_queues(dev, priv->tx_ring_num[TX]); in mlx4_en_setup_tc()
110 new_prof.tx_ring_num[TX] = new_prof.num_tx_rings_p_up * in mlx4_en_alloc_tx_queue_per_tc()
112 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; in mlx4_en_alloc_tx_queue_per_tc()
1434 for (i = 0; i < priv->tx_ring_num[t]; i++) { in mlx4_en_set_default_moderation()
1724 priv->num_tx_rings_p_up : priv->tx_ring_num[t]; in mlx4_en_start_port()
1726 for (i = 0; i < priv->tx_ring_num[t]; i++) { in mlx4_en_start_port()
1860 i = priv->tx_ring_num[t]; in mlx4_en_start_port()
1869 i = priv->tx_ring_num[t]; in mlx4_en_start_port()
1985 for (i = 0; i < priv->tx_ring_num[t]; i++) { in mlx4_en_stop_port()
1993 for (i = 0; i < priv->tx_ring_num[t]; i++) in mlx4_en_stop_port()
2061 for (i = 0; i < priv->tx_ring_num[TX]; i++) { in mlx4_en_clear_stats()
2135 for (i = 0; i < priv->tx_ring_num[t]; i++) { in mlx4_en_free_resources()
2164 for (i = 0; i < priv->tx_ring_num[t]; i++) { in mlx4_en_alloc_resources()
2208 for (i = 0; i < priv->tx_ring_num[t]; i++) { in mlx4_en_alloc_resources()
2239 dst->tx_ring_num[t] = prof->tx_ring_num[t]; in mlx4_en_copy_priv()
2240 if (!dst->tx_ring_num[t]) in mlx4_en_copy_priv()
2279 dst->tx_ring_num[t] = src->tx_ring_num[t]; in mlx4_en_update_priv()
2395 if (priv->tx_ring_num[TX_XDP] && in mlx4_en_change_mtu()
2749 if (priv->tx_ring_num[TX_XDP] == xdp_ring_num) { in mlx4_xdp_set()
2778 new_prof.tx_ring_num[TX_XDP] = xdp_ring_num; in mlx4_xdp_set()
2780 if (priv->tx_ring_num[TX] + xdp_ring_num > MAX_TX_RINGS) { in mlx4_xdp_set()
2782 new_prof.tx_ring_num[TX] = in mlx4_xdp_set()
2801 netif_set_real_num_tx_queues(dev, priv->tx_ring_num[TX]); in mlx4_xdp_set()
3160 if (priv->tx_ring_num[TX]) { in mlx4_get_base_stats()
3188 netif_set_real_num_tx_queues(dev, prof->tx_ring_num[TX]); in mlx4_en_init_netdev()
3227 priv->tx_ring_num[t] = prof->tx_ring_num[t]; in mlx4_en_init_netdev()
3228 if (!priv->tx_ring_num[t]) in mlx4_en_init_netdev()
3335 netif_set_real_num_tx_queues(dev, priv->tx_ring_num[TX]); in mlx4_en_init_netdev()
3450 en_warn(priv, "Using %d TX rings\n", prof->tx_ring_num[TX]); in mlx4_en_init_netdev()