]> git.droids-corp.org - dpdk.git/commitdiff
net/i40e: remove checks for SSE4
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 20 Jun 2017 15:23:09 +0000 (16:23 +0100)
committerThomas 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 no longer
need these checks.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/i40e/Makefile
drivers/net/i40e/i40e_rxtx_vec_sse.c

index 56f210d6d6d0b4dbbff886bc7a7ec45400110b60..f1b0129ad6401e45425ea8c48326a52b77dbdf69 100644 (file)
@@ -110,11 +110,6 @@ SRCS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += i40e_fdir.c
 SRCS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += i40e_flow.c
 SRCS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += rte_pmd_i40e.c
 
-# vector PMD driver needs SSE4.1 support
-ifeq ($(findstring RTE_MACHINE_CPUFLAG_SSE4_1,$(CFLAGS)),)
-CFLAGS_i40e_rxtx_vec_sse.o += -msse4.1
-endif
-
 # install this header file
 SYMLINK-$(CONFIG_RTE_LIBRTE_I40E_PMD)-include := rte_pmd_i40e.h
 
index 2dc53a97e67d7d085acf137ef30021573b2edda8..779f14e53ededaaa76871cc297694c399fd12300 100644 (file)
@@ -651,11 +651,5 @@ i40e_txq_vec_setup(struct i40e_tx_queue __rte_unused *txq)
 int __attribute__((cold))
 i40e_rx_vec_dev_conf_condition_check(struct rte_eth_dev *dev)
 {
-#ifndef RTE_LIBRTE_IEEE1588
-       /* need SSE4.1 support */
-       if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_SSE4_1))
-               return -1;
-#endif
-
        return i40e_rx_vec_dev_conf_condition_check_default(dev);
 }