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

Function rte_stack_lf_init

dpdk/lib/stack/rte_stack_lf.c:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "rte_stack.h"
6
7void
8rte_stack_lf_init(struct rte_stack *s, unsigned int count)
9{
10 struct rte_stack_lf_elem *elems = s->stack_lf.elems;
11 unsigned int i;
12
13 for (i = 0; i < count; i++)
14 __rte_stack_lf_push_elems(&s->stack_lf.free,
15 &elems[i], &elems[i], 1);
16}
17
18ssize_t
19rte_stack_lf_get_memsize(unsigned int count)

Callers 1

rte_stack_initFunction · 0.85

Calls 1

Tested by

no test coverage detected