Home
last modified time | relevance | path

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

/f-stack/dpdk/examples/l2fwd-jobstats/
H A Dmain.c83 rte_atomic16_t stats_read_pending; member
156 rte_atomic16_set(&qconf->stats_read_pending, 1); in show_lcore_stats()
158 rte_atomic16_set(&qconf->stats_read_pending, 0); in show_lcore_stats()
474 uint8_t stats_read_pending = 0; in l2fwd_main_loop() local
517 stats_read_pending = in l2fwd_main_loop()
518 rte_atomic16_read(&qconf->stats_read_pending); in l2fwd_main_loop()
519 need_manage |= stats_read_pending; in l2fwd_main_loop()
533 } while (likely(stats_read_pending == 0)); in l2fwd_main_loop()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_job_stats.rst259 rte_atomic16_t stats_read_pending;
272 * stats_read_pending and lock are used during job stats read phase.
350 * - Read stats_read_pending flag
361 stats_read_pending =
362 rte_atomic16_read(&qconf->stats_read_pending);
363 need_manage |= stats_read_pending;
373 } while (likely(stats_read_pending == 0));
384 and if stats_read_pending is set, loop breaks allowing stats to be read.