hash: fix bucket size usage
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 12 Oct 2016 01:26:44 +0000 (02:26 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 12 Oct 2016 16:40:52 +0000 (18:40 +0200)
commit94eaebad746b11c89a69cd7628b0addc5e85ad26
treee629b83a103b5ca71b4ca8354e102f35b56261c7
parent243e93a5046ff61658a0f5905ded49634c5ab205
hash: fix bucket size usage

Multiwriter insert function was using a fixed value for
the bucket size, instead of using the
RTE_HASH_BUCKET_ENTRIES macro, which value was changed
recently (making it inconsistent in this case).

Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Intel TSX")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_hash/rte_cuckoo_hash_x86.h