efd: move AVX2 lookup in its own compilation unit
authorXiaoyun Li <xiaoyun.li@intel.com>
Fri, 13 Oct 2017 09:01:49 +0000 (17:01 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 13:20:50 +0000 (15:20 +0200)
commit5f180ae32962f8b3d9a04a4c91f41e1484376793
tree5c83582762c08d960589e8f4be9a535c2628de40
parentc7fbc80fe60f2915ce6e718ac0f13cfd33e406d1
efd: move AVX2 lookup in its own compilation unit

This patch enables x86 EFD file be compiled only if the compiler
supports AVX2 since it is already chosen at run-time.

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
lib/librte_efd/Makefile
lib/librte_efd/rte_efd_x86.c [new file with mode: 0644]
lib/librte_efd/rte_efd_x86.h