Searched refs:MAX_RX_RINGS (Results 1 – 5 of 5) sorted by relevance
77 #define MAX_RX_RINGS 128 macro445 struct mlx4_qp qps[MAX_RX_RINGS];446 enum mlx4_qp_state state[MAX_RX_RINGS];549 unsigned long last_moder_packets[MAX_RX_RINGS];551 unsigned long last_moder_bytes[MAX_RX_RINGS];553 int last_moder_time[MAX_RX_RINGS];597 struct mlx4_en_rx_ring *rx_ring[MAX_RX_RINGS];599 struct mlx4_en_cq *rx_cq[MAX_RX_RINGS];
1800 return min_t(int, num_online_cpus(), MAX_RX_RINGS); in mlx4_en_get_max_num_rx_rings()
3184 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];
454 static unsigned int rx_ring_sz[MAX_RX_RINGS] =455 {[0 ...(MAX_RX_RINGS - 1)] = SMALL_BLK_CNT};456 static unsigned int rts_frm_len[MAX_RX_RINGS] =457 {[0 ...(MAX_RX_RINGS - 1)] = 0 };6431 for (k = 0; k < MAX_RX_RINGS; k++) in s2io_get_ethtool_stats()7557 if (rx_ring_num > MAX_RX_RINGS) { in s2io_verify_parm()7561 MAX_RX_RINGS); in s2io_verify_parm()7562 rx_ring_num = MAX_RX_RINGS; in s2io_verify_parm()7585 for (i = 0; i < MAX_RX_RINGS; i++) in s2io_verify_parm()