| /dpdk/app/test-eventdev/ |
| H A D | evt_main.c | 112 if (test->ops.test_setup(test, &opt)) { in main() 160 test->ops.ethdev_rx_stop(test, &opt); in main() 168 test->ops.test_result(test, &opt); in main() 171 test->ops.ethdev_destroy(test, &opt); in main() 174 test->ops.eventdev_destroy(test, &opt); in main() 177 test->ops.mempool_destroy(test, &opt); in main() 180 test->ops.test_destroy(test, &opt); in main() 195 test->ops.eventdev_destroy(test, &opt); in main() 203 test->ops.ethdev_destroy(test, &opt); in main() 207 test->ops.mempool_destroy(test, &opt); in main() [all …]
|
| H A D | evt_test.h | 27 (struct evt_test *test, struct evt_options *opt); 29 (struct evt_test *test, struct evt_options *opt); 31 (struct evt_test *test, struct evt_options *opt); 33 (struct evt_test *test, struct evt_options *opt); 35 (struct evt_test *test, struct evt_options *opt); 37 (struct evt_test *test, struct evt_options *opt); 79 struct evt_test test; member 91 _evt_test_entry_ ##nm.test.name = RTE_STR(nm);\ 92 memcpy(&_evt_test_entry_ ##nm.test.ops, &nm, \ 100 evt_test_priv(struct evt_test *test) in evt_test_priv() argument [all …]
|
| H A D | test_order_common.c | 11 struct test_order *t = evt_test_priv(test); in order_test_result() 156 test->test_priv = test_order; in order_test_setup() 157 t = evt_test_priv(test); in order_test_setup() 201 rte_free(test->test_priv); in order_test_setup() 210 struct test_order *t = evt_test_priv(test); in order_test_destroy() 214 rte_free(test->test_priv); in order_test_destroy() 220 struct test_order *t = evt_test_priv(test); in order_mempool_setup() 238 struct test_order *t = evt_test_priv(test); in order_mempool_destroy() 246 RTE_SET_USED(test); in order_eventdev_destroy() 266 struct test_order *t = evt_test_priv(test); in order_launch_lcores() [all …]
|
| H A D | test_perf_common.h | 168 int perf_test_result(struct evt_test *test, struct evt_options *opt); 170 int perf_test_setup(struct evt_test *test, struct evt_options *opt); 171 int perf_ethdev_setup(struct evt_test *test, struct evt_options *opt); 172 int perf_cryptodev_setup(struct evt_test *test, struct evt_options *opt); 173 int perf_mempool_setup(struct evt_test *test, struct evt_options *opt); 178 int perf_launch_lcores(struct evt_test *test, struct evt_options *opt, 181 void perf_test_destroy(struct evt_test *test, struct evt_options *opt); 182 void perf_eventdev_destroy(struct evt_test *test, struct evt_options *opt); 184 void perf_ethdev_destroy(struct evt_test *test, struct evt_options *opt); 185 void perf_ethdev_rx_stop(struct evt_test *test, struct evt_options *opt); [all …]
|
| H A D | test_pipeline_common.c | 14 struct test_pipeline *t = evt_test_priv(test); in pipeline_test_result() 64 struct test_pipeline *t = evt_test_priv(test); in pipeline_launch_lcores() 175 struct test_pipeline *t = evt_test_priv(test); in pipeline_ethdev_setup() 296 struct test_pipeline *t = evt_test_priv(test); in pipeline_event_port_setup() 563 RTE_SET_USED(test); in pipeline_ethdev_rx_stop() 579 RTE_SET_USED(test); in pipeline_ethdev_destroy() 593 RTE_SET_USED(test); in pipeline_eventdev_destroy() 636 test->name, i); in pipeline_mempool_setup() 652 test->name, /* mempool name */ in pipeline_mempool_setup() 693 test->test_priv = test_pipeline; in pipeline_test_setup() [all …]
|
| H A D | test_order_common.h | 140 int order_test_result(struct evt_test *test, struct evt_options *opt); 142 int order_test_setup(struct evt_test *test, struct evt_options *opt); 143 int order_mempool_setup(struct evt_test *test, struct evt_options *opt); 144 int order_launch_lcores(struct evt_test *test, struct evt_options *opt, 146 int order_event_dev_port_setup(struct evt_test *test, struct evt_options *opt, 148 void order_test_destroy(struct evt_test *test, struct evt_options *opt); 150 void order_mempool_destroy(struct evt_test *test, struct evt_options *opt); 151 void order_eventdev_destroy(struct evt_test *test, struct evt_options *opt);
|
| H A D | test_pipeline_common.h | 192 int pipeline_test_result(struct evt_test *test, struct evt_options *opt); 194 int pipeline_test_setup(struct evt_test *test, struct evt_options *opt); 195 int pipeline_ethdev_setup(struct evt_test *test, struct evt_options *opt); 200 int pipeline_mempool_setup(struct evt_test *test, struct evt_options *opt); 201 int pipeline_event_port_setup(struct evt_test *test, struct evt_options *opt, 204 int pipeline_launch_lcores(struct evt_test *test, struct evt_options *opt, 207 void pipeline_test_destroy(struct evt_test *test, struct evt_options *opt); 208 void pipeline_eventdev_destroy(struct evt_test *test, struct evt_options *opt); 209 void pipeline_ethdev_destroy(struct evt_test *test, struct evt_options *opt); 210 void pipeline_ethdev_rx_stop(struct evt_test *test, struct evt_options *opt); [all …]
|
| H A D | evt_test.c | 28 if (!strncmp(entry->test.name, name, strlen(name))) in evt_test_get() 29 return &entry->test; in evt_test_get() 40 if (entry->test.name) in evt_test_dump_names() 41 printf("\t %s\n", entry->test.name); in evt_test_dump_names()
|
| /dpdk/doc/guides/contributing/ |
| H A D | unit_test.rst | 27 with respect to `dpdk-test` and ``meson test``. 28 Both have a concept of test suite and test case. 30 A test suite is a group of test cases, 36 Running a test 48 $ ./build/app/test/dpdk-test --dpdk-options-here 146 [2543/2543] Linking target app/test/dpdk-test. 160 [2543/2543] Linking target app/test/dpdk-test. 180 #. *test suites* which are groups of test cases 182 To add a new test suite to the DPDK test application, 358 during test case setup, or during test case execution [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | meson_ut.rst | 12 Grouping of test cases 28 $ meson test -C <build path> --suite DPDK:fast-tests 33 $ meson test --suite DPDK:fast-tests 38 $ meson test --suite fast-tests 41 ``--test-args`` option. 46 $ meson test --suite fast-tests --test-args="-l 8-16" 50 $ meson test --list 57 * ``timeout`` is used to specify the timeout of test case. 62 are appended when invoking the DPDK test binary. 69 Dealing with skipped test cases [all …]
|
| /dpdk/app/ |
| H A D | meson.build | 8 'test-acl', 9 'test-bbdev', 10 'test-cmdline', 13 'test-eventdev', 14 'test-fib', 16 'test-gpudev', 17 'test-pipeline', 18 'test-pmd', 19 'test-regex', 20 'test-sad', [all …]
|
| /dpdk/app/test/ |
| H A D | test_ring_stress.c | 8 run_test(const struct test *test) in run_test() argument 13 for (i = 0, k = 0; i != test->nb_case; i++) { in run_test() 16 test->name, test->cases[i].name); in run_test() 18 rc = test->cases[i].func(test->cases[i].wfunc); in run_test() 23 test->name, test->cases[i].name); in run_test() 26 test->name, test->cases[i].name); in run_test()
|
| H A D | test_ring_stress.h | 29 struct test { struct 35 extern const struct test test_ring_mpmc_stress; argument 36 extern const struct test test_ring_rts_stress; 37 extern const struct test test_ring_hts_stress; 38 extern const struct test test_ring_mt_peek_stress; 39 extern const struct test test_ring_mt_peek_stress_zc; 40 extern const struct test test_ring_st_peek_stress; 41 extern const struct test test_ring_st_peek_stress_zc;
|
| H A D | test_per_lcore.c | 35 static RTE_DEFINE_PER_LCORE(unsigned, test) = 0x12345678; 40 if (RTE_PER_LCORE(test) != 0x12345678) in assign_vars() 42 RTE_PER_LCORE(test) = rte_lcore_id(); in assign_vars() 50 unsigned var = RTE_PER_LCORE(test); in display_vars() 57 RTE_PER_LCORE(test) = 0x12345678; in display_vars()
|
| /dpdk/doc/guides/tools/ |
| H A D | testeventdev.rst | 4 dpdk-test-eventdev Application 52 * ``--test <name>`` 265 --test 289 This test verifies the same aspects of ``order_queue`` test, the difference is 328 --test 418 --test 517 The atq queue test functions as same as ``perf_queue`` test. The difference 530 --test 657 --test 749 The atq queue test functions as same as ``pipeline_queue`` test. The difference [all …]
|
| H A D | testbbdev.rst | 4 dpdk-test-bbdev Application 52 ``./test-bbdev.py -c validation`` 53 Runs validation test suite 65 ``./test-bbdev.py -v app/test-bbdev/test_vectors/turbo_dec_test1.data`` 110 - The test measures 4 metrics 204 ./test-bbdev.py -v app/test-bbdev/turbo_*_default.data 242 |-- test-bbdev 247 |-- dpdk-test-bbdev 254 ./test-bbdev.py -p ../../build/app/dpdk-test-bbdev 268 ./test-bbdev.py -p ../../build/app/dpdk-test-bbdev [all …]
|
| H A D | cryptoperf.rst | 4 dpdk-test-crypto-perf Application 60 with the ``dpdk-test-crypto-perf`` application. 189 * ``--test-file <name>`` 193 * ``--test-name <name>`` 195 Set specific test name section in the test vector file. 343 The test vector file is a text file contain information about test vectors. 430 --test-file test_aes_gcm.data 496 This shows the required default config for the test suite, and one test case. 498 the default config when running the test case. 563 -f <build_dir>/app/dpdk-test-crypto-perf [all …]
|
| /dpdk/drivers/raw/cnxk_bphy/ |
| H A D | cnxk_bphy.c | 35 static struct bphy_test *test; variable 88 test = rte_zmalloc("BPHY", max_irq * sizeof(*test), 0); in bphy_rawdev_selftest() 89 if (test == NULL) { in bphy_rawdev_selftest() 95 test[i].test_data = i; in bphy_rawdev_selftest() 96 test[i].irq_num = i; in bphy_rawdev_selftest() 98 test[i].data = &test[i].test_data; in bphy_rawdev_selftest() 103 test[i].handler, test[i].data, in bphy_rawdev_selftest() 113 test[i].handled_data = test[i].test_data; in bphy_rawdev_selftest() 128 if (!test[i].handled_intr) { in bphy_rawdev_selftest() 133 if (test[i].handled_data != test[i].test_data) { in bphy_rawdev_selftest() [all …]
|
| /dpdk/lib/eal/windows/ |
| H A D | fnmatch.c | 32 char c, test; in fnmatch() local 78 while ((test = *string) != EOS) { in fnmatch() 82 if (test == '/' && flags & FNM_PATHNAME) in fnmatch() 126 rangematch(const char *pattern, char test, int flags) in rangematch() argument 143 test = tolower((unsigned char)test); in rangematch() 165 if ((unsigned char)c <= (unsigned char)test && in rangematch() 166 (unsigned char)test <= (unsigned char)c2) in rangematch() 168 } else if (c == test) in rangematch()
|
| /dpdk/app/test-cmdline/ |
| H A D | cmdline_test.py | 15 def runTest(child, test): argument 16 child.send(test["Sequence"]) 17 if test["Result"] is None: 19 child.expect(test["Result"], 1) 65 for test in cmdline_test_data.tests: 66 testname = (test["Name"] + ":").ljust(30) 68 runTest(child, test)
|
| /dpdk/doc/guides/bbdevs/ |
| H A D | la12xx.rst | 85 BBDEV provides a test application, ``test-bbdev.py`` and range of test data for testing 87 capabilities. The test application is located under app->test-bbdev folder and has the 92 "-p", "--testapp-path": specifies path to the bbdev test app. 93 "-e", "--eal-params" : EAL arguments which are passed to the test app. 95 "-c", "--test-cases" : Defines test cases to run. Run all if not specified. 96 …"-v", "--test-vector" : Test vector path (default=dpdk_path+/app/test-bbdev/test_vectors/bbdev_nul… 105 To execute the test application tool using simple decode or encode data, 110 …./test-bbdev.py -e="--vdev=baseband_la12xx,socket_id=0,max_nb_queues=8" -c validation -n 64 -b 1 -… 111 …./test-bbdev.py -e="--vdev=baseband_la12xx,socket_id=0,max_nb_queues=8" -c validation -n 64 -b 1 -… 113 The test application ``test-bbdev.py``, supports the ability to configure the PF device with
|
| H A D | acc100.rst | 176 BBDEV provides a test application, ``test-bbdev.py`` and range of test data for testing 178 capabilities. The test application is located under app->test-bbdev folder and has the 183 "-p", "--testapp-path": specifies path to the bbdev test app. 184 "-e", "--eal-params" : EAL arguments which are passed to the test app. 186 "-c", "--test-cases" : Defines test cases to run. Run all if not specified. 187 …"-v", "--test-vector" : Test vector path (default=dpdk_path+/app/test-bbdev/test_vectors/bbdev_nul… 196 To execute the test application tool using simple decode or encode data, 201 ./test-bbdev.py -c validation -n 64 -b 1 -v ./ldpc_dec_default.data 202 ./test-bbdev.py -c validation -n 64 -b 1 -v ./ldpc_enc_default.data 205 The test application ``test-bbdev.py``, supports the ability to configure the PF device with [all …]
|
| H A D | fpga_5gnr_fec.rst | 57 The bbdev test application has been tested with a configuration 40 x 1GB hugepages. The 229 BBDEV provides a test application, ``test-bbdev.py`` and range of test data for testing 231 capabilities. The test application is located under app->test-bbdev folder and has the 236 "-p", "--testapp-path": specifies path to the bbdev test app. 237 "-e", "--eal-params" : EAL arguments which are passed to the test app. 239 "-c", "--test-cases" : Defines test cases to run. Run all if not specified. 240 …"-v", "--test-vector" : Test vector path (default=dpdk_path+/app/test-bbdev/test_vectors/bbdev_nul… 247 To execute the test application tool using simple decode or encode data, 252 ./test-bbdev.py -c validation -n 64 -b 1 -v ./ldpc_dec_default.data 253 ./test-bbdev.py -c validation -n 64 -b 1 -v ./ldpc_enc_default.data [all …]
|
| /dpdk/ |
| H A D | MAINTAINERS | 171 F: app/test/test_eal* 174 F: app/test/test_logs.c 426 F: app/test-bbdev/ 459 F: app/test-regex/ 479 F: app/test-gpudev/ 1437 F: app/test-sad/ 1511 F: app/test-acl/ 1558 F: app/test-fib/ 1678 F: app/test/test.c 1679 F: app/test/test.h [all …]
|
| /dpdk/app/test-crypto-perf/ |
| H A D | dpdk-graph-crypto-perf.py | 34 self.test = "" 53 self.suite + "<br>" + self.test + 67 self.suite + "<br>" + self.test + "<br>" 86 + self.suite + "<br>" + self.test 161 def run_test(test_cmd, test, grapher, params, verbose): argument 169 print("\n\tOutput for " + test + ":") 186 print("\n\t" + test + ": FAIL") 189 grapher.test = test 191 print("\n\t" + test + ": OK") 230 for (test, params) in {k: v for (k, v) in test_cases.items() if [all …]
|