hash: reorder hash structure
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 4 Oct 2016 23:25:12 +0000 (00:25 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Oct 2016 10:08:04 +0000 (12:08 +0200)
commit02a08eb35546e29c144066705dfdaf19beb043e6
treeb2a45563cd1edf9e35cda354b3816473c2a0c62d
parent0778cfe8642a08934724cf34a4bb2f1fba91cc88
hash: reorder hash structure

In order to optimize lookup performance, hash structure
is reordered, so all fields used for lookup will be
in the first cache line.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Sameh Gobriel <sameh.gobriel@intel.com>
lib/librte_hash/rte_cuckoo_hash.h