Home
last modified time | relevance | path

Searched refs:new_chs (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c3273 struct mlx5e_channels *new_chs, in mlx5e_switch_priv_channels() argument
3288 priv->channels = *new_chs; in mlx5e_switch_priv_channels()
3320 struct mlx5e_channels *new_chs; in mlx5e_safe_switch_params() local
3327 new_chs = kzalloc(sizeof(*new_chs), GFP_KERNEL); in mlx5e_safe_switch_params()
3328 if (!new_chs) in mlx5e_safe_switch_params()
3330 new_chs->params = *params; in mlx5e_safe_switch_params()
3332 mlx5e_selq_prepare_params(&priv->selq, &new_chs->params); in mlx5e_safe_switch_params()
3334 err = mlx5e_open_channels(priv, new_chs); in mlx5e_safe_switch_params()
3338 err = mlx5e_switch_priv_channels(priv, new_chs, preactivate, context); in mlx5e_safe_switch_params()
3342 kfree(new_chs); in mlx5e_safe_switch_params()
[all …]