Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4396 bool reset, was_opened; in mlx5e_xdp_set() local
4408 was_opened = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_xdp_set()
4412 if (was_opened && !reset) { in mlx5e_xdp_set()
4423 if (was_opened && reset) { in mlx5e_xdp_set()
4444 if (!was_opened && reset) /* change RQ type according to priv->xdp_prog */ in mlx5e_xdp_set()
4447 if (!was_opened || reset) in mlx5e_xdp_set()