efd: fix build when compiler does not support AVX2
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Oct 2017 18:24:21 +0000 (19:24 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 20:08:21 +0000 (22:08 +0200)
commit3ab2d9e8d8594a4b22da1b8393401ef3d80431c3
tree1d444949bc67fbf409fc8eefbc8456b82b7cc49a
parentc6d6982dc9f0245ad9e8ff267c73e48411662308
efd: fix build when compiler does not support AVX2

Compiler error:
irte_efd.o: In function `rte_efd_lookup':
rte_efd.c:(.text+0x6d6e): undefined reference to `efd_lookup_internal_avx2'
rte_efd.o: In function `rte_efd_lookup_bulk':
rte_efd.c:(.text+0x87d4): undefined reference to `efd_lookup_internal_avx2'

This can be observed with a compiler that doesn't support AVX2 and
shared build.

Fixes: 86d898968826 ("efd: add AVX2 vector lookup function")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_efd/rte_efd.c