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

Function rte_stack_init

dpdk/lib/stack/rte_stack.c:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 .name = RTE_TAILQ_STACK_NAME,
22};
23EAL_REGISTER_TAILQ(rte_stack_tailq)
24
25
26static void
27rte_stack_init(struct rte_stack *s, unsigned int count, uint32_t flags)
28{
29 memset(s, 0, sizeof(*s));
30
31 if (flags & RTE_STACK_F_LF)
32 rte_stack_lf_init(s, count);
33 else
34 rte_stack_std_init(s);
35}
36
37static ssize_t
38rte_stack_get_memsize(unsigned int count, uint32_t flags)

Callers 1

rte_stack_createFunction · 0.85

Calls 3

memsetFunction · 0.85
rte_stack_lf_initFunction · 0.85
rte_stack_std_initFunction · 0.85

Tested by

no test coverage detected