Lines Matching refs:params
130 struct mlx4_en_profile *params = &mdev->profile; in mlx4_en_get_profile() local
133 params->udp_rss = udp_rss; in mlx4_en_get_profile()
134 params->num_tx_rings_p_up = mlx4_low_memory_profile() ? in mlx4_en_get_profile()
138 if (params->udp_rss && !(mdev->dev->caps.flags in mlx4_en_get_profile()
141 params->udp_rss = 0; in mlx4_en_get_profile()
144 params->prof[i].rx_pause = 1; in mlx4_en_get_profile()
145 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile()
146 params->prof[i].tx_pause = 1; in mlx4_en_get_profile()
147 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile()
148 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
149 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
150 params->prof[i].tx_ring_num = params->num_tx_rings_p_up * in mlx4_en_get_profile()
152 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
153 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile()