Searched refs:segment_sz (Results 1 – 9 of 9) sorted by relevance
13 uint16_t segment_sz; member31 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() local290 if (remaining_bytes <= segment_sz) { in cperf_mbuf_set()296 remaining_bytes -= segment_sz; in cperf_mbuf_set()[all …]
374 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()
97 uint32_t segment_sz; member
83 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() local161 m->buf_len = segment_sz; in cperf_set_ops_security_ipsec()
127 (ctx->options->segment_sz < ctx->options->max_buffer_size)) { in cperf_throughput_test_runner()
223 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_verify_test_runner()
145 if (ctx->options->segment_sz < ctx->options->max_buffer_size) { in cperf_latency_test_runner()
284 opts->segment_sz += (opts->headroom_sz + opts->tailroom_sz); in cperf_initialize_cryptodev()
22 uint16_t segment_sz; member335 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()