Home
last modified time | relevance | path

Searched refs:segment_sz (Results 1 – 9 of 9) sorted by relevance

/dpdk/app/test-crypto-perf/
H A Dcperf_test_common.c13 uint16_t segment_sz; member
31 m->buf_len = segment_sz; in fill_single_seg_mbuf()
63 m->buf_len = segment_sz; in fill_multi_seg_mbuf()
75 mbuf_hdr_size + segment_sz); in fill_multi_seg_mbuf()
203 max_size / options->segment_sz; in cperf_alloc_common_memory()
213 .segment_sz = options->segment_sz, in cperf_alloc_common_memory()
216 .data_len = options->segment_sz - in cperf_alloc_common_memory()
271 uint32_t segment_sz = options->segment_sz; in cperf_mbuf_set() local
290 if (remaining_bytes <= segment_sz) { in cperf_mbuf_set()
296 remaining_bytes -= segment_sz; in cperf_mbuf_set()
[all …]
H A Dcperf_options_parsing.c374 int ret = parse_uint32_t(&opts->segment_sz, arg); in parse_segment_sz()
381 if (opts->segment_sz == 0) { in parse_segment_sz()
916 opts->segment_sz = 0; in cperf_options_default()
1143 options->segment_sz <= options->max_buffer_size) { in cperf_options_check()
1153 if (options->segment_sz == 0) { in cperf_options_check()
1154 options->segment_sz = options->max_buffer_size + in cperf_options_check()
1162 options->segment_sz += RTE_PKTMBUF_HEADROOM; in cperf_options_check()
1165 if (options->segment_sz < options->digest_sz) { in cperf_options_check()
1331 printf("\n# segment size: %u\n", opts->segment_sz); in cperf_options_dump()
H A Dcperf_options.h97 uint32_t segment_sz; member
H A Dcperf_ops.c83 sym_op->m_src->buf_len = options->segment_sz; in cperf_set_ops_security()
95 sym_op->m_src->buf_len = options->segment_sz; in cperf_set_ops_security()
141 const uint32_t segment_sz = options->segment_sz; in cperf_set_ops_security_ipsec() local
161 m->buf_len = segment_sz; in cperf_set_ops_security_ipsec()
H A Dcperf_test_throughput.c127 (ctx->options->segment_sz < ctx->options->max_buffer_size)) { in cperf_throughput_test_runner()
H A Dcperf_test_verify.c223 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_verify_test_runner()
H A Dcperf_test_latency.c145 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_latency_test_runner()
H A Dmain.c284 opts->segment_sz += (opts->headroom_sz + opts->tailroom_sz); in cperf_initialize_cryptodev()
/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_common.c22 uint16_t segment_sz; member
335 buffer_info.segment_sz = test_data->seg_sz; in comp_perf_allocate_memory()
523 if (buffer_info.segment_sz < MAX_SEG_SIZE) in print_test_dynamics()
527 else if (buffer_info.segment_sz == MAX_SEG_SIZE) in print_test_dynamics()
535 buffer_info.segment_sz, in print_test_dynamics()
542 buffer_info.segment_sz, in print_test_dynamics()
546 (buffer_info.total_segments - 1) * buffer_info.segment_sz in print_test_dynamics()
553 buffer_info.segment_sz); in print_test_dynamics()
559 buffer_info.segment_sz); in print_test_dynamics()