net/avp: remove resources when port is closed
[dpdk.git] / drivers / net / nfp / meson.build
index 3ba37e2..8c87c5b 100644 (file)
@@ -1,6 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
+if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
+        build = false
+endif
 sources = files('nfpcore/nfp_cpp_pcie_ops.c',
        'nfpcore/nfp_nsp.c',
        'nfpcore/nfp_cppcore.c',
@@ -14,3 +17,5 @@ sources = files('nfpcore/nfp_cpp_pcie_ops.c',
        'nfpcore/nfp_nsp_eth.c',
        'nfpcore/nfp_hwinfo.c',
        'nfp_net.c')
+
+allow_experimental_apis = true