* LPM6 rule hash function * * It's used as a hash function for the rte_hash * containing rules */
| 147 | * containing rules |
| 148 | */ |
| 149 | static inline uint32_t |
| 150 | rule_hash(const void *data, __rte_unused uint32_t data_len, |
| 151 | uint32_t init_val) |
| 152 | { |
| 153 | return rte_jhash(data, sizeof(struct rte_lpm6_rule_key), init_val); |
| 154 | } |
| 155 | |
| 156 | /* |
| 157 | * Init pool of free tbl8 indexes |
nothing calls this directly
no test coverage detected