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

Function tbl8_pool_init

dpdk/lib/fib/trie.c:120–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static void
121tbl8_pool_init(struct rte_trie_tbl *dp)
122{
123 uint32_t i;
124
125 /* put entire range of indexes to the tbl8 pool */
126 for (i = 0; i < dp->number_tbl8s; i++)
127 dp->tbl8_pool[i] = i;
128
129 dp->tbl8_pool_pos = 0;
130}
131
132/*
133 * Get an index of a free tbl8 from the pool

Callers 1

trie_createFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected