25#define RTE_FIB6_IPV6_ADDR_SIZE 16
27#define RTE_FIB6_MAXDEPTH 128
40 const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth,
41 uint64_t next_hop,
int op);
44 uint8_t ips[][RTE_FIB6_IPV6_ADDR_SIZE],
45 uint64_t *next_hops,
const unsigned int n);
137rte_fib6_add(
struct rte_fib6 *fib,
const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE],
138 uint8_t depth, uint64_t next_hop);
154 const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth);
175 uint8_t ips[][RTE_FIB6_IPV6_ADDR_SIZE],
176 uint64_t *next_hops,
int n);
@ RTE_FIB6_LOOKUP_TRIE_VECTOR_AVX512
@ RTE_FIB6_LOOKUP_DEFAULT
@ RTE_FIB6_LOOKUP_TRIE_SCALAR
struct rte_rib6 * rte_fib6_get_rib(struct rte_fib6 *fib)
void * rte_fib6_get_dp(struct rte_fib6 *fib)
int rte_fib6_select_lookup(struct rte_fib6 *fib, enum rte_fib6_lookup_type type)
int rte_fib6_lookup_bulk(struct rte_fib6 *fib, uint8_t ips[][RTE_FIB6_IPV6_ADDR_SIZE], uint64_t *next_hops, int n)
void rte_fib6_free(struct rte_fib6 *fib)
int rte_fib6_delete(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth)
struct rte_fib6 * rte_fib6_create(const char *name, int socket_id, struct rte_fib6_conf *conf)
struct rte_fib6 * rte_fib6_find_existing(const char *name)
void(* rte_fib6_lookup_fn_t)(void *fib, uint8_t ips[][RTE_FIB6_IPV6_ADDR_SIZE], uint64_t *next_hops, const unsigned int n)
int rte_fib6_add(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth, uint64_t next_hop)
int(* rte_fib6_modify_fn_t)(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth, uint64_t next_hop, int op)