Searched refs:new_chs (Results 1 – 1 of 1) sorted by relevance
2997 struct mlx5e_channels *new_chs, in mlx5e_switch_priv_channels() argument3012 priv->channels = *new_chs; in mlx5e_switch_priv_channels()3044 struct mlx5e_channels *new_chs; in mlx5e_safe_switch_params() local3051 new_chs = kzalloc(sizeof(*new_chs), GFP_KERNEL); in mlx5e_safe_switch_params()3052 if (!new_chs) in mlx5e_safe_switch_params()3054 new_chs->params = *params; in mlx5e_safe_switch_params()3056 mlx5e_selq_prepare_params(&priv->selq, &new_chs->params); in mlx5e_safe_switch_params()3058 err = mlx5e_open_channels(priv, new_chs); in mlx5e_safe_switch_params()3062 err = mlx5e_switch_priv_channels(priv, new_chs, preactivate, context); in mlx5e_safe_switch_params()3066 kfree(new_chs); in mlx5e_safe_switch_params()[all …]