Searched refs:MAX_RX_RINGS (Results 1 – 6 of 6) sorted by relevance
76 #define MAX_RX_RINGS 128 macro430 struct mlx4_qp qps[MAX_RX_RINGS];431 enum mlx4_qp_state state[MAX_RX_RINGS];534 unsigned long last_moder_packets[MAX_RX_RINGS];536 unsigned long last_moder_bytes[MAX_RX_RINGS];538 int last_moder_time[MAX_RX_RINGS];582 struct mlx4_en_rx_ring *rx_ring[MAX_RX_RINGS];584 struct mlx4_en_cq *rx_cq[MAX_RX_RINGS];
1812 return min_t(int, num_online_cpus(), MAX_RX_RINGS); in mlx4_en_get_max_num_rx_rings()
3170 MAX_TX_RINGS, MAX_RX_RINGS); in mlx4_en_init_netdev()
352 #define MAX_RX_RINGS 8 macro359 #define MAX_RX_DESC_1 (MAX_RX_RINGS * MAX_RX_BLOCKS_PER_RING * 128)360 #define MAX_RX_DESC_2 (MAX_RX_RINGS * MAX_RX_BLOCKS_PER_RING * 86)450 struct rx_ring_config rx_cfg[MAX_RX_RINGS]; /*Per-Rx Ring config */807 struct ring_info rings[MAX_RX_RINGS];
453 static unsigned int rx_ring_sz[MAX_RX_RINGS] =454 {[0 ...(MAX_RX_RINGS - 1)] = SMALL_BLK_CNT};455 static unsigned int rts_frm_len[MAX_RX_RINGS] =456 {[0 ...(MAX_RX_RINGS - 1)] = 0 };6434 for (k = 0; k < MAX_RX_RINGS; k++) in s2io_get_ethtool_stats()7561 if (rx_ring_num > MAX_RX_RINGS) { in s2io_verify_parm()7565 MAX_RX_RINGS); in s2io_verify_parm()7566 rx_ring_num = MAX_RX_RINGS; in s2io_verify_parm()7589 for (i = 0; i < MAX_RX_RINGS; i++) in s2io_verify_parm()
31 #define MAX_RX_RINGS ((MAX_CPUS * 2) + 1) macro1922 u32 intr_states[MAX_RX_RINGS];2125 struct intr_context intr_context[MAX_RX_RINGS];2138 struct rx_ring rx_ring[MAX_RX_RINGS];