[dpdk-dev] [PATCH] hash: fix wrong size memory calculation

2015-09-09 Thread Thomas Monjalon
2015-08-31 14:30, Pablo de Lara: > When calculating the size for the table which allocates > the keys, size was calculated wrongly from multiplying > two 32-bit variables, resulting on a 32-bit number, > before casting to 64-bit, so maximum size was 4G. > > Fixes: 48a399119619 ("hash: replace with

[dpdk-dev] [PATCH] hash: fix wrong size memory calculation

2015-08-31 Thread Pablo de Lara
When calculating the size for the table which allocates the keys, size was calculated wrongly from multiplying two 32-bit variables, resulting on a 32-bit number, before casting to 64-bit, so maximum size was 4G. Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") Signed-off-by: