Lines Matching refs:params
152 struct mlx4_en_profile *params = &mdev->profile; in mlx4_en_get_profile() local
155 params->udp_rss = udp_rss; in mlx4_en_get_profile()
156 params->num_tx_rings_p_up = mlx4_low_memory_profile() ? in mlx4_en_get_profile()
160 if (params->udp_rss && !(mdev->dev->caps.flags in mlx4_en_get_profile()
163 params->udp_rss = 0; in mlx4_en_get_profile()
166 params->prof[i].rx_pause = 1; in mlx4_en_get_profile()
167 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile()
168 params->prof[i].tx_pause = 1; in mlx4_en_get_profile()
169 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile()
170 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
171 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
172 params->prof[i].tx_ring_num = params->num_tx_rings_p_up * in mlx4_en_get_profile()
174 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
175 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile()