8595428e50
During initialization of rte_hash_table_ext and rte_hash_table_lru, t->data_size_shl is calculated. This member contains the number of bits to shift left during calculation of the location of entries in the hash table. To determine the number of bits to shift left, the size of the entry (as provided to the rte_table_hash_ext_create and rte_table_hash_lru_create) has to be used instead of the size of the key. Signed-off-by: Balazs Nemeth <balazs.nemeth@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_lru.h | ||
rte_table_acl.c | ||
rte_table_acl.h | ||
rte_table_array.c | ||
rte_table_array.h | ||
rte_table_hash_ext.c | ||
rte_table_hash_key8.c | ||
rte_table_hash_key16.c | ||
rte_table_hash_key32.c | ||
rte_table_hash_lru.c | ||
rte_table_hash.h | ||
rte_table_lpm_ipv6.c | ||
rte_table_lpm_ipv6.h | ||
rte_table_lpm.c | ||
rte_table_lpm.h | ||
rte_table_stub.c | ||
rte_table_stub.h | ||
rte_table.h |