Home
last modified time | relevance | path

Searched refs:test_data (Results 1 – 22 of 22) sorted by relevance

/f-stack/dpdk/app/test-compress-perf/
H A Dmain.c130 test_data->driver_name); in comp_perf_initialize_compressdev()
287 test_data->input_data_sz, test_data->input_file, in comp_perf_dump_input_data()
292 test_data->input_data_sz, test_data->input_file); in comp_perf_dump_input_data()
336 if (test_data == NULL) in main()
375 test_data->level = test_data->level_lst.min; in main()
377 test_data->level = test_data->level_lst.list[0]; in main()
400 test_data); in main()
413 while (test_data->level <= test_data->level_lst.max) { in main()
439 test_data->level += test_data->level_lst.inc; in main()
443 test_data->level = test_data->level_lst.list[level_idx]; in main()
[all …]
H A Dcomp_perf_options_parse.c314 if (test_data->pool_sz == 0) { in parse_pool_sz()
438 strlcpy(test_data->input_file, arg, sizeof(test_data->input_file)); in parse_test_file()
513 &test_data->level_lst.max, in parse_level()
516 &test_data->level_lst.min, in parse_level()
645 test_data->seg_sz = 2048; in comp_perf_options_default()
646 test_data->burst_sz = 32; in comp_perf_options_default()
647 test_data->pool_sz = 8192; in comp_perf_options_default()
648 test_data->max_sgl_segs = 16; in comp_perf_options_default()
649 test_data->num_iter = 10000; in comp_perf_options_default()
652 test_data->window_sz = -1; in comp_perf_options_default()
[all …]
H A Dcomp_perf_test_common.c203 i, test_data->seg_sz); in comp_perf_allocate_external_mbufs()
231 test_data->out_seg_sz = find_buf_size(test_data->seg_sz); in comp_perf_allocate_memory()
236 test_data->total_segs = DIV_CEIL(test_data->input_data_sz, in comp_perf_allocate_memory()
237 test_data->seg_sz); in comp_perf_allocate_memory()
254 test_data->total_segs, in comp_perf_allocate_memory()
266 test_data->total_segs, in comp_perf_allocate_memory()
370 test_data->seg_sz, in prepare_bufs()
408 test_data->seg_sz, in prepare_bufs()
445 test_data->out_seg_sz, in prepare_bufs()
474 test_data->out_seg_sz, in prepare_bufs()
[all …]
H A Dcomp_perf_test_throughput.c63 if (test_data == NULL || !test_data->burst_sz) { in main_loop()
87 .level = test_data->level, in main_loop()
88 .window_size = test_data->window_sz, in main_loop()
95 out_seg_sz = test_data->out_seg_sz; in main_loop()
108 out_seg_sz = test_data->seg_sz; in main_loop()
121 num_iter = test_data->num_iter; in main_loop()
136 test_data->burst_sz); in main_loop()
211 test_data->burst_sz); in main_loop()
255 test_data->burst_sz); in main_loop()
382 test_data->input_data_sz; in cperf_throughput_test_runner()
[all …]
H A Dcomp_perf_test_verify.c66 if (test_data == NULL || !test_data->burst_sz) { in main_loop()
90 .level = test_data->level, in main_loop()
91 .window_size = test_data->window_sz, in main_loop()
100 out_seg_sz = test_data->out_seg_sz; in main_loop()
115 out_seg_sz = test_data->seg_sz; in main_loop()
141 test_data->burst_sz); in main_loop()
216 test_data->burst_sz); in main_loop()
291 test_data->burst_sz); in main_loop()
396 test_data->ratio = 0; in cperf_verify_test_runner()
418 test_data->input_data, in cperf_verify_test_runner()
[all …]
H A Dcomp_perf_test_cyclecount.c75 num_iter = test_data->num_iter; in cperf_cyclecount_op_setup()
86 test_data->burst_sz); in cperf_cyclecount_op_setup()
169 if (test_data == NULL || !test_data->burst_sz) { in main_loop()
197 .level = test_data->level, in main_loop()
205 out_seg_sz = test_data->out_seg_sz; in main_loop()
218 out_seg_sz = test_data->seg_sz; in main_loop()
249 num_iter = test_data->num_iter; in main_loop()
261 test_data->burst_sz); in main_loop()
327 if (test_data->cyclecount_delay) in main_loop()
399 test_data->burst_sz); in main_loop()
[all …]
H A Dcomp_perf_test_common.h41 comp_perf_free_memory(struct comp_test_data *test_data,
45 comp_perf_allocate_memory(struct comp_test_data *test_data,
49 prepare_bufs(struct comp_test_data *test_data, struct cperf_mem_resources *mem);
52 print_test_dynamics(const struct comp_test_data *test_data);
H A Dcomp_perf_options.h77 comp_perf_options_parse(struct comp_test_data *test_data, int argc,
81 comp_perf_options_default(struct comp_test_data *test_data);
84 comp_perf_options_check(struct comp_test_data *test_data);
/f-stack/dpdk/app/test/
H A Dtest_cryptodev_aes_test_vectors.h2366 .test_data = &aes_test_data_1,
2372 .test_data = &aes_test_data_1,
2377 .test_data = &aes_test_data_2,
2382 .test_data = &aes_test_data_2,
2388 .test_data = &aes_test_data_2,
2395 .test_data = &aes_test_data_3,
2401 .test_data = &aes_test_data_3,
2406 .test_data = &aes_test_data_4,
2418 .test_data = &aes_test_data_4,
2426 .test_data = &aes_test_data_4,
[all …]
H A Dtest_cryptodev_hash_test_vectors.h407 .test_data = &md5_test_vector,
412 .test_data = &md5_test_vector,
427 .test_data = &sha1_test_vector,
432 .test_data = &sha1_test_vector,
459 .test_data = &sha224_test_vector,
464 .test_data = &sha224_test_vector,
479 .test_data = &sha256_test_vector,
484 .test_data = &sha256_test_vector,
499 .test_data = &sha384_test_vector,
549 .test_data = &cmac_test_vector,
[all …]
H A Dtest_cryptodev_des_test_vectors.h959 .test_data = &des_test_data_1,
964 .test_data = &des_test_data_2,
969 .test_data = &des_test_data_3,
974 .test_data = &des_test_data_1,
979 .test_data = &des_test_data_2,
984 .test_data = &des_test_data_3,
989 .test_data = &des_test_data_1,
995 .test_data = &des_test_data_2,
1001 .test_data = &des_test_data_3,
1007 .test_data = &des_test_data_1,
[all …]
H A Dtest_compressdev.c920 test_data->inbuf_data_size, in test_setup_com_bufs()
923 test_data->inbuf_data_size); in test_setup_com_bufs()
1135 test_data, in test_setup_output_bufs()
1932 test_data->inbuf_data_size : in test_results_validation()
2064 test_data, in test_deflate_comp_decomp()
2100 test_data, in test_deflate_comp_decomp()
3007 test_data.buff_type = LB_BOTH; in test_compressdev_deflate_stateful_decomp_checksum()
3017 &test_data) < 0) { in test_compressdev_deflate_stateful_decomp_checksum()
3029 test_data.buff_type = LB_BOTH; in test_compressdev_deflate_stateful_decomp_checksum()
3039 &test_data) < 0) { in test_compressdev_deflate_stateful_decomp_checksum()
[all …]
H A Dtest_crc.c70 uint8_t *test_data; in test_crc_calc() local
82 test_data = rte_zmalloc(NULL, CRC32_VEC_LEN1, 0); in test_crc_calc()
85 rte_memcpy(&test_data[i], crc32_vec1, 12); in test_crc_calc()
87 result = crc_calc(test_data, CRC32_VEC_LEN1, type); in test_crc_calc()
95 rte_memcpy(&test_data[i], crc32_vec1, 12); in test_crc_calc()
97 result = crc_calc(test_data, CRC32_VEC_LEN2, type); in test_crc_calc()
123 rte_free(test_data); in test_crc_calc()
127 rte_free(test_data); in test_crc_calc()
H A Dtest_trace_perf.c15 struct test_data;
24 struct test_data { struct
44 measure_perf(const char *str, struct test_data *data) in measure_perf() argument
66 wait_till_workers_are_ready(struct test_data *data) in wait_till_workers_are_ready()
76 signal_workers_to_finish(struct test_data *data) in signal_workers_to_finish()
129 run_test(const char *str, lcore_function_t f, struct test_data *data, size_t sz) in WORKER_DEFINE()
151 struct test_data *data; in test_trace_perf()
162 sz = sizeof(struct test_data); in test_trace_perf()
H A Dtest_acl.c304 __LINE__, i, test_data[i].allow, in test_classify_alg()
313 if (result != test_data[i].deny) { in test_classify_alg()
316 __LINE__, i, test_data[i].deny, in test_classify_alg()
349 bswap_test_data(test_data, dim, 1); in test_classify_run()
353 data[i] = (uint8_t *)&test_data[i]; in test_classify_run()
366 bswap_test_data(test_data, dim, 0); in test_classify_run()
547 bswap_test_data(test_data, RTE_DIM(test_data), 1); in test_build_ports_range()
551 data[i] = (uint8_t *)&test_data[i]; in test_build_ports_range()
582 bswap_test_data(test_data, RTE_DIM(test_data), 0); in test_build_ports_range()
1662 struct ipv4_7tuple test_data[64]; in test_u32_range() local
[all …]
H A Dtest_cryptodev_blockcipher.h47 const struct blockcipher_test_data *test_data; member
H A Dtest_cryptodev_blockcipher.c28 const struct blockcipher_test_data *tdata = t->test_data; in verify_algo_support()
87 const struct blockcipher_test_data *tdata = t->test_data; in test_blockcipher_one_case()
H A Dtest_mbuf.c2109 struct test_case *test_data) in create_packet() argument
2120 memcpy(seg_lengths, test_data->seg_lengths, in create_packet()
2121 sizeof(unsigned int)*test_data->seg_count); in create_packet()
2122 for (seg = 0; seg < test_data->seg_count; seg++) { in create_packet()
2132 if (test_data->flags == MBUF_HEADER && seg == 0) { in create_packet()
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dsign.c17 static TestData test_data[] = { variable
1088 for (i = 0U; i < (sizeof test_data) / (sizeof test_data[0]); i++) { in main()
1094 memcpy(skpk, test_data[i].sk, crypto_sign_SEEDBYTES); in main()
1095 memcpy(skpk + crypto_sign_SEEDBYTES, test_data[i].pk, in main()
1102 if (memcmp(test_data[i].sig, sm, crypto_sign_BYTES) != 0) { in main()
1122 if (memcmp(test_data[i].m, m, (size_t)mlen) != 0) { in main()
1132 test_data[i].pk) == 0) { in main()
1147 if (memcmp(test_data[i].sig, sig, crypto_sign_BYTES) != 0) { in main()
1153 i, test_data[i].pk) != 0) { in main()
1162 memcpy(sm, test_data[i].m, i); in main()
[all …]
/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_verify.c206 uint8_t *test_data; in cperf_mbuf_set() local
210 test_data = (options->aead_op == RTE_CRYPTO_AEAD_OP_ENCRYPT) ? in cperf_mbuf_set()
214 test_data = in cperf_mbuf_set()
224 memcpy(mbuf_data, test_data, remaining_bytes); in cperf_mbuf_set()
228 memcpy(mbuf_data, test_data, segment_sz); in cperf_mbuf_set()
230 test_data += segment_sz; in cperf_mbuf_set()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_009_pos.ksh62 test_data=$STF_SUITE/tests/functional/cli_root/zpool_upgrade/blockfiles/*.bz2
67 log_must cp -r $test_data /$ds
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dtsd.h54 O(test_data, int, int) \