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": "Rawdev autotest",
283 "Command": "rawdev_autotest",
284 "Func": default_autotest,
288 "Name": "Kvargs autotest",
289 "Command": "kvargs_autotest",
290 "Func": default_autotest,
294 "Name": "Devargs autotest",
295 "Command": "devargs_autotest",
296 "Func": default_autotest,
300 "Name": "Link bonding autotest",
301 "Command": "link_bonding_autotest",
302 "Func": default_autotest,
306 "Name": "Link bonding mode4 autotest",
307 "Command": "link_bonding_mode4_autotest",
308 "Func": default_autotest,
312 "Name": "Link bonding rssconf autotest",
313 "Command": "link_bonding_rssconf_autotest",
314 "Func": default_autotest,
318 "Name": "Crc autotest",
319 "Command": "crc_autotest",
320 "Func": default_autotest,
324 "Name": "Distributor autotest",
325 "Command": "distributor_autotest",
326 "Func": default_autotest,
330 "Name": "Reorder autotest",
331 "Command": "reorder_autotest",
332 "Func": default_autotest,
336 "Name": "Barrier autotest",
337 "Command": "barrier_autotest",
338 "Func": default_autotest,
342 "Name": "Bitmap test",
343 "Command": "bitmap_test",
344 "Func": default_autotest,
348 "Name": "Hash scaling autotest",
349 "Command": "hash_scaling_autotest",
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 #Please always keep all dump tests at the end and together!
495 "Name": "Dump physmem",
496 "Command": "dump_physmem",
497 "Func": dump_autotest,
501 "Name": "Dump memzone",
502 "Command": "dump_memzone",
503 "Func": dump_autotest,
507 "Name": "Dump struct sizes",
508 "Command": "dump_struct_sizes",
509 "Func": dump_autotest,
513 "Name": "Dump mempool",
514 "Command": "dump_mempool",
515 "Func": dump_autotest,
519 "Name": "Dump malloc stats",
520 "Command": "dump_malloc_stats",
521 "Func": dump_autotest,
525 "Name": "Dump devargs",
526 "Command": "dump_devargs",
527 "Func": dump_autotest,
531 "Name": "Dump log types",
532 "Command": "dump_log_types",
533 "Func": dump_autotest,
538 "Command": "dump_ring",
539 "Func": dump_autotest,
544 # tests that should not be run when any other tests are running
545 non_parallel_test_list = [
547 "Name": "Eventdev common autotest",
548 "Command": "eventdev_common_autotest",
549 "Func": default_autotest,
553 "Name": "Eventdev selftest sw",
554 "Command": "eventdev_selftest_sw",
555 "Func": default_autotest,
559 "Name": "KNI autotest",
560 "Command": "kni_autotest",
561 "Func": default_autotest,
565 "Name": "Mempool performance autotest",
566 "Command": "mempool_perf_autotest",
567 "Func": default_autotest,
571 "Name": "Memcpy performance autotest",
572 "Command": "memcpy_perf_autotest",
573 "Func": default_autotest,
577 "Name": "Hash performance autotest",
578 "Command": "hash_perf_autotest",
579 "Func": default_autotest,
583 "Name": "Hash read-write lock-free concurrency autotest",
584 "Command": "hash_readwrite_lf_autotest",
585 "Func": default_autotest,
589 "Name": "Power autotest",
590 "Command": "power_autotest",
591 "Func": default_autotest,
595 "Name": "Power ACPI cpufreq autotest",
596 "Command": "power_acpi_cpufreq_autotest",
597 "Func": default_autotest,
601 "Name": "Power KVM VM autotest",
602 "Command": "power_kvm_vm_autotest",
603 "Func": default_autotest,
607 "Name": "Timer performance autotest",
608 "Command": "timer_perf_autotest",
609 "Func": default_autotest,
614 "Name": "Pmd perf autotest",
615 "Command": "pmd_perf_autotest",
616 "Func": default_autotest,
620 "Name": "Ring pmd perf autotest",
621 "Command": "ring_pmd_perf_autotest",
622 "Func": default_autotest,
626 "Name": "Distributor perf autotest",
627 "Command": "distributor_perf_autotest",
628 "Func": default_autotest,
633 "Command": "red_perf",
634 "Func": default_autotest,
638 "Name": "Lpm6 perf autotest",
639 "Command": "lpm6_perf_autotest",
640 "Func": default_autotest,
644 "Name": "Lpm perf autotest",
645 "Command": "lpm_perf_autotest",
646 "Func": default_autotest,
650 "Name": "Efd perf autotest",
651 "Command": "efd_perf_autotest",
652 "Func": default_autotest,
656 "Name": "Member perf autotest",
657 "Command": "member_perf_autotest",
658 "Func": default_autotest,
662 "Name": "Reciprocal division perf",
663 "Command": "reciprocal_division_perf",
664 "Func": default_autotest,
668 # Please always make sure that ring_perf is the last test!
671 "Name": "Ring performance autotest",
672 "Command": "ring_perf_autotest",
673 "Func": default_autotest,