net/bnxt: fail init when mbuf allocation fails
[dpdk.git] / drivers / net / softnic / meson.build
index 4afd1c6..aff5fb3 100644 (file)
@@ -1,13 +1,26 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-allow_experimental_apis = true
-install_headers('rte_eth_softnic.h')
-sources = files('rte_eth_softnic_tm.c',
-       'rte_eth_softnic.c',
-       'rte_eth_softnic_mempool.c',
-       'rte_eth_softnic_swq.c',
-       'rte_eth_softnic_link.c',
-       'rte_eth_softnic_tap.c',
-       'rte_eth_softnic_action.c')
-deps += ['pipeline', 'sched']
+if not is_linux
+    build = false
+    reason = 'only supported on Linux'
+endif
+headers = files('rte_eth_softnic.h')
+sources = files(
+        'conn.c',
+        'parser.c',
+        'rte_eth_softnic.c',
+        'rte_eth_softnic_action.c',
+        'rte_eth_softnic_cli.c',
+        'rte_eth_softnic_cryptodev.c',
+        'rte_eth_softnic_flow.c',
+        'rte_eth_softnic_link.c',
+        'rte_eth_softnic_mempool.c',
+        'rte_eth_softnic_meter.c',
+        'rte_eth_softnic_pipeline.c',
+        'rte_eth_softnic_swq.c',
+        'rte_eth_softnic_tap.c',
+        'rte_eth_softnic_thread.c',
+        'rte_eth_softnic_tm.c',
+)
+deps += ['pipeline', 'port', 'table', 'sched', 'cryptodev']