From: Bruce Richardson Date: Tue, 20 Jun 2017 15:23:03 +0000 (+0100) Subject: table: remove check for SSE4 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=887c272fabf91fefec45a41ad89efa4c604703c6;p=dpdk.git table: remove check for SSE4 Since SSE4 is now part of the minimum requirements for DPDK, we don't need the scalar version on x86. Signed-off-by: Bruce Richardson Acked-by: Konstantin Ananyev --- diff --git a/lib/librte_table/rte_lru_x86.h b/lib/librte_table/rte_lru_x86.h index 041b538f1d..314e0d6998 100644 --- a/lib/librte_table/rte_lru_x86.h +++ b/lib/librte_table/rte_lru_x86.h @@ -47,11 +47,7 @@ extern "C" { #endif #ifndef RTE_TABLE_HASH_LRU_STRATEGY -#ifdef __SSE4_2__ #define RTE_TABLE_HASH_LRU_STRATEGY 2 -#else /* if no SSE, use simple scalar version */ -#define RTE_TABLE_HASH_LRU_STRATEGY 1 -#endif #endif #if RTE_TABLE_HASH_LRU_STRATEGY == 2