Home
last modified time | relevance | path

Searched refs:total_nb_rx (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/examples/l2fwd-jobstats/
H A Dmain.c391 uint16_t total_nb_rx; in l2fwd_fwd_job() local
398 total_nb_rx = rte_eth_rx_burst(portid, 0, pkts_burst, in l2fwd_fwd_job()
401 for (j = 0; j < total_nb_rx; j++) { in l2fwd_fwd_job()
407 if (total_nb_rx == MAX_PKT_BURST) { in l2fwd_fwd_job()
411 total_nb_rx += nb_rx; in l2fwd_fwd_job()
419 port_statistics[portid].rx += total_nb_rx; in l2fwd_fwd_job()
422 if (rte_jobstats_finish(job, total_nb_rx) != 0) { in l2fwd_fwd_job()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_job_stats.rst397 total_nb_rx = rte_eth_rx_burst((uint8_t) portid, 0, pkts_burst,
400 for (j = 0; j < total_nb_rx; j++) {
416 if (total_nb_rx == MAX_PKT_BURST) {
420 total_nb_rx += nb_rx;
433 if (rte_jobstats_finish(job, total_nb_rx) != 0) {
439 If total_nb_rx is smaller than target value job->period will be increased. If it is greater the per…