Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 90) sorted by relevance

1234

/dpdk/drivers/common/sfc_efx/base/
H A Drhead_ev.c278 unsigned int total; in rhead_ev_qpoll() local
300 for (total = 0; total < batch; ++total) { in rhead_ev_qpoll()
324 total = index + 1; in rhead_ev_qpoll()
332 EFSYS_ASSERT(total != batch); in rhead_ev_qpoll()
343 count += total; in rhead_ev_qpoll()
345 } while (total == batch); in rhead_ev_qpoll()
424 unsigned int total; in rhead_ev_ew_qpoll() local
440 for (total = 0; total < batch; ++total) { in rhead_ev_ew_qpoll()
469 total = index + 1; in rhead_ev_ew_qpoll()
488 count += total; in rhead_ev_ew_qpoll()
[all …]
H A Defx_ev.c1496 unsigned int total; in siena_ef10_ev_qpoll() local
1524 for (total = 0; total < batch; ++total) { in siena_ef10_ev_qpoll()
1527 if (!EFX_EV_PRESENT(ev[total])) in siena_ef10_ev_qpoll()
1543 if (total == batch && total < EFSYS_OPT_EV_PREFETCH_PERIOD) in siena_ef10_ev_qpoll()
1548 for (index = 0; index < total; ++index) { in siena_ef10_ev_qpoll()
1554 if (total == batch && in siena_ef10_ev_qpoll()
1611 total = index + 1; in siena_ef10_ev_qpoll()
1619 EFSYS_ASSERT(total != batch); in siena_ef10_ev_qpoll()
1631 for (index = 0; index < total; ++index) { in siena_ef10_ev_qpoll()
1636 count += total; in siena_ef10_ev_qpoll()
[all …]
/dpdk/app/test-bbdev/
H A Dmain.c75 while (suite->unit_test_cases[total].testcase) { in unit_test_suite_runner()
76 if (suite->unit_test_cases[total].setup) in unit_test_suite_runner()
82 if (suite->unit_test_cases[total].teardown) in unit_test_suite_runner()
83 suite->unit_test_cases[total].teardown(); in unit_test_suite_runner()
87 printf("TestCase [%2d] : %s passed\n", total, in unit_test_suite_runner()
88 suite->unit_test_cases[total].name); in unit_test_suite_runner()
92 suite->unit_test_cases[total].name); in unit_test_suite_runner()
95 printf("TestCase [%2d] : %s failed\n", total, in unit_test_suite_runner()
96 suite->unit_test_cases[total].name); in unit_test_suite_runner()
99 total++; in unit_test_suite_runner()
[all …]
/dpdk/app/test/
H A Dtest.c264 suite->total += ts->total; in unit_test_suite_count_tcs_on_setup_fail()
274 suite->total++; in unit_test_suite_count_tcs_on_setup_fail()
290 suite->total = 0; in unit_test_suite_reset_counts()
331 FOR_EACH_SUITE_TESTCASE(suite->total, suite, tc) { in unit_test_suite_runner()
381 printf(" + TestCase [%2d] : %s %s\n", suite->total, in unit_test_suite_runner()
394 suite->total += ts->total; in unit_test_suite_runner()
416 ts->succeeded, ts->total, ts->skipped, ts->total, in unit_test_suite_runner()
417 ts->failed, ts->total, ts->unsupported, ts->total); in unit_test_suite_runner()
428 printf(" + Tests Total : %2d\n", suite->total); in unit_test_suite_runner()
440 if (suite->total == suite->skipped) in unit_test_suite_runner()
H A Dresource.c38 size_t total = 0; in resource_fwrite() local
40 while (total < goal) { in resource_fwrite()
41 size_t wlen = fwrite(r->begin + total, 1, goal - total, f); in resource_fwrite()
47 total += wlen; in resource_fwrite()
H A Dtest_pmd_perf.c554 uint64_t total; in poll_burst() local
563 total = pkt_per_port * conf->nb_ports; in poll_burst()
564 printf("start to receive total expect %"PRIu64"\n", total); in poll_burst()
568 total, sizeof(void *), in poll_burst()
582 while (total) { in poll_burst()
596 total -= nb_rx; in poll_burst()
603 total, MAX_IDLE - timeout); in poll_burst()
605 total = pkt_per_port * conf->nb_ports - total; in poll_burst()
606 for (i = 0; i < total; i++) in poll_burst()
611 if (total > 0) in poll_burst()
[all …]
H A Dtest_pflock.c98 uint64_t total = 0; in test_pflock_perf() local
132 total += time_count[i]; in test_pflock_perf()
135 printf("Total cost time = %"PRIu64" us\n", total); in test_pflock_perf()
H A Dtest_mcslock.c98 uint64_t total = 0; in test_mcslock_perf() local
131 total += time_count[i]; in test_mcslock_perf()
134 printf("Total Cost Time = %"PRIu64" us\n", total); in test_mcslock_perf()
H A Dtest_pie.c804 uint32_t total = 0; in perf_test() local
833 total = *tcfg->tvar->enqueued + *tcfg->tvar->dropped; in perf_test()
836 total, *tcfg->tvar->enqueued, in perf_test()
837 ((double)(*tcfg->tvar->enqueued) / (double)total) * 100.0, in perf_test()
839 ((double)(*tcfg->tvar->dropped) / (double)total) * 100.0); in perf_test()
881 uint32_t total = 0; in perf_test2() local
911 total = *tcfg->tvar->enqueued + *tcfg->tvar->dropped; in perf_test2()
914 total, *tcfg->tvar->dequeued, in perf_test2()
915 ((double)(*tcfg->tvar->dequeued) / (double)total) * 100.0, in perf_test2()
917 ((double)(*tcfg->tvar->dropped) / (double)total) * 100.0); in perf_test2()
H A Dtest_spinlock.c132 uint64_t total = 0; in test_spinlock_perf() local
164 total += time_count[i]; in test_spinlock_perf()
167 printf("Total Cost Time = %"PRIu64" us\n", total); in test_spinlock_perf()
H A Dtest_ring_perf.c382 uint64_t total; in run_on_all_cores() local
394 total = 0; in run_on_all_cores()
413 total += queue_count[c]; in run_on_all_cores()
417 bulk_sizes[i], total); in run_on_all_cores()
H A Dtest_rwlock.c132 uint64_t total = 0; in test_rwlock_perf() local
150 total += time_count[i]; in test_rwlock_perf()
153 printf("Total cost time = %"PRIu64" us\n", total); in test_rwlock_perf()
H A Dtest_red.c1295 uint32_t total = 0; in perf1_test() local
1334 total = *tcfg->tvar->enqueued + *tcfg->tvar->dropped; in perf1_test()
1336 printf("\ntotal: %u, enqueued: %u (%.2lf%%), dropped: %u (%.2lf%%)\n", total, in perf1_test()
1337 *tcfg->tvar->enqueued, ((double)(*tcfg->tvar->enqueued) / (double)total) * 100.0, in perf1_test()
1338 *tcfg->tvar->dropped, ((double)(*tcfg->tvar->dropped) / (double)total) * 100.0); in perf1_test()
1427 uint32_t total = 0; in perf2_test() local
1522 total = *tcfg->tvar->enqueued + *tcfg->tvar->dropped; in perf2_test()
1523 printf("\ntotal: %u, enqueued: %u (%.2lf%%), dropped: %u (%.2lf%%)\n", total, in perf2_test()
1524 *tcfg->tvar->enqueued, ((double)(*tcfg->tvar->enqueued) / (double)total) * 100.0, in perf2_test()
1525 *tcfg->tvar->dropped, ((double)(*tcfg->tvar->dropped) / (double)total) * 100.0); in perf2_test()
/dpdk/drivers/bus/vmbus/
H A Dvmbus_bufring.c113 uint32_t old_windex, next_windex, windex, total; in vmbus_txbr_write() local
117 total = 0; in vmbus_txbr_write()
119 total += iov[i].iov_len; in vmbus_txbr_write()
120 total += sizeof(save_windex); in vmbus_txbr_write()
135 if (avail <= total) in vmbus_txbr_write()
138 next_windex = vmbus_br_idxinc(old_windex, total, ring_size); in vmbus_txbr_write()
/dpdk/drivers/event/sw/
H A Diq_chunk.h114 uint16_t total, index; in iq_dequeue_burst() local
120 total = 0; in iq_dequeue_burst()
126 ev[total++] = current->events[index++]; in iq_dequeue_burst()
128 if (unlikely(total == count)) in iq_dequeue_burst()
150 iq->count -= total; in iq_dequeue_burst()
152 return total; in iq_dequeue_burst()
/dpdk/devtools/
H A Dcheck-git-log.sh206 total=$(echo "$commits" | wc -l)
208 printf "\nInvalid patch(es) found - checked $total patch"
210 printf "\n$total/$total valid patch"
212 [ $total -le 1 ] || printf 'es'
H A Dcheckpatches.sh262 total=0
269 total=$(($total + 1))
369 pass=$(($total - $status))
370 $quiet || printf '\n%d/%d valid patch' $pass $total
H A Dtest-null.sh32 --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia
/dpdk/doc/guides/nics/
H A Dkni.rst158 RX-packets: 35637905 RX-dropped: 0 RX-total: 35637905
159 TX-packets: 35637947 TX-dropped: 0 TX-total: 35637947
163 RX-packets: 35637915 RX-dropped: 0 RX-total: 35637915
164 TX-packets: 35637937 TX-dropped: 0 TX-total: 35637937
168 RX-packets: 71275820 RX-dropped: 0 RX-total: 71275820
169 TX-packets: 71275884 TX-dropped: 0 TX-total: 71275884
/dpdk/drivers/net/qede/base/
H A Decore_cxt.c457 total, CONN_CXT_SIZE(p_hwfn)); in ecore_cxt_cfg_ilt_compute()
471 total, CONN_CXT_SIZE(p_hwfn)); in ecore_cxt_cfg_ilt_compute()
533 curr_line, total, in ecore_cxt_cfg_ilt_compute()
553 curr_line, total, in ecore_cxt_cfg_ilt_compute()
569 curr_line, total, task_size); in ecore_cxt_cfg_ilt_compute()
622 if (total) { in ecore_cxt_cfg_ilt_compute()
625 total * TM_ELEM_SIZE, in ecore_cxt_cfg_ilt_compute()
635 if (total) { in ecore_cxt_cfg_ilt_compute()
652 total = ecore_cxt_src_elements(p_mngr); in ecore_cxt_cfg_ilt_compute()
654 if (total) { in ecore_cxt_cfg_ilt_compute()
[all …]
/dpdk/drivers/raw/skeleton/
H A Dskeleton_rawdev_test.c34 static int total; variable
46 total = 0; in testsuite_setup()
436 total++; in skeldev_test_run()
462 SKELDEV_TEST_INFO("Total tests : %d", total); in test_rawdev_skeldev()
/dpdk/app/test-pmd/
H A Dtxonly.c483 uint16_t total = 0; in tx_only_begin() local
487 total += tx_pkt_seg_lengths[i]; in tx_only_begin()
488 if (total >= pkt_hdr_len) in tx_only_begin()
492 if (total < pkt_hdr_len) { in tx_only_begin()
496 total, pkt_hdr_len); in tx_only_begin()
/dpdk/app/test-eventdev/
H A Dtest_pipeline_common.c13 uint64_t total = 0; in pipeline_test_result() local
18 total += t->worker[i].processed_pkts; in pipeline_test_result()
23 (((double)t->worker[i].processed_pkts)/total) in pipeline_test_result()
51 uint64_t total = 0; in processed_pkts() local
54 total += t->worker[i].processed_pkts; in processed_pkts()
56 return total; in processed_pkts()
H A Dtest_perf_common.c16 uint64_t total = 0; in perf_test_result() local
21 total += t->worker[i].processed_pkts; in perf_test_result()
26 (((double)t->worker[i].processed_pkts)/total) in perf_test_result()
429 uint64_t total = 0; in processed_pkts() local
432 total += t->worker[i].processed_pkts; in processed_pkts()
434 return total; in processed_pkts()
441 uint64_t total = 0; in total_latency() local
444 total += t->worker[i].latency; in total_latency()
446 return total; in total_latency()
/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c3005 total->rx = lcore_stats->rx; in update_lcore_statistics()
3006 total->dropped = lcore_stats->dropped; in update_lcore_statistics()
3007 total->tx = lcore_stats->tx; in update_lcore_statistics()
3018 total->outbound.sad.miss += lcore_stats->outbound.sad.miss; in update_lcore_statistics()
3022 total->inbound.spd6.bypass += lcore_stats->inbound.spd6.bypass; in update_lcore_statistics()
3029 total->inbound.sad.miss += lcore_stats->inbound.sad.miss; in update_lcore_statistics()
3033 total->lpm4.miss += lcore_stats->lpm4.miss; in update_lcore_statistics()
3034 total->lpm6.miss += lcore_stats->lpm6.miss; in update_lcore_statistics()
3040 memset(total, 0, sizeof(*total)); in update_statistics()
3043 update_lcore_statistics(total, coreid); in update_statistics()
[all …]

1234