29 #define CNE_FIB_MAXDEPTH 32
39 uint64_t next_hop,
int op);
42 const unsigned int n);
126 int cne_fib_add(
struct cne_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop);
int cne_fib_lookup_bulk(struct cne_fib *fib, uint32_t *ips, uint64_t *next_hops, int n)
int(* cne_fib_modify_fn_t)(struct cne_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop, int op)
int cne_fib_delete(struct cne_fib *fib, uint32_t ip, uint8_t depth)
void(* cne_fib_lookup_fn_t)(void *fib, const uint32_t *ips, uint64_t *next_hops, const unsigned int n)
@ CNE_FIB_LOOKUP_DIR24_8_SCALAR_INLINE
@ CNE_FIB_LOOKUP_DIR24_8_VECTOR_AVX512
@ CNE_FIB_LOOKUP_DIR24_8_SCALAR_MACRO
@ CNE_FIB_LOOKUP_DIR24_8_SCALAR_UNI
void cne_fib_free(struct cne_fib *fib)
struct cne_fib * cne_fib_create(const char *name, struct cne_fib_conf *conf)
int cne_fib_add(struct cne_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop)
struct cne_rib * cne_fib_get_rib(struct cne_fib *fib)
void * cne_fib_get_dp(struct cne_fib *fib)
int cne_fib_select_lookup(struct cne_fib *fib, enum cne_fib_lookup_type type)