30#define RTE_FIB_MAXDEPTH 32
33#define RTE_FIB_RCU_DQ_RECLAIM_MAX 16
35#define RTE_FIB_RCU_DQ_RECLAIM_SZ 128
53 uint8_t depth, uint64_t next_hop,
int op);
56 uint64_t *next_hops,
const unsigned int n);
91#define RTE_FIB_F_LOOKUP_NETWORK_ORDER 1
92#define RTE_FIB_ALLOWED_FLAGS (RTE_FIB_F_LOOKUP_NETWORK_ORDER)
114 struct rte_rcu_qsbr *
v;
185rte_fib_add(
struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop);
221 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)
__rte_experimental int rte_fib_rcu_qsbr_add(struct rte_fib *fib, struct rte_fib_rcu_config *cfg)
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)
enum rte_fib_qsbr_mode mode