numam-dpdk/lib/librte_table
Balazs Nemeth 8595428e50 table: fix incorrect initialization
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>
2014-11-24 13:17:49 +01:00
..
Makefile table: stub 2014-06-17 03:34:11 +02:00
rte_lru.h table: hash 2014-06-17 03:34:10 +02:00
rte_table_acl.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
rte_table_acl.h table: ACL 2014-06-17 03:34:10 +02:00
rte_table_array.c table: array 2014-06-17 03:34:10 +02:00
rte_table_array.h table: array 2014-06-17 03:34:10 +02:00
rte_table_hash_ext.c table: fix incorrect initialization 2014-11-24 13:17:49 +01:00
rte_table_hash_key8.c table: fix checking extended buckets in unoptimized case 2014-11-24 13:17:49 +01:00
rte_table_hash_key16.c table: fix checking extended buckets in unoptimized case 2014-11-24 13:17:49 +01:00
rte_table_hash_key32.c table: fix checking extended buckets in unoptimized case 2014-11-24 13:17:49 +01:00
rte_table_hash_lru.c table: fix incorrect initialization 2014-11-24 13:17:49 +01:00
rte_table_hash.h table: hash 2014-06-17 03:34:10 +02:00
rte_table_lpm_ipv6.c table: LPM IPv6 2014-06-17 03:34:10 +02:00
rte_table_lpm_ipv6.h table: LPM IPv6 2014-06-17 03:34:10 +02:00
rte_table_lpm.c table: LPM IPv4 2014-06-17 03:34:10 +02:00
rte_table_lpm.h table: LPM IPv4 2014-06-17 03:34:10 +02:00
rte_table_stub.c table: stub 2014-06-17 03:34:11 +02:00
rte_table_stub.h table: stub 2014-06-17 03:34:11 +02:00
rte_table.h table: new packet framework API 2014-06-17 03:34:10 +02:00