Searched refs:MAX_TX_RINGS (Results 1 – 6 of 6) 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];
2872 for (i = 0; i < MAX_TX_RINGS; i++) { in cas_init_tx_dma()
111 if (total_count > MAX_TX_RINGS) { in mlx4_en_alloc_tx_queue_per_tc()115 total_count, MAX_TX_RINGS); in mlx4_en_alloc_tx_queue_per_tc()2239 dst->tx_ring[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_copy_priv()2245 dst->tx_cq[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_copy_priv()2779 if (priv->tx_ring_num[TX] + xdp_ring_num > MAX_TX_RINGS) { in mlx4_xdp_set()2782 MAX_TX_RINGS - ALIGN(xdp_ring_num, priv->prof->num_up); in mlx4_xdp_set()3167 MAX_TX_RINGS, MAX_RX_RINGS); in mlx4_en_init_netdev()3214 priv->tx_ring[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_init_netdev()3221 priv->tx_cq[t] = kcalloc(MAX_TX_RINGS, in mlx4_en_init_netdev()
125 #define MAX_TX_RINGS (MLX4_EN_MAX_TX_RING_P_UP * \ macro
1858 if (total_tx_count > MAX_TX_RINGS) { in mlx4_en_set_channels()1862 total_tx_count, MAX_TX_RINGS); in mlx4_en_set_channels()
30 #define MAX_TX_RINGS MAX_CPUS macro2140 struct tx_ring tx_ring[MAX_TX_RINGS];