Searched refs:new_chs (Results 1 – 1 of 1) sorted by relevance
3010 struct mlx5e_channels *new_chs, in mlx5e_switch_priv_channels() argument3025 priv->channels = *new_chs; in mlx5e_switch_priv_channels()3057 struct mlx5e_channels *new_chs; in mlx5e_safe_switch_params() local3064 new_chs = kzalloc(sizeof(*new_chs), GFP_KERNEL); in mlx5e_safe_switch_params()3065 if (!new_chs) in mlx5e_safe_switch_params()3067 new_chs->params = *params; in mlx5e_safe_switch_params()3069 mlx5e_selq_prepare_params(&priv->selq, &new_chs->params); in mlx5e_safe_switch_params()3071 err = mlx5e_open_channels(priv, new_chs); in mlx5e_safe_switch_params()3079 kfree(new_chs); in mlx5e_safe_switch_params()3083 mlx5e_close_channels(new_chs); in mlx5e_safe_switch_params()[all …]