Home
last modified time | relevance | path

Searched refs:rss_rings (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_ethtool.c1262 u32 i, rss_rings; in mlx4_en_get_rxfh() local
1264 rss_rings = priv->prof->rss_rings ?: n; in mlx4_en_get_rxfh()
1265 rss_rings = rounddown_pow_of_two(rss_rings); in mlx4_en_get_rxfh()
1270 ring_index[i] = i % rss_rings; in mlx4_en_get_rxfh()
1288 int rss_rings = 0; in mlx4_en_set_rxfh() local
1296 if (i > 0 && !ring_index[i] && !rss_rings) in mlx4_en_set_rxfh()
1297 rss_rings = i; in mlx4_en_set_rxfh()
1303 if (!rss_rings) in mlx4_en_set_rxfh()
1304 rss_rings = n; in mlx4_en_set_rxfh()
1307 if (!is_power_of_2(rss_rings)) in mlx4_en_set_rxfh()
[all …]
A Den_rx.c1146 int rss_rings; in mlx4_en_config_rss_steer() local
1202 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()
1203 rss_rings = priv->rx_ring_num; in mlx4_en_config_rss_steer()
1205 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
1210 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer()
A Den_main.c181 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
A Dmlx4_en.h387 int rss_rings; member

Completed in 14 milliseconds