net/sfc: support flow action drop in transfer rules
[dpdk.git] / drivers / net / enic / meson.build
index e5eeb56..86ef2a8 100644 (file)
@@ -1,8 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Cisco Systems, Inc.
 
-# Experimental APIs used: rte_intr_ack
-cflags += ['-DALLOW_EXPERIMENTAL_API']
 sources = files(
        'base/vnic_cq.c',
        'base/vnic_dev.c',
@@ -16,12 +14,13 @@ sources = files(
        'enic_main.c',
        'enic_res.c',
        'enic_rxtx.c',
+       'enic_vf_representor.c',
        )
 deps += ['hash']
 includes += include_directories('base')
 
 # The current implementation assumes 64-bit pointers
-if dpdk_conf.has('RTE_MACHINE_CPUFLAG_AVX2') and dpdk_conf.get('RTE_ARCH_64')
+if cc.get_define('__AVX2__', args: machine_args) != '' and dpdk_conf.get('RTE_ARCH_64')
        sources += files('enic_rxtx_vec_avx2.c')
 # Build the avx2 handler if the compiler supports it, even though 'machine'
 # does not. This is to support users who build for the min supported machine