summaryrefslogtreecommitdiffstats
path: root/examples/qos_sched/cfg_file.h
blob: 2eccf1ca0edbd08ca339d58078e67d21d15e2b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2010-2014 Intel Corporation
 */

#ifndef __CFG_FILE_H__
#define __CFG_FILE_H__

#include <rte_sched.h>
#include <rte_cfgfile.h>

int cfg_load_port(struct rte_cfgfile *cfg, struct rte_sched_port_params *port);

int cfg_load_pipe(struct rte_cfgfile *cfg, struct rte_sched_pipe_params *pipe);

int cfg_load_subport(struct rte_cfgfile *cfg, struct rte_sched_subport_params *subport);

#endif