net/mlx5: reorganize flow API structure