hash: select fbk function at run-time
authorElza Mathew <elza.mathew@intel.com>
Mon, 6 Nov 2017 18:04:49 +0000 (10:04 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 20 Jan 2018 14:35:16 +0000 (15:35 +0100)
commitc43cb3b184ca416c2a2ecd66668edb797cbcd25c
treec021ab788492acad1baf233858032cc21882b02d
parent3a47be9abbb64e44c85a689024a8de78a938e0c3
hash: select fbk function at run-time

Compile-time function selection can potentially lead to
lower performance on generic builds done by distros.
Replaced compile time flag checks with run-time function
selection.

Signed-off-by: Elza Mathew <elza.mathew@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_hash/rte_fbk_hash.c
lib/librte_hash/rte_fbk_hash.h