[dpdk-dev] [PATCH] hash: fix compilation for non-x86 systems

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jul 16 23:16:27 CEST 2015


2015-07-16 21:41, Pablo de Lara:
> Hash library uses optimized compare functions that use
> x86 intrinsics, therefore non-x86 systems could not build
> the library. In that case, the compare function is set
> to the generic memcmp.
[...]
> --- /dev/null
> +++ b/lib/librte_hash/rte_cmp_fns.h

Renaming it to rte_cmp_x86.h would allow other arch in separate files.


More information about the dev mailing list