Home
last modified time | relevance | path

Searched refs:bulk_sizes (Results 1 – 3 of 3) sorted by relevance

/dpdk/app/test/
H A Dtest_pmd_ring_perf.c25 static const volatile unsigned bulk_sizes[] = { 1, 8, 32 }; variable
42 rte_ring_sc_dequeue_bulk(r, burst, bulk_sizes[0], NULL); in test_empty_dequeue()
48 bulk_sizes[0]); in test_empty_dequeue()
103 for (sz = 0; sz < RTE_DIM(bulk_sizes); sz++) { in test_bulk_enqueue_dequeue()
107 bulk_sizes[sz], NULL); in test_bulk_enqueue_dequeue()
109 bulk_sizes[sz], NULL); in test_bulk_enqueue_dequeue()
116 rte_eth_tx_burst(ring_ethdev_port, 0, burst, bulk_sizes[sz]); in test_bulk_enqueue_dequeue()
117 rte_eth_rx_burst(ring_ethdev_port, 0, burst, bulk_sizes[sz]); in test_bulk_enqueue_dequeue()
123 (iterations * bulk_sizes[sz])); in test_bulk_enqueue_dequeue()
125 (iterations * bulk_sizes[sz])); in test_bulk_enqueue_dequeue()
[all …]
H A Dtest_stack_perf.c119 rte_stack_pop(s, objs, bulk_sizes[0]); in test_empty_pop()
175 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_core_pair()
178 args[0].sz = args[1].sz = bulk_sizes[i]; in run_on_core_pair()
204 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_n_cores()
216 args[lcore_id].sz = bulk_sizes[i]; in run_on_n_cores()
227 args[lcore_id].sz = bulk_sizes[i]; in run_on_n_cores()
243 bulk_sizes[i], avg / n); in run_on_n_cores()
283 rte_stack_push(s, objs, bulk_sizes[sz]); in test_bulk_push_pop()
284 rte_stack_pop(s, objs, bulk_sizes[sz]); in test_bulk_push_pop()
290 (iterations * bulk_sizes[sz])); in test_bulk_push_pop()
[all …]
H A Dtest_ring_perf.c31 static const volatile unsigned bulk_sizes[] = { 8, 32 }; variable
296 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_core_pair()
298 param1.size = param2.size = bulk_sizes[i]; in run_on_core_pair()
314 esize, bulk_sizes[i], param1.spsc + param2.spsc); in run_on_core_pair()
317 esize, bulk_sizes[i], param1.mpmc + param2.mpmc); in run_on_core_pair()
393 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_all_cores()
396 param.size = bulk_sizes[i]; in run_on_all_cores()
417 bulk_sizes[i], total); in run_on_all_cores()
474 for (sz = 0; sz < RTE_DIM(bulk_sizes); sz++) { in test_burst_bulk_enqueue_dequeue()
477 test_ring_enqueue(r, burst, esize, bulk_sizes[sz], in test_burst_bulk_enqueue_dequeue()
[all …]