29#define RTE_FIB_MAXDEPTH 32
39 uint8_t depth, uint64_t next_hop,
int op);
42 uint64_t *next_hops,
const unsigned int n);
146rte_fib_add(
struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop);
182 uint64_t *next_hops,
int n);
void * rte_fib_get_dp(struct rte_fib *fib)
int rte_fib_delete(struct rte_fib *fib, uint32_t ip, uint8_t depth)
@ RTE_FIB_LOOKUP_DIR24_8_SCALAR_UNI
@ RTE_FIB_LOOKUP_DIR24_8_SCALAR_INLINE
@ RTE_FIB_LOOKUP_DIR24_8_SCALAR_MACRO
@ RTE_FIB_LOOKUP_DIR24_8_VECTOR_AVX512
void(* rte_fib_lookup_fn_t)(void *fib, const uint32_t *ips, uint64_t *next_hops, const unsigned int n)
struct rte_fib * rte_fib_create(const char *name, int socket_id, struct rte_fib_conf *conf)
struct rte_fib * rte_fib_find_existing(const char *name)
struct rte_rib * rte_fib_get_rib(struct rte_fib *fib)
int rte_fib_select_lookup(struct rte_fib *fib, enum rte_fib_lookup_type type)
int(* rte_fib_modify_fn_t)(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop, int op)
void rte_fib_free(struct rte_fib *fib)
int rte_fib_lookup_bulk(struct rte_fib *fib, uint32_t *ips, uint64_t *next_hops, int n)
int rte_fib_add(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop)