Lines Matching defs:new_prof
96 struct mlx4_en_port_profile new_prof;
107 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile));
108 new_prof.num_up = (tc == 0) ? MLX4_EN_NUM_UP_LOW :
110 new_prof.tx_ring_num[TX] = new_prof.num_tx_rings_p_up *
111 new_prof.num_up;
112 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP];
120 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true);
2723 struct mlx4_en_port_profile new_prof;
2765 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile));
2766 new_prof.tx_ring_num[TX_XDP] = xdp_ring_num;
2770 new_prof.tx_ring_num[TX] =
2775 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, false);
3510 struct mlx4_en_port_profile new_prof;
3534 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile));
3535 memcpy(&new_prof.hwtstamp_config, ts_config, sizeof(*ts_config));
3537 err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true);