Searched refs:MAX_TX_RINGS (Results 1 – 5 of 5) sorted by relevance
419 #define MAX_TX_RINGS (1 << MAX_TX_RINGS_SHIFT) macro420 #define MAX_TX_RINGS_MASK (MAX_TX_RINGS - 1)2539 #define N_TX_RINGS MAX_TX_RINGS /* for QoS */2761 struct cas_tx_desc *init_txds[MAX_TX_RINGS];
2851 for (i = 0; i < MAX_TX_RINGS; i++) { in cas_init_tx_dma()
113 if (total_count > MAX_TX_RINGS) { in mlx4_en_alloc_tx_queue_per_tc()117 total_count, MAX_TX_RINGS); in mlx4_en_alloc_tx_queue_per_tc()2243 dst->tx_ring[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_copy_priv()2249 dst->tx_cq[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_copy_priv()2780 if (priv->tx_ring_num[TX] + xdp_ring_num > MAX_TX_RINGS) { in mlx4_xdp_set()2783 MAX_TX_RINGS - ALIGN(xdp_ring_num, priv->prof->num_up); in mlx4_xdp_set()3184 MAX_TX_RINGS, MAX_RX_RINGS); in mlx4_en_init_netdev()3231 priv->tx_ring[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_init_netdev()3238 priv->tx_cq[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_init_netdev()
136 #define MAX_TX_RINGS (MLX4_EN_MAX_TX_RING_P_UP * \ macro
1839 if (total_tx_count > MAX_TX_RINGS) { in mlx4_en_set_channels()1843 total_tx_count, MAX_TX_RINGS); in mlx4_en_set_channels()