This library is not essential for most DPDK uses, so mark it as optional
in the build config.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
app/test/meson.build | 8 ++++----
lib/meson.build | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
@@ -42,8 +42,6 @@ test_sources = files(
'test_distributor_perf.c',
'test_eal_flags.c',
'test_eal_fs.c',
- 'test_efd.c',
- 'test_efd_perf.c',
'test_errno.c',
'test_ethdev_link.c',
'test_external_mem.c',
@@ -257,9 +255,7 @@ perf_test_names = [
'barrier_autotest',
'hash_multiwriter_autotest',
'timer_racecond_autotest',
- 'efd_autotest',
'hash_functions_autotest',
- 'efd_perf_autotest',
'lpm6_perf_autotest',
'rib6_slow_autotest',
'fib6_slow_autotest',
@@ -368,6 +364,10 @@ if dpdk_conf.has('RTE_LIB_FLOW_CLASSIFY')
test_sources += 'test_flow_classify.c'
fast_tests += [['flow_classify_autotest', false, true]]
endif
+if dpdk_conf.has('RTE_LIB_EFD')
+ test_sources += ['test_efd.c', 'test_efd_perf.c']
+ perf_test_names += ['efd_autotest', 'efd_perf_autotest']
+endif
if dpdk_conf.has('RTE_LIB_GRAPH')
test_sources += 'test_graph.c'
fast_tests += [['graph_autotest', true, true]]
@@ -74,6 +74,7 @@ optional_libs = [
'cfgfile',
'compressdev',
'dmadev',
+ 'efd',
'eventdev',
'flow_classify',
'gpudev',