net/bnxt: fail init when mbuf allocation fails
[dpdk.git] / drivers / net / softnic / meson.build
index dd1d610..aff5fb3 100644 (file)
@@ -2,23 +2,25 @@
 # Copyright(c) 2018 Intel Corporation
 
 if not is_linux
-        build = false
+    build = false
+    reason = 'only supported on Linux'
 endif
-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',
-       'rte_eth_softnic_pipeline.c',
-       'rte_eth_softnic_thread.c',
-       'rte_eth_softnic_cli.c',
-       'rte_eth_softnic_flow.c',
-       'rte_eth_softnic_meter.c',
-       'rte_eth_softnic_cryptodev.c',
-       'parser.c',
-       'conn.c')
+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']