src/dpdk/lib/librte_lpm/rte_lpm6.c
static inline uint32_t
tbl8_put(struct rte_lpm6 *lpm, uint32_t tbl8_ind)
{
	if (lpm->tbl8_pool_pos == 0)
		/* pool is full */
		return -ENOSPC;

	lpm->tbl8_pool[--lpm->tbl8_pool_pos] = tbl8_ind;
	return 0;
}
/*
 * Put an index of a free tbl8 back to the pool
 */
Put an index of a free tbl8 back to the pool
Put an index of a free tbl8 back to the pool
static inline uint32_t
tbl8_put(struct rte_lpm6 *lpm, uint32_t tbl8_ind)
{
	if (lpm->tbl8_pool_pos == 0)
		return -ENOSPC;
	lpm->tbl8_pool[--lpm->tbl8_pool_pos] = tbl8_ind;
	return 0;
}
static inline uint32_t tbl8_put ( struct rte_lpm6 * lpm , uint32_t tbl8_ind ) { if ( lpm -> tbl8_pool_pos == 0 ) return - ENOSPC ; lpm -> tbl8_pool [ -- lpm -> tbl8_pool_pos ] = tbl8_ind ; return 0 ; }
Put an index of a free tbl8 back to the pool
Put an index of a free tbl8 back to the pool
/* pool is full */