[dpdk-dev] [PATCH 4/4] table: fix pointer calculations at initialization

2014-09-26 Thread Balazs Nemeth
During initialization of rte_table_hash_ext and rte_table_hash_lru, a contiguous region of memory is allocated to store meta data, buckets, extended buckets, keys, stack of keys, stack of extended buckets and data entries. The size of each region depends on the hash table configuration. The addres

[dpdk-dev] [PATCH 4/4] table: fix pointer calculations at initialization

2014-09-25 Thread Balazs Nemeth
During initialization of rte_table_hash_ext and rte_table_hash_lru, a contiguous region of memory is allocated to store meta data, buckets, extended buckets, keys, stack of keys, stack of extended buckets and data entries. The size of each region depends on the hash table configuration. The addres