Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c3010 struct mlx5e_channels *new_chs, in mlx5e_switch_priv_channels() argument
3025 priv->channels = *new_chs; in mlx5e_switch_priv_channels()
3057 struct mlx5e_channels *new_chs; in mlx5e_safe_switch_params() local
3064 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 …]