Home
last modified time | relevance | path

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

/f-stack/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()
106 params->segment_sz, params->headroom_sz, in mempool_obj_init()
110 params->segment_sz, params->headroom_sz, in mempool_obj_init()
119 params->segment_sz, params->headroom_sz, in mempool_obj_init()
170 (max_size / options->segment_sz) + 1 : in cperf_alloc_common_memory()
171 max_size / options->segment_sz; in cperf_alloc_common_memory()
181 .segment_sz = options->segment_sz, in cperf_alloc_common_memory()
[all …]
H A Dcperf_test_verify.c204 uint32_t segment_sz = options->segment_sz; in cperf_mbuf_set() local
223 if (remaining_bytes <= segment_sz) { in cperf_mbuf_set()
228 memcpy(mbuf_data, test_data, segment_sz); in cperf_mbuf_set()
229 remaining_bytes -= segment_sz; in cperf_mbuf_set()
230 test_data += segment_sz; in cperf_mbuf_set()
260 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_verify_test_runner()
H A Dcperf_options_parsing.c361 int ret = parse_uint32_t(&opts->segment_sz, arg); in parse_segment_sz()
368 if (opts->segment_sz == 0) { in parse_segment_sz()
882 opts->segment_sz = 0; in cperf_options_default()
1105 options->segment_sz <= options->max_buffer_size) { in cperf_options_check()
1115 if (options->segment_sz == 0) in cperf_options_check()
1116 options->segment_sz = options->max_buffer_size + in cperf_options_check()
1119 if (options->segment_sz < options->digest_sz) { in cperf_options_check()
1261 printf("\n# segment size: %u\n", opts->segment_sz); in cperf_options_dump()
H A Dcperf_options.h94 uint32_t segment_sz; member
H A Dcperf_test_throughput.c122 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_throughput_test_runner()
H A Dcperf_test_latency.c146 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_latency_test_runner()
H A Dcperf_ops.c39 sym_op->m_src->buf_len = options->segment_sz; in cperf_set_ops_security()
51 sym_op->m_src->buf_len = options->segment_sz; in cperf_set_ops_security()
H A Dmain.c239 opts->segment_sz += (opts->headroom_sz + opts->tailroom_sz); in cperf_initialize_cryptodev()
/f-stack/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()