Home
last modified time | relevance | path

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

/f-stack/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.c120 rte_stack_pop(s, objs, bulk_sizes[0]); in test_empty_pop()
177 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_core_pair()
180 args[0].sz = args[1].sz = bulk_sizes[i]; in run_on_core_pair()
206 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_n_cores()
218 args[lcore_id].sz = bulk_sizes[i]; in run_on_n_cores()
229 args[lcore_id].sz = bulk_sizes[i]; in run_on_n_cores()
245 bulk_sizes[i], avg / n); in run_on_n_cores()
285 rte_stack_push(s, objs, bulk_sizes[sz]); in test_bulk_push_pop()
286 rte_stack_pop(s, objs, bulk_sizes[sz]); in test_bulk_push_pop()
292 (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()
394 for (i = 0; i < RTE_DIM(bulk_sizes); i++) { in run_on_all_cores()
397 param.size = bulk_sizes[i]; in run_on_all_cores()
418 bulk_sizes[i], total); in run_on_all_cores()
475 for (sz = 0; sz < RTE_DIM(bulk_sizes); sz++) { in test_burst_bulk_enqueue_dequeue()
478 test_ring_enqueue(r, burst, esize, bulk_sizes[sz], in test_burst_bulk_enqueue_dequeue()
[all …]