Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1247 u32 i, rss_rings; in mlx4_en_get_rxfh() local
1249 rss_rings = priv->prof->rss_rings ?: n; in mlx4_en_get_rxfh()
1250 rss_rings = rounddown_pow_of_two(rss_rings); in mlx4_en_get_rxfh()
1255 rxfh->indir[i] = i % rss_rings; in mlx4_en_get_rxfh()
1273 int rss_rings = 0; in mlx4_en_set_rxfh() local
1281 if (i > 0 && !rxfh->indir[i] && !rss_rings) in mlx4_en_set_rxfh()
1282 rss_rings = i; in mlx4_en_set_rxfh()
1284 if (rxfh->indir[i] != (i % (rss_rings ?: n))) in mlx4_en_set_rxfh()
1288 if (!rss_rings) in mlx4_en_set_rxfh()
1289 rss_rings = n; in mlx4_en_set_rxfh()
[all …]
H A Den_rx.c1201 int rss_rings; in mlx4_en_config_rss_steer() local
1257 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()
1258 rss_rings = priv->rx_ring_num; in mlx4_en_config_rss_steer()
1260 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
1265 rss_context->base_qpn = cpu_to_be32(ilog2(rss_rings) << 24 | in mlx4_en_config_rss_steer()
H A Den_main.c181 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
H A Dmlx4_en.h398 int rss_rings; member