crypto/scheduler: add in meson build
authorLuca Boccassi <bluca@debian.org>
Tue, 18 Sep 2018 14:58:16 +0000 (15:58 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 18 Sep 2018 20:53:35 +0000 (22:53 +0200)
Signed-off-by: Luca Boccassi <bluca@debian.org>
drivers/crypto/meson.build
drivers/crypto/scheduler/meson.build [new file with mode: 0644]

index d64ca41..6ed853b 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright(c) 2017 Intel Corporation
 
 drivers = ['ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam',
-       'null', 'openssl', 'qat', 'virtio']
+       'null', 'openssl', 'qat', 'scheduler', 'virtio']
 
 std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
 config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'
diff --git a/drivers/crypto/scheduler/meson.build b/drivers/crypto/scheduler/meson.build
new file mode 100644 (file)
index 0000000..c5ba2d6
--- /dev/null
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
+
+deps += ['bus_vdev', 'reorder']
+name = 'crypto_scheduler'
+sources = files(
+       'rte_cryptodev_scheduler.c',
+       'scheduler_failover.c',
+       'scheduler_multicore.c',
+       'scheduler_pkt_size_distr.c',
+       'scheduler_pmd.c',
+       'scheduler_pmd_ops.c',
+       'scheduler_roundrobin.c',
+)
+
+headers = files(
+       'rte_cryptodev_scheduler.h',
+       'rte_cryptodev_scheduler_operations.h',
+)