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

Function thash_get_rand_poly

dpdk/lib/hash/rte_thash.c:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156static inline uint32_t
157thash_get_rand_poly(uint32_t poly_degree)
158{
159 return irreducible_poly_table[poly_degree][rte_rand() %
160 RTE_DIM(irreducible_poly_table[poly_degree])];
161}
162
163static inline uint32_t
164get_rev_poly(uint32_t poly, int degree)

Callers 1

alloc_lfsrFunction · 0.85

Calls 1

rte_randFunction · 0.85

Tested by

no test coverage detected