MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_red_rt_data_init

Function rte_red_rt_data_init

dpdk/lib/sched/rte_red.c:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71int
72rte_red_rt_data_init(struct rte_red *red)
73{
74 if (red == NULL)
75 return -1;
76
77 red->avg = 0;
78 red->count = 0;
79 red->q_time = 0;
80 return 0;
81}
82
83int
84rte_red_config_init(struct rte_red_config *red_cfg,

Callers 10

func_test1Function · 0.85
func_test2Function · 0.85
func_test3Function · 0.85
func_test4Function · 0.85
func_test5Function · 0.85
func_test6Function · 0.85
perf1_testFunction · 0.85
perf2_testFunction · 0.85
ovfl_test1Function · 0.85
test_invalid_parametersFunction · 0.85

Calls

no outgoing calls

Tested by 10

func_test1Function · 0.68
func_test2Function · 0.68
func_test3Function · 0.68
func_test4Function · 0.68
func_test5Function · 0.68
func_test6Function · 0.68
perf1_testFunction · 0.68
perf2_testFunction · 0.68
ovfl_test1Function · 0.68
test_invalid_parametersFunction · 0.68