| H A D | rte_efd.c | 37 #define EFD_KEY(key_idx, table) (table->keys + ((key_idx) * table->key_len)) argument 39 #define EFD_HASH(key, table) \ argument 40 (uint32_t)(rte_jhash(key, table->key_len, 0xbc9f1d34)) 42 #define EFD_HASHFUNCA(key, table) \ argument 43 (uint32_t)(rte_hash_crc(key, table->key_len, 0xbc9f1d35)) 45 #define EFD_HASHFUNCB(key, table) \ argument 46 (uint32_t)(rte_hash_crc(key, table->key_len, 0xbc9f1d36)) 52 /* These parameters are fixed by the efd_bin_to_group balancing table */ 280 efd_get_chunk_id(const struct rte_efd_table * const table,const uint32_t hashed_key) efd_get_chunk_id() argument 297 efd_get_bin_id(const struct rte_efd_table * const table,const uint32_t hashed_key) efd_get_bin_id() argument 319 efd_get_choice(const struct rte_efd_table * const table,const unsigned int socket_id,const uint32_t chunk_id,const uint32_t bin_id) efd_get_choice() argument 355 efd_compute_ids(const struct rte_efd_table * const table,const void * key,uint32_t * const chunk_id,uint32_t * const bin_id) efd_compute_ids() argument 375 efd_search_hash(struct rte_efd_table * const table,const struct efd_offline_group_rules * const off_group,struct efd_online_group_entry * const on_group) efd_search_hash() argument 503 struct rte_efd_table *table = NULL; rte_efd_create() local 726 struct rte_efd_table *table = NULL; rte_efd_find_existing() local 750 rte_efd_free(struct rte_efd_table * table) rte_efd_free() argument 802 efd_apply_update(struct rte_efd_table * const table,const unsigned int socket_id,const uint32_t chunk_id,const uint32_t group_id,const uint32_t bin_id,const uint8_t new_bin_choice,const struct efd_online_group_entry * const new_group_entry) efd_apply_update() argument 963 efd_compute_update(struct rte_efd_table * const table,const unsigned int socket_id,const void * key,const efd_value_t value,uint32_t * const chunk_id,uint32_t * const group_id,uint32_t * const bin_id,uint8_t * const new_bin_choice,struct efd_online_group_entry * const entry) efd_compute_update() argument 1166 rte_efd_update(struct rte_efd_table * const table,const unsigned int socket_id,const void * key,const efd_value_t value) rte_efd_update() argument 1189 rte_efd_delete(struct rte_efd_table * const table,const unsigned int socket_id,const void * key,efd_value_t * const prev_value) rte_efd_delete() argument 1305 rte_efd_lookup(const struct rte_efd_table * const table,const unsigned int socket_id,const void * key) rte_efd_lookup() argument 1325 rte_efd_lookup_bulk(const struct rte_efd_table * const table,const unsigned int socket_id,const int num_keys,const void ** key_list,efd_value_t * const value_list) rte_efd_lookup_bulk() argument [all...] |