net/mvpp2: add 2.5G link info
[dpdk.git] / drivers / net / i40e / meson.build
index e4eb925..f5fc5a1 100644 (file)
@@ -26,7 +26,6 @@ deps += ['hash']
 includes += include_directories('base')
 
 if arch_subdir == 'x86'
-       dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
        sources += files('i40e_rxtx_vec_sse.c')
 
        # compile AVX2 version if either:
@@ -55,6 +54,10 @@ if arch_subdir == 'x86'
                cc.has_argument('-mavx512f') and
                cc.has_argument('-mavx512bw'))
 
+       if is_windows and cc.get_id() != 'clang'
+               i40e_avx512_cc_support = false
+       endif
+
        if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true
                cflags += ['-DCC_AVX512_SUPPORT']
                avx512_args = [cflags, '-mavx512f', '-mavx512bw']
@@ -70,10 +73,8 @@ if arch_subdir == 'x86'
                objs += i40e_avx512_lib.extract_objects('i40e_rxtx_vec_avx512.c')
        endif
 elif arch_subdir == 'ppc'
-       dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
        sources += files('i40e_rxtx_vec_altivec.c')
 elif arch_subdir == 'arm'
-       dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
        sources += files('i40e_rxtx_vec_neon.c')
 endif