xref: /dpdk/examples/qos_sched/cfg_file.h (revision 92e9fe0d87b1e27306167b56a0c90c471966c630)
13998e2a0SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause
23998e2a0SBruce Richardson  * Copyright(c) 2010-2014 Intel Corporation
3de3cfa2cSIntel  */
4de3cfa2cSIntel 
5de3cfa2cSIntel #ifndef __CFG_FILE_H__
6de3cfa2cSIntel #define __CFG_FILE_H__
7de3cfa2cSIntel 
8de3cfa2cSIntel #include <rte_sched.h>
9db935d01SMichal Jastrzebski #include <rte_cfgfile.h>
10de3cfa2cSIntel 
11*92e9fe0dSMegha Ajmera int parse_u64(const char *entry, uint64_t *val);
12*92e9fe0dSMegha Ajmera 
13db935d01SMichal Jastrzebski int cfg_load_port(struct rte_cfgfile *cfg, struct rte_sched_port_params *port);
14de3cfa2cSIntel 
15db935d01SMichal Jastrzebski int cfg_load_pipe(struct rte_cfgfile *cfg, struct rte_sched_pipe_params *pipe);
16de3cfa2cSIntel 
17db935d01SMichal Jastrzebski int cfg_load_subport(struct rte_cfgfile *cfg, struct rte_sched_subport_params *subport);
18de3cfa2cSIntel 
19802d214dSSavinay Dharmappa int cfg_load_subport_profile(struct rte_cfgfile *cfg,
20802d214dSSavinay Dharmappa 			     struct rte_sched_subport_profile_params
21802d214dSSavinay Dharmappa 			     *subport_profile);
22802d214dSSavinay Dharmappa 
23de3cfa2cSIntel #endif
24