net/mlx5: add OS specific flow related utilities