2 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright(c) 2010-2014 Intel Corporation
5 # Test data for autotests
7 from autotest_test_funcs import *
9 # groups of tests that can be run in parallel
10 # the grouping has been found largely empirically
11 parallel_test_list = [
13 "Name": "Cycles autotest",
14 "Command": "cycles_autotest",
15 "Func": default_autotest,
19 "Name": "Timer autotest",
20 "Command": "timer_autotest",
21 "Func": timer_autotest,
25 "Name": "Debug autotest",
26 "Command": "debug_autotest",
27 "Func": default_autotest,
31 "Name": "Errno autotest",
32 "Command": "errno_autotest",
33 "Func": default_autotest,
37 "Name": "Meter autotest",
38 "Command": "meter_autotest",
39 "Func": default_autotest,
43 "Name": "Common autotest",
44 "Command": "common_autotest",
45 "Func": default_autotest,
49 "Name": "Resource autotest",
50 "Command": "resource_autotest",
51 "Func": default_autotest,
55 "Name": "Memory autotest",
56 "Command": "memory_autotest",
57 "Func": memory_autotest,
61 "Name": "Read/write lock autotest",
62 "Command": "rwlock_autotest",
63 "Func": rwlock_autotest,
67 "Name": "Lcores autotest",
68 "Command": "lcores_autotest",
69 "Func": default_autotest,
73 "Name": "Logs autotest",
74 "Command": "logs_autotest",
75 "Func": logs_autotest,
79 "Name": "CPU flags autotest",
80 "Command": "cpuflags_autotest",
81 "Func": default_autotest,
85 "Name": "Version autotest",
86 "Command": "version_autotest",
87 "Func": default_autotest,
91 "Name": "EAL filesystem autotest",
92 "Command": "eal_fs_autotest",
93 "Func": default_autotest,
97 "Name": "EAL flags autotest",
98 "Command": "eal_flags_autotest",
99 "Func": default_autotest,
103 "Name": "Hash autotest",
104 "Command": "hash_autotest",
105 "Func": default_autotest,
109 "Name": "LPM autotest",
110 "Command": "lpm_autotest",
111 "Func": default_autotest,
115 "Name": "LPM6 autotest",
116 "Command": "lpm6_autotest",
117 "Func": default_autotest,
121 "Name": "RIB autotest",
122 "Command": "rib_autotest",
123 "Func": default_autotest,
127 "Name": "RIB slow autotest",
128 "Command": "rib_slow_autotest",
129 "Func": default_autotest,
133 "Name": "RIB6 autotest",
134 "Command": "rib6_autotest",
135 "Func": default_autotest,
139 "Name": "RIB6 slow autotest",
140 "Command": "rib6_slow_autotest",
141 "Func": default_autotest,
145 "Name": "FIB autotest",
146 "Command": "fib_autotest",
147 "Func": default_autotest,
151 "Name": "FIB slow autotest",
152 "Command": "fib_slow_autotest",
153 "Func": default_autotest,
157 "Name": "FIB6 autotest",
158 "Command": "fib6_autotest",
159 "Func": default_autotest,
163 "Name": "FIB6 slow autotest",
164 "Command": "fib6_slow_autotest",
165 "Func": default_autotest,
169 "Name": "Memcpy autotest",
170 "Command": "memcpy_autotest",
171 "Func": default_autotest,
175 "Name": "Memzone autotest",
176 "Command": "memzone_autotest",
177 "Func": default_autotest,
181 "Name": "String autotest",
182 "Command": "string_autotest",
183 "Func": default_autotest,
187 "Name": "Alarm autotest",
188 "Command": "alarm_autotest",
189 "Func": default_autotest,
193 "Name": "Malloc autotest",
194 "Command": "malloc_autotest",
195 "Func": default_autotest,
199 "Name": "Multi-process autotest",
200 "Command": "multiprocess_autotest",
201 "Func": default_autotest,
205 "Name": "Mbuf autotest",
206 "Command": "mbuf_autotest",
207 "Func": default_autotest,
211 "Name": "Per-lcore autotest",
212 "Command": "per_lcore_autotest",
213 "Func": default_autotest,
217 "Name": "Ring autotest",
218 "Command": "ring_autotest",
219 "Func": default_autotest,
223 "Name": "Spinlock autotest",
224 "Command": "spinlock_autotest",
225 "Func": spinlock_autotest,
229 "Name": "Ticketlock autotest",
230 "Command": "ticketlock_autotest",
231 "Func": ticketlock_autotest,
235 "Name": "MCSlock autotest",
236 "Command": "mcslock_autotest",
237 "Func": mcslock_autotest,
241 "Name": "Byte order autotest",
242 "Command": "byteorder_autotest",
243 "Func": default_autotest,
247 "Name": "TAILQ autotest",
248 "Command": "tailq_autotest",
249 "Func": default_autotest,
253 "Name": "Command-line autotest",
254 "Command": "cmdline_autotest",
255 "Func": default_autotest,
259 "Name": "Interrupts autotest",
260 "Command": "interrupt_autotest",
261 "Func": default_autotest,
265 "Name": "Function reentrancy autotest",
266 "Command": "func_reentrancy_autotest",
267 "Func": default_autotest,
271 "Name": "Mempool autotest",
272 "Command": "mempool_autotest",
273 "Func": default_autotest,
277 "Name": "Atomics autotest",
278 "Command": "atomic_autotest",
279 "Func": default_autotest,
283 "Name": "Prefetch autotest",
284 "Command": "prefetch_autotest",
285 "Func": default_autotest,
289 "Name": "Red autotest",
290 "Command": "red_autotest",
291 "Func": default_autotest,
295 "Name": "PMD ring autotest",
296 "Command": "ring_pmd_autotest",
297 "Func": default_autotest,
301 "Name": "Access list control autotest",
302 "Command": "acl_autotest",
303 "Func": default_autotest,
307 "Name": "Sched autotest",
308 "Command": "sched_autotest",
309 "Func": default_autotest,
313 "Name": "Eventdev selftest octeontx",
314 "Command": "eventdev_selftest_octeontx",
315 "Func": default_autotest,
319 "Name": "Event ring autotest",
320 "Command": "event_ring_autotest",
321 "Func": default_autotest,
325 "Name": "Table autotest",
326 "Command": "table_autotest",
327 "Func": default_autotest,
331 "Name": "Flow classify autotest",
332 "Command": "flow_classify_autotest",
333 "Func": default_autotest,
337 "Name": "Event eth rx adapter autotest",
338 "Command": "event_eth_rx_adapter_autotest",
339 "Func": default_autotest,
343 "Name": "User delay",
344 "Command": "user_delay_us",
345 "Func": default_autotest,
349 "Name": "Sleep delay",
350 "Command": "delay_us_sleep_autotest",
351 "Func": default_autotest,
355 "Name": "Rawdev autotest",
356 "Command": "rawdev_autotest",
357 "Func": default_autotest,
361 "Name": "Kvargs autotest",
362 "Command": "kvargs_autotest",
363 "Func": default_autotest,
367 "Name": "Link bonding autotest",
368 "Command": "link_bonding_autotest",
369 "Func": default_autotest,
373 "Name": "Link bonding mode4 autotest",
374 "Command": "link_bonding_mode4_autotest",
375 "Func": default_autotest,
379 "Name": "Link bonding rssconf autotest",
380 "Command": "link_bonding_rssconf_autotest",
381 "Func": default_autotest,
385 "Name": "Crc autotest",
386 "Command": "crc_autotest",
387 "Func": default_autotest,
391 "Name": "Distributor autotest",
392 "Command": "distributor_autotest",
393 "Func": default_autotest,
397 "Name": "Reorder autotest",
398 "Command": "reorder_autotest",
399 "Func": default_autotest,
403 "Name": "Barrier autotest",
404 "Command": "barrier_autotest",
405 "Func": default_autotest,
409 "Name": "Bitmap test",
410 "Command": "bitmap_test",
411 "Func": default_autotest,
415 "Name": "Bitops test",
416 "Command": "bitops_autotest",
417 "Func": default_autotest,
421 "Name": "Hash multiwriter autotest",
422 "Command": "hash_multiwriter_autotest",
423 "Func": default_autotest,
427 "Name": "Service autotest",
428 "Command": "service_autotest",
429 "Func": default_autotest,
433 "Name": "Timer racecond autotest",
434 "Command": "timer_racecond_autotest",
435 "Func": default_autotest,
439 "Name": "Member autotest",
440 "Command": "member_autotest",
441 "Func": default_autotest,
445 "Name": "Efd_autotest",
446 "Command": "efd_autotest",
447 "Func": default_autotest,
451 "Name": "Thash autotest",
452 "Command": "thash_autotest",
453 "Func": default_autotest,
457 "Name": "Hash function autotest",
458 "Command": "hash_functions_autotest",
459 "Func": default_autotest,
463 "Name": "Cryptodev sw mvsam autotest",
464 "Command": "cryptodev_sw_mvsam_autotest",
465 "Func": default_autotest,
469 "Name": "Cryptodev dpaa2 sec autotest",
470 "Command": "cryptodev_dpaa2_sec_autotest",
471 "Func": default_autotest,
475 "Name": "Cryptodev dpaa sec autotest",
476 "Command": "cryptodev_dpaa_sec_autotest",
477 "Func": default_autotest,
481 "Name": "Cryptodev qat autotest",
482 "Command": "cryptodev_qat_autotest",
483 "Func": default_autotest,
487 "Name": "Cryptodev aesni mb autotest",
488 "Command": "cryptodev_aesni_mb_autotest",
489 "Func": default_autotest,
493 "Name": "Cryptodev openssl autotest",
494 "Command": "cryptodev_openssl_autotest",
495 "Func": default_autotest,
499 "Name": "Cryptodev scheduler autotest",
500 "Command": "cryptodev_scheduler_autotest",
501 "Func": default_autotest,
505 "Name": "Cryptodev aesni gcm autotest",
506 "Command": "cryptodev_aesni_gcm_autotest",
507 "Func": default_autotest,
511 "Name": "Cryptodev null autotest",
512 "Command": "cryptodev_null_autotest",
513 "Func": default_autotest,
517 "Name": "Cryptodev sw snow3g autotest",
518 "Command": "cryptodev_sw_snow3g_autotest",
519 "Func": default_autotest,
523 "Name": "Cryptodev sw kasumi autotest",
524 "Command": "cryptodev_sw_kasumi_autotest",
525 "Func": default_autotest,
529 "Name": "Cryptodev_sw_zuc_autotest",
530 "Command": "cryptodev_sw_zuc_autotest",
531 "Func": default_autotest,
535 "Name": "Reciprocal division",
536 "Command": "reciprocal_division",
537 "Func": default_autotest,
542 "Command": "red_all",
543 "Func": default_autotest,
547 "Name": "Fbarray autotest",
548 "Command": "fbarray_autotest",
549 "Func": default_autotest,
553 "Name": "External memory autotest",
554 "Command": "external_mem_autotest",
555 "Func": default_autotest,
559 "Name": "Metrics autotest",
560 "Command": "metrics_autotest",
561 "Func": default_autotest,
565 "Name": "Bitratestats autotest",
566 "Command": "bitratestats_autotest",
567 "Func": default_autotest,
571 "Name": "Latencystats autotest",
572 "Command": "latencystats_autotest",
573 "Func": default_autotest,
577 "Name": "Pdump autotest",
578 "Command": "pdump_autotest",
579 "Func": default_autotest,
584 "Command": "ipsec_sad_autotest",
585 "Func": default_autotest,
589 #Please always keep all dump tests at the end and together!
592 "Name": "Dump physmem",
593 "Command": "dump_physmem",
594 "Func": dump_autotest,
598 "Name": "Dump memzone",
599 "Command": "dump_memzone",
600 "Func": dump_autotest,
604 "Name": "Dump struct sizes",
605 "Command": "dump_struct_sizes",
606 "Func": dump_autotest,
610 "Name": "Dump mempool",
611 "Command": "dump_mempool",
612 "Func": dump_autotest,
616 "Name": "Dump malloc stats",
617 "Command": "dump_malloc_stats",
618 "Func": dump_autotest,
622 "Name": "Dump devargs",
623 "Command": "dump_devargs",
624 "Func": dump_autotest,
628 "Name": "Dump log types",
629 "Command": "dump_log_types",
630 "Func": dump_autotest,
635 "Command": "dump_ring",
636 "Func": dump_autotest,
641 # tests that should not be run when any other tests are running
642 non_parallel_test_list = [
644 "Name": "Eventdev common autotest",
645 "Command": "eventdev_common_autotest",
646 "Func": default_autotest,
650 "Name": "Eventdev selftest sw",
651 "Command": "eventdev_selftest_sw",
652 "Func": default_autotest,
656 "Name": "KNI autotest",
657 "Command": "kni_autotest",
658 "Func": default_autotest,
662 "Name": "Mempool performance autotest",
663 "Command": "mempool_perf_autotest",
664 "Func": default_autotest,
668 "Name": "Memcpy performance autotest",
669 "Command": "memcpy_perf_autotest",
670 "Func": default_autotest,
674 "Name": "Hash performance autotest",
675 "Command": "hash_perf_autotest",
676 "Func": default_autotest,
680 "Name": "Hash read-write concurrency functional autotest",
681 "Command": "hash_readwrite_func_autotest",
682 "Func": default_autotest,
686 "Name": "Hash read-write concurrency perf autotest",
687 "Command": "hash_readwrite_perf_autotest",
688 "Func": default_autotest,
692 "Name": "Hash read-write lock-free concurrency perf autotest",
693 "Command": "hash_readwrite_lf_perf_autotest",
694 "Func": default_autotest,
698 "Name": "Power autotest",
699 "Command": "power_autotest",
700 "Func": default_autotest,
704 "Name": "Power cpufreq autotest",
705 "Command": "power_cpufreq_autotest",
706 "Func": default_autotest,
710 "Name": "Power KVM VM autotest",
711 "Command": "power_kvm_vm_autotest",
712 "Func": default_autotest,
716 "Name": "Timer performance autotest",
717 "Command": "timer_perf_autotest",
718 "Func": default_autotest,
723 "Name": "Pmd perf autotest",
724 "Command": "pmd_perf_autotest",
725 "Func": default_autotest,
729 "Name": "Ring pmd perf autotest",
730 "Command": "ring_pmd_perf_autotest",
731 "Func": default_autotest,
735 "Name": "Distributor perf autotest",
736 "Command": "distributor_perf_autotest",
737 "Func": default_autotest,
742 "Command": "red_perf",
743 "Func": default_autotest,
747 "Name": "Lpm6 perf autotest",
748 "Command": "lpm6_perf_autotest",
749 "Func": default_autotest,
753 "Name": "Lpm perf autotest",
754 "Command": "lpm_perf_autotest",
755 "Func": default_autotest,
759 "Name": "FIB perf autotest",
760 "Command": "fib_perf_autotest",
761 "Func": default_autotest,
765 "Name": "FIB6 perf autotest",
766 "Command": "fib6_perf_autotest",
767 "Func": default_autotest,
771 "Name": "Efd perf autotest",
772 "Command": "efd_perf_autotest",
773 "Func": default_autotest,
777 "Name": "Member perf autotest",
778 "Command": "member_perf_autotest",
779 "Func": default_autotest,
783 "Name": "Reciprocal division perf",
784 "Command": "reciprocal_division_perf",
785 "Func": default_autotest,
789 "Name": "RCU QSBR autotest",
790 "Command": "rcu_qsbr_autotest",
791 "Func": default_autotest,
795 "Name": "RCU QSBR performance autotest",
796 "Command": "rcu_qsbr_perf_autotest",
797 "Func": default_autotest,
801 # Please always make sure that ring_perf is the last test!
804 "Name": "Ring performance autotest",
805 "Command": "ring_perf_autotest",
806 "Func": default_autotest,