1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
4 # Test data for autotests
6 from autotest_test_funcs import *
8 # groups of tests that can be run in parallel
9 # the grouping has been found largely empirically
10 parallel_test_list = [
12 "Name": "Cycles autotest",
13 "Command": "cycles_autotest",
14 "Func": default_autotest,
18 "Name": "Timer autotest",
19 "Command": "timer_autotest",
20 "Func": timer_autotest,
24 "Name": "Debug autotest",
25 "Command": "debug_autotest",
26 "Func": default_autotest,
30 "Name": "Errno autotest",
31 "Command": "errno_autotest",
32 "Func": default_autotest,
36 "Name": "Meter autotest",
37 "Command": "meter_autotest",
38 "Func": default_autotest,
42 "Name": "Common autotest",
43 "Command": "common_autotest",
44 "Func": default_autotest,
48 "Name": "Resource autotest",
49 "Command": "resource_autotest",
50 "Func": default_autotest,
54 "Name": "Memory autotest",
55 "Command": "memory_autotest",
56 "Func": memory_autotest,
60 "Name": "Read/write lock autotest",
61 "Command": "rwlock_autotest",
62 "Func": rwlock_autotest,
66 "Name": "Logs autotest",
67 "Command": "logs_autotest",
68 "Func": logs_autotest,
72 "Name": "CPU flags autotest",
73 "Command": "cpuflags_autotest",
74 "Func": default_autotest,
78 "Name": "Version autotest",
79 "Command": "version_autotest",
80 "Func": default_autotest,
84 "Name": "EAL filesystem autotest",
85 "Command": "eal_fs_autotest",
86 "Func": default_autotest,
90 "Name": "EAL flags autotest",
91 "Command": "eal_flags_autotest",
92 "Func": default_autotest,
96 "Name": "Hash autotest",
97 "Command": "hash_autotest",
98 "Func": default_autotest,
102 "Name": "LPM autotest",
103 "Command": "lpm_autotest",
104 "Func": default_autotest,
108 "Name": "LPM6 autotest",
109 "Command": "lpm6_autotest",
110 "Func": default_autotest,
114 "Name": "Memcpy autotest",
115 "Command": "memcpy_autotest",
116 "Func": default_autotest,
120 "Name": "Memzone autotest",
121 "Command": "memzone_autotest",
122 "Func": default_autotest,
126 "Name": "String autotest",
127 "Command": "string_autotest",
128 "Func": default_autotest,
132 "Name": "Alarm autotest",
133 "Command": "alarm_autotest",
134 "Func": default_autotest,
138 "Name": "Malloc autotest",
139 "Command": "malloc_autotest",
140 "Func": default_autotest,
144 "Name": "Multi-process autotest",
145 "Command": "multiprocess_autotest",
146 "Func": default_autotest,
150 "Name": "Mbuf autotest",
151 "Command": "mbuf_autotest",
152 "Func": default_autotest,
156 "Name": "Per-lcore autotest",
157 "Command": "per_lcore_autotest",
158 "Func": default_autotest,
162 "Name": "Ring autotest",
163 "Command": "ring_autotest",
164 "Func": default_autotest,
168 "Name": "Spinlock autotest",
169 "Command": "spinlock_autotest",
170 "Func": spinlock_autotest,
174 "Name": "Byte order autotest",
175 "Command": "byteorder_autotest",
176 "Func": default_autotest,
180 "Name": "TAILQ autotest",
181 "Command": "tailq_autotest",
182 "Func": default_autotest,
186 "Name": "Command-line autotest",
187 "Command": "cmdline_autotest",
188 "Func": default_autotest,
192 "Name": "Interrupts autotest",
193 "Command": "interrupt_autotest",
194 "Func": default_autotest,
198 "Name": "Function reentrancy autotest",
199 "Command": "func_reentrancy_autotest",
200 "Func": default_autotest,
204 "Name": "Mempool autotest",
205 "Command": "mempool_autotest",
206 "Func": default_autotest,
210 "Name": "Atomics autotest",
211 "Command": "atomic_autotest",
212 "Func": default_autotest,
216 "Name": "Prefetch autotest",
217 "Command": "prefetch_autotest",
218 "Func": default_autotest,
222 "Name": "Red autotest",
223 "Command": "red_autotest",
224 "Func": default_autotest,
228 "Name": "PMD ring autotest",
229 "Command": "ring_pmd_autotest",
230 "Func": default_autotest,
234 "Name": "Access list control autotest",
235 "Command": "acl_autotest",
236 "Func": default_autotest,
240 "Name": "Sched autotest",
241 "Command": "sched_autotest",
242 "Func": default_autotest,
246 "Name": "Eventdev selftest octeontx",
247 "Command": "eventdev_selftest_octeontx",
248 "Func": default_autotest,
252 "Name": "Event ring autotest",
253 "Command": "event_ring_autotest",
254 "Func": default_autotest,
258 "Name": "Table autotest",
259 "Command": "table_autotest",
260 "Func": default_autotest,
264 "Name": "Flow classify autotest",
265 "Command": "flow_classify_autotest",
266 "Func": default_autotest,
270 "Name": "Event eth rx adapter autotest",
271 "Command": "event_eth_rx_adapter_autotest",
272 "Func": default_autotest,
276 "Name": "User delay",
277 "Command": "user_delay_us",
278 "Func": default_autotest,
282 "Name": "Sleep delay",
283 "Command": "delay_us_sleep_autotest",
284 "Func": default_autotest,
288 "Name": "Rawdev autotest",
289 "Command": "rawdev_autotest",
290 "Func": default_autotest,
294 "Name": "Kvargs autotest",
295 "Command": "kvargs_autotest",
296 "Func": default_autotest,
300 "Name": "Devargs autotest",
301 "Command": "devargs_autotest",
302 "Func": default_autotest,
306 "Name": "Link bonding autotest",
307 "Command": "link_bonding_autotest",
308 "Func": default_autotest,
312 "Name": "Link bonding mode4 autotest",
313 "Command": "link_bonding_mode4_autotest",
314 "Func": default_autotest,
318 "Name": "Link bonding rssconf autotest",
319 "Command": "link_bonding_rssconf_autotest",
320 "Func": default_autotest,
324 "Name": "Crc autotest",
325 "Command": "crc_autotest",
326 "Func": default_autotest,
330 "Name": "Distributor autotest",
331 "Command": "distributor_autotest",
332 "Func": default_autotest,
336 "Name": "Reorder autotest",
337 "Command": "reorder_autotest",
338 "Func": default_autotest,
342 "Name": "Barrier autotest",
343 "Command": "barrier_autotest",
344 "Func": default_autotest,
348 "Name": "Bitmap test",
349 "Command": "bitmap_test",
350 "Func": default_autotest,
354 "Name": "Hash multiwriter autotest",
355 "Command": "hash_multiwriter_autotest",
356 "Func": default_autotest,
360 "Name": "Service autotest",
361 "Command": "service_autotest",
362 "Func": default_autotest,
366 "Name": "Timer racecond autotest",
367 "Command": "timer_racecond_autotest",
368 "Func": default_autotest,
372 "Name": "Member autotest",
373 "Command": "member_autotest",
374 "Func": default_autotest,
378 "Name": "Efd_autotest",
379 "Command": "efd_autotest",
380 "Func": default_autotest,
384 "Name": "Thash autotest",
385 "Command": "thash_autotest",
386 "Func": default_autotest,
390 "Name": "Hash function autotest",
391 "Command": "hash_functions_autotest",
392 "Func": default_autotest,
396 "Name": "Cryptodev sw mrvl autotest",
397 "Command": "cryptodev_sw_mrvl_autotest",
398 "Func": default_autotest,
402 "Name": "Cryptodev dpaa2 sec autotest",
403 "Command": "cryptodev_dpaa2_sec_autotest",
404 "Func": default_autotest,
408 "Name": "Cryptodev dpaa sec autotest",
409 "Command": "cryptodev_dpaa_sec_autotest",
410 "Func": default_autotest,
414 "Name": "Cryptodev qat autotest",
415 "Command": "cryptodev_qat_autotest",
416 "Func": default_autotest,
420 "Name": "Cryptodev aesni mb autotest",
421 "Command": "cryptodev_aesni_mb_autotest",
422 "Func": default_autotest,
426 "Name": "Cryptodev openssl autotest",
427 "Command": "cryptodev_openssl_autotest",
428 "Func": default_autotest,
432 "Name": "Cryptodev scheduler autotest",
433 "Command": "cryptodev_scheduler_autotest",
434 "Func": default_autotest,
438 "Name": "Cryptodev aesni gcm autotest",
439 "Command": "cryptodev_aesni_gcm_autotest",
440 "Func": default_autotest,
444 "Name": "Cryptodev null autotest",
445 "Command": "cryptodev_null_autotest",
446 "Func": default_autotest,
450 "Name": "Cryptodev sw snow3g autotest",
451 "Command": "cryptodev_sw_snow3g_autotest",
452 "Func": default_autotest,
456 "Name": "Cryptodev sw kasumi autotest",
457 "Command": "cryptodev_sw_kasumi_autotest",
458 "Func": default_autotest,
462 "Name": "Cryptodev_sw_zuc_autotest",
463 "Command": "cryptodev_sw_zuc_autotest",
464 "Func": default_autotest,
468 "Name": "Reciprocal division",
469 "Command": "reciprocal_division",
470 "Func": default_autotest,
475 "Command": "red_all",
476 "Func": default_autotest,
480 "Name": "Fbarray autotest",
481 "Command": "fbarray_autotest",
482 "Func": default_autotest,
486 "Name": "External memory autotest",
487 "Command": "external_mem_autotest",
488 "Func": default_autotest,
492 "Name": "Metrics autotest",
493 "Command": "metrics_autotest",
494 "Func": default_autotest,
498 "Name": "Bitratestats autotest",
499 "Command": "bitratestats_autotest",
500 "Func": default_autotest,
504 "Name": "Latencystats autotest",
505 "Command": "latencystats_autotest",
506 "Func": default_autotest,
510 "Name": "Pdump autotest",
511 "Comamnd": "pdump_autotest",
512 "Func": default_autotest,
516 #Please always keep all dump tests at the end and together!
519 "Name": "Dump physmem",
520 "Command": "dump_physmem",
521 "Func": dump_autotest,
525 "Name": "Dump memzone",
526 "Command": "dump_memzone",
527 "Func": dump_autotest,
531 "Name": "Dump struct sizes",
532 "Command": "dump_struct_sizes",
533 "Func": dump_autotest,
537 "Name": "Dump mempool",
538 "Command": "dump_mempool",
539 "Func": dump_autotest,
543 "Name": "Dump malloc stats",
544 "Command": "dump_malloc_stats",
545 "Func": dump_autotest,
549 "Name": "Dump devargs",
550 "Command": "dump_devargs",
551 "Func": dump_autotest,
555 "Name": "Dump log types",
556 "Command": "dump_log_types",
557 "Func": dump_autotest,
562 "Command": "dump_ring",
563 "Func": dump_autotest,
568 # tests that should not be run when any other tests are running
569 non_parallel_test_list = [
571 "Name": "Eventdev common autotest",
572 "Command": "eventdev_common_autotest",
573 "Func": default_autotest,
577 "Name": "Eventdev selftest sw",
578 "Command": "eventdev_selftest_sw",
579 "Func": default_autotest,
583 "Name": "KNI autotest",
584 "Command": "kni_autotest",
585 "Func": default_autotest,
589 "Name": "Mempool performance autotest",
590 "Command": "mempool_perf_autotest",
591 "Func": default_autotest,
595 "Name": "Memcpy performance autotest",
596 "Command": "memcpy_perf_autotest",
597 "Func": default_autotest,
601 "Name": "Hash performance autotest",
602 "Command": "hash_perf_autotest",
603 "Func": default_autotest,
607 "Name": "Hash read-write concurrency autotest",
608 "Command": "hash_readwrite_autotest",
609 "Func": default_autotest,
613 "Name": "Hash read-write lock-free concurrency autotest",
614 "Command": "hash_readwrite_lf_autotest",
615 "Func": default_autotest,
619 "Name": "Power autotest",
620 "Command": "power_autotest",
621 "Func": default_autotest,
625 "Name": "Power ACPI cpufreq autotest",
626 "Command": "power_acpi_cpufreq_autotest",
627 "Func": default_autotest,
631 "Name": "Power KVM VM autotest",
632 "Command": "power_kvm_vm_autotest",
633 "Func": default_autotest,
637 "Name": "Timer performance autotest",
638 "Command": "timer_perf_autotest",
639 "Func": default_autotest,
644 "Name": "Pmd perf autotest",
645 "Command": "pmd_perf_autotest",
646 "Func": default_autotest,
650 "Name": "Ring pmd perf autotest",
651 "Command": "ring_pmd_perf_autotest",
652 "Func": default_autotest,
656 "Name": "Distributor perf autotest",
657 "Command": "distributor_perf_autotest",
658 "Func": default_autotest,
663 "Command": "red_perf",
664 "Func": default_autotest,
668 "Name": "Lpm6 perf autotest",
669 "Command": "lpm6_perf_autotest",
670 "Func": default_autotest,
674 "Name": "Lpm perf autotest",
675 "Command": "lpm_perf_autotest",
676 "Func": default_autotest,
680 "Name": "Efd perf autotest",
681 "Command": "efd_perf_autotest",
682 "Func": default_autotest,
686 "Name": "Member perf autotest",
687 "Command": "member_perf_autotest",
688 "Func": default_autotest,
692 "Name": "Reciprocal division perf",
693 "Command": "reciprocal_division_perf",
694 "Func": default_autotest,
698 # Please always make sure that ring_perf is the last test!
701 "Name": "Ring performance autotest",
702 "Command": "ring_perf_autotest",
703 "Func": default_autotest,