34 #ifndef __INCLUDE_RTE_TABLE_H__
35 #define __INCLUDE_RTE_TABLE_H__
65 uint64_t n_pkts_lookup_miss;
81 typedef void* (*rte_table_op_create)(
void *params,
int socket_id,
264 uint64_t *lookup_hit_mask,
rte_table_op_entry_add f_add
int(* rte_table_op_stats_read)(void *table, struct rte_table_stats *stats, int clear)
int(* rte_table_op_entry_add_bulk)(void *table, void **keys, void **entries, uint32_t n_keys, int *key_found, void **entries_ptr)
rte_table_op_create f_create
int(* rte_table_op_lookup)(void *table, struct rte_mbuf **pkts, uint64_t pkts_mask, uint64_t *lookup_hit_mask, void **entries)
int(* rte_table_op_entry_delete)(void *table, void *key, int *key_found, void *entry)
int(* rte_table_op_entry_delete_bulk)(void *table, void **keys, uint32_t n_keys, int *key_found, void **entries)
rte_table_op_entry_delete_bulk f_delete_bulk
rte_table_op_lookup f_lookup
void *(* rte_table_op_create)(void *params, int socket_id, uint32_t entry_size)
rte_table_op_entry_delete f_delete
int(* rte_table_op_free)(void *table)
rte_table_op_entry_add_bulk f_add_bulk
rte_table_op_stats_read f_stats
int(* rte_table_op_entry_add)(void *table, void *key, void *entry, int *key_found, void **entry_ptr)