a61b319674
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enabled but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz <marcinx.danilewicz@intel.com> Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
22 lines
575 B
C
22 lines
575 B
C
/* 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);
|
|
|
|
int cfg_load_subport_profile(struct rte_cfgfile *cfg,
|
|
struct rte_sched_subport_profile_params
|
|
*subport_profile);
|
|
|
|
#endif
|