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

/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c215 lpm->tbl8 = rte_zmalloc_socket(NULL,
218 if (lpm->tbl8 == NULL) {
219 RTE_LOG(ERR, LPM, "LPM tbl8 memory allocation failed\n");
272 rte_free(lpm->tbl8);
419 * Find, clean and allocate a tbl8.
422 tbl8_alloc(struct rte_lpm_tbl_entry *tbl8, uint32_t number_tbl8s) argument
424 uint32_t group_idx; /* tbl8 group index. */
427 /* Scan through tbl8 to find a free (i.e. INVALID) tbl8 group. */
429 tbl8_entry = &tbl8[group_id
456 tbl8_free(struct rte_lpm_tbl_entry *tbl8, uint32_t tbl8_group_start) argument
898 tbl8_recycle_check(struct rte_lpm_tbl_entry *tbl8, uint32_t tbl8_group_start) argument
[all...]
H A Drte_lpm6.c54 /** Tbl entry structure. It is the same for both tbl24 and tbl8 */
78 /* Header of tbl8 */
81 * otherwise index of tbl8
84 * pointer to the tbl8 is stored
104 uint32_t tbl8_pool_pos; /**< current position in the tbl8 pool */
106 struct rte_lpm_tbl8_hdr *tbl8_hdrs; /* array of tbl8 headers */
108 struct rte_lpm6_tbl_entry tbl8[0]
109 __rte_cache_aligned; /**< LPM tbl8 table. */
159 * Init pool of free tbl8 indexes
166 /* put entire range of indexes to the tbl8 poo
[all...]
H A Drte_lpm.h40 /** @internal Number of entries in a tbl8 group. */
43 /** @internal Max number of tbl8 groups in the tbl8. */
46 /** @internal Total number of tbl8 groups in the tbl8. */
49 /** @internal Total number of tbl8 entries. */
73 * Stores Next hop (tbl8 or tbl24 when valid_group is not set) or
74 * a group index pointing to a tbl8 structure (tbl24 only, when
83 * - valid_group == 1: entry stores a group_index pointing to a tbl8
84 * For tbl8
142 struct rte_lpm_tbl_entry *tbl8; /**< LPM tbl8 table. */ member in struct:rte_lpm
[all...]

Completed in 70 milliseconds