Searched refs:was_opened (Results 1 – 1 of 1) sorted by relevance
4396 bool reset, was_opened; in mlx5e_xdp_set() local4408 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()