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

Function rte_pie_rt_data_init

dpdk/lib/sched/rte_pie.c:15–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#endif
14
15int
16rte_pie_rt_data_init(struct rte_pie *pie)
17{
18 if (pie == NULL) {
19 RTE_LOG(ERR, SCHED, "%s: Invalid addr for pie\n", __func__);
20 return -EINVAL;
21 }
22
23 memset(pie, 0, sizeof(*pie));
24
25 return 0;
26}
27
28int
29rte_pie_config_init(struct rte_pie_config *pie_cfg,

Callers 6

func_test1Function · 0.85
func_test2Function · 0.85
func_test3Function · 0.85
perf_testFunction · 0.85
perf_test2Function · 0.85
test_invalid_parametersFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by 6

func_test1Function · 0.68
func_test2Function · 0.68
func_test3Function · 0.68
perf_testFunction · 0.68
perf_test2Function · 0.68
test_invalid_parametersFunction · 0.68