| 154 | } |
| 155 | |
| 156 | static inline uint32_t |
| 157 | thash_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 | |
| 163 | static inline uint32_t |
| 164 | get_rev_poly(uint32_t poly, int degree) |
no test coverage detected