Searched refs:rss_rings (Results 1 – 4 of 4) sorted by relevance
1259 u32 i, rss_rings; in mlx4_en_get_rxfh() local1261 rss_rings = priv->prof->rss_rings ?: n; in mlx4_en_get_rxfh()1262 rss_rings = rounddown_pow_of_two(rss_rings); in mlx4_en_get_rxfh()1267 ring_index[i] = i % rss_rings; in mlx4_en_get_rxfh()1285 int rss_rings = 0; in mlx4_en_set_rxfh() local1293 if (i > 0 && !ring_index[i] && !rss_rings) in mlx4_en_set_rxfh()1294 rss_rings = i; in mlx4_en_set_rxfh()1296 if (ring_index[i] != (i % (rss_rings ?: n))) in mlx4_en_set_rxfh()1300 if (!rss_rings) in mlx4_en_set_rxfh()1301 rss_rings = n; in mlx4_en_set_rxfh()[all …]
1131 int rss_rings; in mlx4_en_config_rss_steer() local1187 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()1188 rss_rings = priv->rx_ring_num; in mlx4_en_config_rss_steer()1190 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()1195 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer()
181 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
384 int rss_rings; member