| /dpdk/app/test-compress-perf/ |
| H A D | main.c | 130 test_data->driver_name); in comp_perf_initialize_compressdev() 288 test_data->input_data_sz, test_data->input_file, in comp_perf_dump_input_data() 293 test_data->input_data_sz, test_data->input_file); in comp_perf_dump_input_data() 337 if (test_data == NULL) in main() 376 test_data->level = test_data->level_lst.min; in main() 378 test_data->level = test_data->level_lst.list[0]; in main() 401 test_data); in main() 414 while (test_data->level <= test_data->level_lst.max) { in main() 440 test_data->level += test_data->level_lst.inc; in main() 444 test_data->level = test_data->level_lst.list[level_idx]; in main() [all …]
|
| H A D | comp_perf_options_parse.c | 314 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 D | comp_perf_test_common.c | 203 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 D | comp_perf_test_throughput.c | 63 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() 384 test_data->input_data_sz; in cperf_throughput_test_runner() [all …]
|
| H A D | comp_perf_test_verify.c | 66 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 D | comp_perf_test_cyclecount.c | 75 num_iter = test_data->num_iter; in cperf_cyclecount_op_setup() 85 test_data->burst_sz); in cperf_cyclecount_op_setup() 167 if (test_data == NULL || !test_data->burst_sz) { in main_loop() 188 deq_ops = &ops[test_data->burst_sz]; in main_loop() 196 .level = test_data->level, in main_loop() 217 out_seg_sz = test_data->seg_sz; in main_loop() 248 num_iter = test_data->num_iter; in main_loop() 260 test_data->burst_sz); in main_loop() 326 if (test_data->cyclecount_delay) in main_loop() 398 test_data->burst_sz); in main_loop() [all …]
|
| H A D | comp_perf_test_common.h | 41 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 D | comp_perf_options.h | 77 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);
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_aes_test_vectors.h | 4145 .test_data = &aes_test_data_1, 4151 .test_data = &aes_test_data_1, 4156 .test_data = &aes_test_data_2, 4161 .test_data = &aes_test_data_2, 4167 .test_data = &aes_test_data_2, 4174 .test_data = &aes_test_data_3, 4180 .test_data = &aes_test_data_3, 4185 .test_data = &aes_test_data_4, 4197 .test_data = &aes_test_data_4, 4205 .test_data = &aes_test_data_4, [all …]
|
| H A D | test_cryptodev_hash_test_vectors.h | 432 .test_data = &md5_test_vector, 437 .test_data = &md5_test_vector, 452 .test_data = &sha1_test_vector, 457 .test_data = &sha1_test_vector, 484 .test_data = &sha224_test_vector, 489 .test_data = &sha224_test_vector, 504 .test_data = &sha256_test_vector, 509 .test_data = &sha256_test_vector, 524 .test_data = &sha384_test_vector, 574 .test_data = &cmac_test_vector, [all …]
|
| H A D | test_cryptodev_des_test_vectors.h | 959 .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 D | test_compressdev.c | 920 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() 1930 test_data->inbuf_data_size : in test_results_validation() 2062 test_data, in test_deflate_comp_decomp() 2098 test_data, in test_deflate_comp_decomp() 3004 test_data.buff_type = LB_BOTH; in test_compressdev_deflate_stateful_decomp_checksum() 3014 &test_data) < 0) { in test_compressdev_deflate_stateful_decomp_checksum() 3026 test_data.buff_type = LB_BOTH; in test_compressdev_deflate_stateful_decomp_checksum() 3036 &test_data) < 0) { in test_compressdev_deflate_stateful_decomp_checksum() [all …]
|
| H A D | test_crc.c | 69 uint8_t *test_data; in test_crc_calc() local 81 test_data = rte_zmalloc(NULL, CRC32_VEC_LEN1, 0); in test_crc_calc() 84 rte_memcpy(&test_data[i], crc32_vec1, 12); in test_crc_calc() 86 result = crc_calc(test_data, CRC32_VEC_LEN1, type); in test_crc_calc() 94 rte_memcpy(&test_data[i], crc32_vec1, 12); in test_crc_calc() 96 result = crc_calc(test_data, CRC32_VEC_LEN2, type); in test_crc_calc() 122 rte_free(test_data); in test_crc_calc() 126 rte_free(test_data); in test_crc_calc()
|
| H A D | test_trace_perf.c | 15 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() 127 run_test(const char *str, lcore_function_t f, struct test_data *data, size_t sz) in WORKER_DEFINE() 150 struct test_data *data; in test_trace_perf() 161 sz = sizeof(struct test_data); in test_trace_perf()
|
| H A D | test_acl.c | 314 __LINE__, i, test_data[i].allow, in test_classify_alg() 323 if (result != test_data[i].deny) { in test_classify_alg() 326 __LINE__, i, test_data[i].deny, in test_classify_alg() 359 bswap_test_data(test_data, dim, 1); in test_classify_run() 363 data[i] = (uint8_t *)&test_data[i]; in test_classify_run() 376 bswap_test_data(test_data, dim, 0); in test_classify_run() 557 bswap_test_data(test_data, RTE_DIM(test_data), 1); in test_build_ports_range() 561 data[i] = (uint8_t *)&test_data[i]; in test_build_ports_range() 592 bswap_test_data(test_data, RTE_DIM(test_data), 0); in test_build_ports_range() 1672 struct ipv4_7tuple test_data[64]; in test_u32_range() local [all …]
|
| H A D | test_cryptodev_blockcipher.h | 57 const struct blockcipher_test_data *test_data; member
|
| H A D | test_cryptodev_blockcipher.c | 29 const struct blockcipher_test_data *tdata = t->test_data; in verify_algo_support() 41 !(t->test_data->wrapped_key)) in verify_algo_support() 89 const struct blockcipher_test_data *tdata = t->test_data; in test_blockcipher_one_case()
|
| H A D | test_mbuf.c | 2110 struct test_case *test_data) in create_packet() argument 2121 memcpy(seg_lengths, test_data->seg_lengths, in create_packet() 2122 sizeof(unsigned int)*test_data->seg_count); in create_packet() 2123 for (seg = 0; seg < test_data->seg_count; seg++) { in create_packet() 2133 if (test_data->flags == MBUF_HEADER && seg == 0) { in create_packet()
|
| H A D | test_cryptodev.c | 9434 test_ipsec_proto_known_vec(const void *test_data) in test_ipsec_proto_known_vec() argument 9441 memcpy(&td_outb, test_data, sizeof(td_outb)); in test_ipsec_proto_known_vec() 9454 test_ipsec_proto_known_vec_inb(const void *test_data) in test_ipsec_proto_known_vec_inb() argument 9456 const struct ipsec_test_data *td = test_data; in test_ipsec_proto_known_vec_inb() 9479 memcpy(&td_outb, test_data, sizeof(td_outb)); in test_ipsec_proto_known_vec_fragmented() 10047 memcpy(&td_outb[i], test_data, sizeof(td_outb[i])); in test_ipsec_pkt_replay() 10105 test_ipsec_proto_pkt_antireplay1024(const void *test_data) in test_ipsec_proto_pkt_antireplay1024() argument 10107 return test_ipsec_proto_pkt_antireplay(test_data, 1024); in test_ipsec_proto_pkt_antireplay1024() 10111 test_ipsec_proto_pkt_antireplay2048(const void *test_data) in test_ipsec_proto_pkt_antireplay2048() argument 10113 return test_ipsec_proto_pkt_antireplay(test_data, 2048); in test_ipsec_proto_pkt_antireplay2048() [all …]
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_common.c | 273 uint8_t *test_data; in cperf_mbuf_set() local 277 test_data = (options->aead_op == RTE_CRYPTO_AEAD_OP_ENCRYPT) ? in cperf_mbuf_set() 281 test_data = in cperf_mbuf_set() 291 memcpy(mbuf_data, test_data, remaining_bytes); in cperf_mbuf_set() 295 memcpy(mbuf_data, test_data, segment_sz); in cperf_mbuf_set() 297 test_data += segment_sz; in cperf_mbuf_set()
|
| /dpdk/drivers/raw/cnxk_bphy/ |
| H A D | cnxk_bphy.c | 32 int test_data; member 95 test[i].test_data = i; in bphy_rawdev_selftest() 98 test[i].data = &test[i].test_data; in bphy_rawdev_selftest() 113 test[i].handled_data = test[i].test_data; in bphy_rawdev_selftest() 133 if (test[i].handled_data != test[i].test_data) { in bphy_rawdev_selftest()
|