net/mlx5: fix flow rule creation if ports are stopped