numam-dpdk/examples/l2fwd-event
Georgiy Levashov 3ee6f70651 examples: add flush after stats printing
When printf()'s stdout is line-buffered for terminal, it is fully
buffered for pipes. So, stdout listener can only get the output
when it is flushed (on program termination, when buffer is filled or
manual flush).

stdout buffer might fill slowly since every stats report could be small.

Also when it is fully filled it might contain a part of the last stats
report which makes it very inconvenient for any automation which reads
and parses the output.

Fixes: af75078fec ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Georgiy Levashov <georgiy.levashov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2020-06-25 00:20:01 +02:00
..
l2fwd_common.c examples/l2fwd-event: fix ethdev RSS setup 2020-01-14 21:37:51 +01:00
l2fwd_common.h examples/l2fwd-event: add option to configure port pairs 2020-04-04 18:09:51 +02:00
l2fwd_event_generic.c examples/l2fwd-event: fix error checking 2020-02-15 08:04:46 +01:00
l2fwd_event_internal_port.c examples/l2fwd-event: fix error checking 2020-02-15 08:04:46 +01:00
l2fwd_event.c examples/l2fwd-event: fix event device config 2020-01-14 20:20:15 +01:00
l2fwd_event.h examples/l2fwd-event: add eventdev main loop 2019-11-04 18:09:30 +01:00
l2fwd_poll.c examples/l2fwd-event: fix core allocation in poll mode 2020-02-15 09:07:34 +01:00
l2fwd_poll.h examples/l2fwd-event: add default poll mode routines 2019-11-04 18:07:43 +01:00
main.c examples: add flush after stats printing 2020-06-25 00:20:01 +02:00
Makefile ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
meson.build ethdev: add tracepoints 2020-04-23 15:40:06 +02:00