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": "Lcores autotest",
67 "Command": "lcores_autotest",
68 "Func": default_autotest,
72 "Name": "Logs autotest",
73 "Command": "logs_autotest",
74 "Func": logs_autotest,
78 "Name": "CPU flags autotest",
79 "Command": "cpuflags_autotest",
80 "Func": default_autotest,
84 "Name": "Version autotest",
85 "Command": "version_autotest",
86 "Func": default_autotest,
90 "Name": "EAL filesystem autotest",
91 "Command": "eal_fs_autotest",
92 "Func": default_autotest,
96 "Name": "EAL flags autotest",
97 "Command": "eal_flags_autotest",
98 "Func": default_autotest,
102 "Name": "Hash autotest",
103 "Command": "hash_autotest",
104 "Func": default_autotest,
108 "Name": "LPM autotest",
109 "Command": "lpm_autotest",
110 "Func": default_autotest,
114 "Name": "LPM6 autotest",
115 "Command": "lpm6_autotest",
116 "Func": default_autotest,
120 "Name": "RIB autotest",
121 "Command": "rib_autotest",
122 "Func": default_autotest,
126 "Name": "RIB slow autotest",
127 "Command": "rib_slow_autotest",
128 "Func": default_autotest,
132 "Name": "RIB6 autotest",
133 "Command": "rib6_autotest",
134 "Func": default_autotest,
138 "Name": "RIB6 slow autotest",
139 "Command": "rib6_slow_autotest",
140 "Func": default_autotest,
144 "Name": "FIB autotest",
145 "Command": "fib_autotest",
146 "Func": default_autotest,
150 "Name": "FIB slow autotest",
151 "Command": "fib_slow_autotest",
152 "Func": default_autotest,
156 "Name": "FIB6 autotest",
157 "Command": "fib6_autotest",
158 "Func": default_autotest,
162 "Name": "FIB6 slow autotest",
163 "Command": "fib6_slow_autotest",
164 "Func": default_autotest,
168 "Name": "Memcpy autotest",
169 "Command": "memcpy_autotest",
170 "Func": default_autotest,
174 "Name": "Memzone autotest",
175 "Command": "memzone_autotest",
176 "Func": default_autotest,
180 "Name": "String autotest",
181 "Command": "string_autotest",
182 "Func": default_autotest,
186 "Name": "Alarm autotest",
187 "Command": "alarm_autotest",
188 "Func": default_autotest,
192 "Name": "Malloc autotest",
193 "Command": "malloc_autotest",
194 "Func": default_autotest,
198 "Name": "Multi-process autotest",
199 "Command": "multiprocess_autotest",
200 "Func": default_autotest,
204 "Name": "Mbuf autotest",
205 "Command": "mbuf_autotest",
206 "Func": default_autotest,
210 "Name": "Per-lcore autotest",
211 "Command": "per_lcore_autotest",
212 "Func": default_autotest,
216 "Name": "Ring autotest",
217 "Command": "ring_autotest",
218 "Func": default_autotest,
222 "Name": "Spinlock autotest",
223 "Command": "spinlock_autotest",
224 "Func": spinlock_autotest,
228 "Name": "Ticketlock autotest",
229 "Command": "ticketlock_autotest",
230 "Func": ticketlock_autotest,
234 "Name": "MCSlock autotest",
235 "Command": "mcslock_autotest",
236 "Func": mcslock_autotest,
240 "Name": "Byte order autotest",
241 "Command": "byteorder_autotest",
242 "Func": default_autotest,
246 "Name": "TAILQ autotest",
247 "Command": "tailq_autotest",
248 "Func": default_autotest,
252 "Name": "Command-line autotest",
253 "Command": "cmdline_autotest",
254 "Func": default_autotest,
258 "Name": "Interrupts autotest",
259 "Command": "interrupt_autotest",
260 "Func": default_autotest,
264 "Name": "Function reentrancy autotest",
265 "Command": "func_reentrancy_autotest",
266 "Func": default_autotest,
270 "Name": "Mempool autotest",
271 "Command": "mempool_autotest",
272 "Func": default_autotest,
276 "Name": "Atomics autotest",
277 "Command": "atomic_autotest",
278 "Func": default_autotest,
282 "Name": "Prefetch autotest",
283 "Command": "prefetch_autotest",
284 "Func": default_autotest,
288 "Name": "Red autotest",
289 "Command": "red_autotest",
290 "Func": default_autotest,
294 "Name": "PMD ring autotest",
295 "Command": "ring_pmd_autotest",
296 "Func": default_autotest,
300 "Name": "Access list control autotest",
301 "Command": "acl_autotest",
302 "Func": default_autotest,
306 "Name": "Sched autotest",
307 "Command": "sched_autotest",
308 "Func": default_autotest,
312 "Name": "Eventdev selftest octeontx",
313 "Command": "eventdev_selftest_octeontx",
314 "Func": default_autotest,
318 "Name": "Event ring autotest",
319 "Command": "event_ring_autotest",
320 "Func": default_autotest,
324 "Name": "Table autotest",
325 "Command": "table_autotest",
326 "Func": default_autotest,
330 "Name": "Flow classify autotest",
331 "Command": "flow_classify_autotest",
332 "Func": default_autotest,
336 "Name": "Event eth rx adapter autotest",
337 "Command": "event_eth_rx_adapter_autotest",
338 "Func": default_autotest,
342 "Name": "User delay",
343 "Command": "user_delay_us",
344 "Func": default_autotest,
348 "Name": "Sleep delay",
349 "Command": "delay_us_sleep_autotest",
350 "Func": default_autotest,
354 "Name": "Rawdev autotest",
355 "Command": "rawdev_autotest",
356 "Func": default_autotest,
360 "Name": "Kvargs autotest",
361 "Command": "kvargs_autotest",
362 "Func": default_autotest,
366 "Name": "Link bonding autotest",
367 "Command": "link_bonding_autotest",
368 "Func": default_autotest,
372 "Name": "Link bonding mode4 autotest",
373 "Command": "link_bonding_mode4_autotest",
374 "Func": default_autotest,
378 "Name": "Link bonding rssconf autotest",
379 "Command": "link_bonding_rssconf_autotest",
380 "Func": default_autotest,
384 "Name": "Crc autotest",
385 "Command": "crc_autotest",
386 "Func": default_autotest,
390 "Name": "Distributor autotest",
391 "Command": "distributor_autotest",
392 "Func": default_autotest,
396 "Name": "Reorder autotest",
397 "Command": "reorder_autotest",
398 "Func": default_autotest,
402 "Name": "Barrier autotest",
403 "Command": "barrier_autotest",
404 "Func": default_autotest,
408 "Name": "Bitmap test",
409 "Command": "bitmap_test",
410 "Func": default_autotest,
414 "Name": "Bitops test",
415 "Command": "bitops_autotest",
416 "Func": default_autotest,
420 "Name": "Hash multiwriter autotest",
421 "Command": "hash_multiwriter_autotest",
422 "Func": default_autotest,
426 "Name": "Service autotest",
427 "Command": "service_autotest",
428 "Func": default_autotest,
432 "Name": "Timer racecond autotest",
433 "Command": "timer_racecond_autotest",
434 "Func": default_autotest,
438 "Name": "Member autotest",
439 "Command": "member_autotest",
440 "Func": default_autotest,
444 "Name": "Efd_autotest",
445 "Command": "efd_autotest",
446 "Func": default_autotest,
450 "Name": "Thash autotest",
451 "Command": "thash_autotest",
452 "Func": default_autotest,
456 "Name": "Hash function autotest",
457 "Command": "hash_functions_autotest",
458 "Func": default_autotest,
462 "Name": "Cryptodev sw mvsam autotest",
463 "Command": "cryptodev_sw_mvsam_autotest",
464 "Func": default_autotest,
468 "Name": "Cryptodev dpaa2 sec autotest",
469 "Command": "cryptodev_dpaa2_sec_autotest",
470 "Func": default_autotest,
474 "Name": "Cryptodev dpaa sec autotest",
475 "Command": "cryptodev_dpaa_sec_autotest",
476 "Func": default_autotest,
480 "Name": "Cryptodev qat autotest",
481 "Command": "cryptodev_qat_autotest",
482 "Func": default_autotest,
486 "Name": "Cryptodev aesni mb autotest",
487 "Command": "cryptodev_aesni_mb_autotest",
488 "Func": default_autotest,
492 "Name": "Cryptodev openssl autotest",
493 "Command": "cryptodev_openssl_autotest",
494 "Func": default_autotest,
498 "Name": "Cryptodev scheduler autotest",
499 "Command": "cryptodev_scheduler_autotest",
500 "Func": default_autotest,
504 "Name": "Cryptodev aesni gcm autotest",
505 "Command": "cryptodev_aesni_gcm_autotest",
506 "Func": default_autotest,
510 "Name": "Cryptodev null autotest",
511 "Command": "cryptodev_null_autotest",
512 "Func": default_autotest,
516 "Name": "Cryptodev sw snow3g autotest",
517 "Command": "cryptodev_sw_snow3g_autotest",
518 "Func": default_autotest,
522 "Name": "Cryptodev sw kasumi autotest",
523 "Command": "cryptodev_sw_kasumi_autotest",
524 "Func": default_autotest,
528 "Name": "Cryptodev_sw_zuc_autotest",
529 "Command": "cryptodev_sw_zuc_autotest",
530 "Func": default_autotest,
534 "Name": "Reciprocal division",
535 "Command": "reciprocal_division",
536 "Func": default_autotest,
541 "Command": "red_all",
542 "Func": default_autotest,
546 "Name": "Fbarray autotest",
547 "Command": "fbarray_autotest",
548 "Func": default_autotest,
552 "Name": "External memory autotest",
553 "Command": "external_mem_autotest",
554 "Func": default_autotest,
558 "Name": "Metrics autotest",
559 "Command": "metrics_autotest",
560 "Func": default_autotest,
564 "Name": "Bitratestats autotest",
565 "Command": "bitratestats_autotest",
566 "Func": default_autotest,
570 "Name": "Latencystats autotest",
571 "Command": "latencystats_autotest",
572 "Func": default_autotest,
576 "Name": "Pdump autotest",
577 "Command": "pdump_autotest",
578 "Func": default_autotest,
583 "Command": "ipsec_sad_autotest",
584 "Func": default_autotest,
588 #Please always keep all dump tests at the end and together!
591 "Name": "Dump physmem",
592 "Command": "dump_physmem",
593 "Func": dump_autotest,
597 "Name": "Dump memzone",
598 "Command": "dump_memzone",
599 "Func": dump_autotest,
603 "Name": "Dump struct sizes",
604 "Command": "dump_struct_sizes",
605 "Func": dump_autotest,
609 "Name": "Dump mempool",
610 "Command": "dump_mempool",
611 "Func": dump_autotest,
615 "Name": "Dump malloc stats",
616 "Command": "dump_malloc_stats",
617 "Func": dump_autotest,
621 "Name": "Dump devargs",
622 "Command": "dump_devargs",
623 "Func": dump_autotest,
627 "Name": "Dump log types",
628 "Command": "dump_log_types",
629 "Func": dump_autotest,
634 "Command": "dump_ring",
635 "Func": dump_autotest,
640 # tests that should not be run when any other tests are running
641 non_parallel_test_list = [
643 "Name": "Eventdev common autotest",
644 "Command": "eventdev_common_autotest",
645 "Func": default_autotest,
649 "Name": "Eventdev selftest sw",
650 "Command": "eventdev_selftest_sw",
651 "Func": default_autotest,
655 "Name": "KNI autotest",
656 "Command": "kni_autotest",
657 "Func": default_autotest,
661 "Name": "Mempool performance autotest",
662 "Command": "mempool_perf_autotest",
663 "Func": default_autotest,
667 "Name": "Memcpy performance autotest",
668 "Command": "memcpy_perf_autotest",
669 "Func": default_autotest,
673 "Name": "Hash performance autotest",
674 "Command": "hash_perf_autotest",
675 "Func": default_autotest,
679 "Name": "Hash read-write concurrency functional autotest",
680 "Command": "hash_readwrite_func_autotest",
681 "Func": default_autotest,
685 "Name": "Hash read-write concurrency perf autotest",
686 "Command": "hash_readwrite_perf_autotest",
687 "Func": default_autotest,
691 "Name": "Hash read-write lock-free concurrency perf autotest",
692 "Command": "hash_readwrite_lf_perf_autotest",
693 "Func": default_autotest,
697 "Name": "Power autotest",
698 "Command": "power_autotest",
699 "Func": default_autotest,
703 "Name": "Power cpufreq autotest",
704 "Command": "power_cpufreq_autotest",
705 "Func": default_autotest,
709 "Name": "Power KVM VM autotest",
710 "Command": "power_kvm_vm_autotest",
711 "Func": default_autotest,
715 "Name": "Timer performance autotest",
716 "Command": "timer_perf_autotest",
717 "Func": default_autotest,
722 "Name": "Pmd perf autotest",
723 "Command": "pmd_perf_autotest",
724 "Func": default_autotest,
728 "Name": "Ring pmd perf autotest",
729 "Command": "ring_pmd_perf_autotest",
730 "Func": default_autotest,
734 "Name": "Distributor perf autotest",
735 "Command": "distributor_perf_autotest",
736 "Func": default_autotest,
741 "Command": "red_perf",
742 "Func": default_autotest,
746 "Name": "Lpm6 perf autotest",
747 "Command": "lpm6_perf_autotest",
748 "Func": default_autotest,
752 "Name": "Lpm perf autotest",
753 "Command": "lpm_perf_autotest",
754 "Func": default_autotest,
758 "Name": "FIB perf autotest",
759 "Command": "fib_perf_autotest",
760 "Func": default_autotest,
764 "Name": "FIB6 perf autotest",
765 "Command": "fib6_perf_autotest",
766 "Func": default_autotest,
770 "Name": "Efd perf autotest",
771 "Command": "efd_perf_autotest",
772 "Func": default_autotest,
776 "Name": "Member perf autotest",
777 "Command": "member_perf_autotest",
778 "Func": default_autotest,
782 "Name": "Reciprocal division perf",
783 "Command": "reciprocal_division_perf",
784 "Func": default_autotest,
788 "Name": "RCU QSBR autotest",
789 "Command": "rcu_qsbr_autotest",
790 "Func": default_autotest,
794 "Name": "RCU QSBR performance autotest",
795 "Command": "rcu_qsbr_perf_autotest",
796 "Func": default_autotest,
800 # Please always make sure that ring_perf is the last test!
803 "Name": "Ring performance autotest",
804 "Command": "ring_perf_autotest",
805 "Func": default_autotest,