Searched refs:rules_tbl (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c203 lpm->rules_tbl = rte_zmalloc_socket(NULL,
206 if (lpm->rules_tbl == NULL) {
207 RTE_LOG(ERR, LPM, "LPM rules_tbl memory allocation failed\n");
220 rte_free(lpm->rules_tbl);
273 rte_free(lpm->rules_tbl);
311 if (lpm->rules_tbl[rule_index].ip == ip_masked) {
313 if (lpm->rules_tbl[rule_index].next_hop
316 lpm->rules_tbl[rule_index].next_hop = next_hop;
348 lpm->rules_tbl[lpm->rule_info[i - 1].first_rule
350 = lpm->rules_tbl[lp
[all...]
H A Drte_lpm6.c99 //struct rte_hash *rules_tbl; /**< LPM rules. */
233 while (rte_hash_iterate(lpm->rules_tbl, (void *) &rule_key,
252 //struct rte_hash *rules_tbl = NULL;
282 rules_tbl = rte_hash_create(&rule_hash_tbl_params);
283 if (rules_tbl == NULL) {
357 //lpm->rules_tbl = rules_tbl;
376 //rte_hash_free(rules_tbl);
443 //rte_hash_free(lpm->rules_tbl);
459 ret = rte_hash_lookup_data(lpm->rules_tbl, (cons
[all...]
H A Drte_lpm.h143 struct rte_lpm_rule *rules_tbl; /**< LPM rules. */ member in struct:rte_lpm

Completed in 64 milliseconds