diff options
Diffstat (limited to 'lib/librte_efd')
-rw-r--r-- | lib/librte_efd/Makefile | 1 | ||||
-rw-r--r-- | lib/librte_efd/rte_efd.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_efd/Makefile b/lib/librte_efd/Makefile index b9277bc5..16e450e8 100644 --- a/lib/librte_efd/Makefile +++ b/lib/librte_efd/Makefile @@ -36,6 +36,7 @@ LIB = librte_efd.a CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) +LDLIBS += -lrte_eal -lrte_ring -lrte_hash EXPORT_MAP := rte_efd_version.map diff --git a/lib/librte_efd/rte_efd.c b/lib/librte_efd/rte_efd.c index 4d9a0887..8771d042 100644 --- a/lib/librte_efd/rte_efd.c +++ b/lib/librte_efd/rte_efd.c @@ -42,7 +42,6 @@ #include <rte_eal_memconfig.h> #include <rte_errno.h> #include <rte_malloc.h> -#include <rte_memzone.h> #include <rte_prefetch.h> #include <rte_branch_prediction.h> #include <rte_memcpy.h> @@ -1278,7 +1277,7 @@ efd_lookup_internal(const struct efd_online_group_entry * const group, switch (lookup_fn) { -#if defined(RTE_ARCH_X86) +#if defined(RTE_ARCH_X86) && defined(CC_SUPPORT_AVX2) case EFD_LOOKUP_AVX2: return efd_lookup_internal_avx2(group->hash_idx, group->lookup_table, |