[dpdk-dev] [PATCH 1/3] hash: run-time function selection

Bruce Richardson bruce.richardson at intel.com
Mon Dec 11 13:52:10 CET 2017


On Mon, Nov 06, 2017 at 10:04:02AM -0800, Elza Mathew wrote:
> 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 at intel.com>
> ---
>  lib/librte_hash/rte_cuckoo_hash.c | 10 +++++++++-
>  lib/librte_hash/rte_cuckoo_hash.h |  6 ------
>  2 files changed, 9 insertions(+), 7 deletions(-)
> 

Looks good to me.

Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list