git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff1b2b3
)
table: remove check for SSE4
author
Bruce Richardson
<bruce.richardson@intel.com>
Tue, 20 Jun 2017 15:23:03 +0000
(16:23 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 4 Jul 2017 12:39:18 +0000
(14:39 +0200)
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 <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_table/rte_lru_x86.h
patch
|
blob
|
history
diff --git
a/lib/librte_table/rte_lru_x86.h
b/lib/librte_table/rte_lru_x86.h
index
041b538
..
314e0d6
100644
(file)
--- 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