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 #ifdef RTE_SCHED_CMAN 16 void set_subport_cman_params(struct rte_sched_subport_params *subport_p, 17 struct rte_sched_cman_params cman_p); 18 #endif 19 20 int cfg_load_subport(struct rte_cfgfile *cfg, struct rte_sched_subport_params *subport); 21 22 int cfg_load_subport_profile(struct rte_cfgfile *cfg, 23 struct rte_sched_subport_profile_params 24 *subport_profile); 25 26 #endif 27