xref: /dpdk/examples/qos_sched/cfg_file.h (revision 8809f78c7dd9f33a44a4f89c58fc91ded34296ed)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2014 Intel Corporation
3  */
4 
5 #ifndef __CFG_FILE_H__
6 #define __CFG_FILE_H__
7 
8 #include <rte_sched.h>
9 #include <rte_cfgfile.h>
10 
11 int cfg_load_port(struct rte_cfgfile *cfg, struct rte_sched_port_params *port);
12 
13 int cfg_load_pipe(struct rte_cfgfile *cfg, struct rte_sched_pipe_params *pipe);
14 
15 int cfg_load_subport(struct rte_cfgfile *cfg, struct rte_sched_subport_params *subport);
16 
17 int cfg_load_subport_profile(struct rte_cfgfile *cfg,
18 			     struct rte_sched_subport_profile_params
19 			     *subport_profile);
20 
21 #endif
22